Home
last modified time | relevance | path

Searched refs:drops (Results 1 - 25 of 183) sorted by relevance

12345678

/kernel/linux/linux-5.10/include/trace/events/
H A Dxdp.h56 int sent, int drops, int err),
58 TP_ARGS(dev, sent, drops, err),
63 __field(int, drops)
71 __entry->drops = drops;
76 TP_printk("ifindex=%d action=%s sent=%d drops=%d err=%d",
79 __entry->sent, __entry->drops, __entry->err)
179 TP_PROTO(int map_id, unsigned int processed, unsigned int drops,
182 TP_ARGS(map_id, processed, drops, sched, xdp_stats),
188 __field(unsigned int, drops)
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dxdp.h57 int sent, int drops, int err),
59 TP_ARGS(dev, sent, drops, err),
64 __field(int, drops)
72 __entry->drops = drops;
77 TP_printk("ifindex=%d action=%s sent=%d drops=%d err=%d",
80 __entry->sent, __entry->drops, __entry->err)
192 TP_PROTO(int map_id, unsigned int processed, unsigned int drops,
195 TP_ARGS(map_id, processed, drops, sched, xdp_stats),
201 __field(unsigned int, drops)
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A Dxdp_sample.bpf.c129 unsigned int drops, int to_cpu) in BPF_PROG()
143 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG()
157 unsigned int drops, int sched, struct xdp_cpumap_stats *xdp_stats) in BPF_PROG()
170 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG()
207 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG()
226 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG()
231 if (err || drops < 0) in BPF_PROG()
238 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG()
261 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG()
263 if (err || drops < in BPF_PROG()
128 BPF_PROG(tp_xdp_cpumap_enqueue, int map_id, unsigned int processed, unsigned int drops, int to_cpu) BPF_PROG() argument
156 BPF_PROG(tp_xdp_cpumap_kthread, int map_id, unsigned int processed, unsigned int drops, int sched, struct xdp_cpumap_stats *xdp_stats) BPF_PROG() argument
206 BPF_PROG(tp_xdp_devmap_xmit, const struct net_device *from_dev, const struct net_device *to_dev, int sent, int drops, int err) BPF_PROG() argument
237 BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, const struct net_device *to_dev, int sent, int drops, int err) BPF_PROG() argument
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A Dxdp_monitor_kern.c154 unsigned int drops; // offset:20; size:4; signed:0; member
172 rec->dropped += ctx->drops; in trace_xdp_cpumap_enqueue()
189 unsigned int drops; // offset:20; size:4; signed:0; member
204 rec->dropped += ctx->drops; in trace_xdp_cpumap_kthread()
228 int drops; // offset:20; size:4; signed:1; member
243 rec->dropped += ctx->drops; in trace_xdp_devmap_xmit()
253 if (ctx->drops < 0) in trace_xdp_devmap_xmit()
H A Dxdp_redirect_cpu_kern.c662 unsigned int drops; // offset:20; size:4; signed:0; member
680 rec->dropped += ctx->drops; in trace_xdp_cpumap_enqueue()
702 unsigned int drops; // offset:20; size:4; signed:0; member
720 rec->dropped += ctx->drops; in trace_xdp_cpumap_kthread()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mirror.c117 new_stats.rx_dropped - old_stats->drops, in lan966x_mirror_port_stats()
123 old_stats->drops = new_stats.rx_dropped; in lan966x_mirror_port_stats()
129 new_stats.tx_dropped - old_stats->drops, in lan966x_mirror_port_stats()
135 old_stats->drops = new_stats.tx_dropped; in lan966x_mirror_port_stats()
H A Dlan966x_police.c175 old_stats->drops = new_stats.rx_dropped; in lan966x_police_port_add()
218 new_stats.rx_dropped - old_stats->drops, in lan966x_police_port_stats()
224 old_stats->drops = new_stats.rx_dropped; in lan966x_police_port_stats()
/kernel/linux/linux-5.10/net/core/
H A Dgen_stats.c296 qstats->drops += qcpu->drops; in __gnet_stats_copy_queue_cpu()
312 qstats->drops = q->drops; in __gnet_stats_copy_queue()
345 d->tc_stats.drops = qstats.drops; in gnet_stats_copy_queue()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c63 u64 drops; member
318 u64 drops, u64 backlog, in mlxsw_sp_qdisc_update_stats()
325 drops -= stats_base->drops; in mlxsw_sp_qdisc_update_stats()
329 stats_ptr->qstats->drops += drops; in mlxsw_sp_qdisc_update_stats()
333 stats_base->drops += drops; in mlxsw_sp_qdisc_update_stats()
346 u64 drops = 0; in mlxsw_sp_qdisc_get_tc_stats() local
350 &drops, in mlxsw_sp_qdisc_get_tc_stats()
315 mlxsw_sp_qdisc_update_stats(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u64 tx_bytes, u64 tx_packets, u64 drops, u64 backlog, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_update_stats() argument
609 u64 drops = 0; mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local
1074 u64 drops = 0; mlxsw_sp_qdisc_get_prio_stats() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c77 u64 drops; member
561 u64 drops, u64 backlog, in mlxsw_sp_qdisc_update_stats()
568 drops -= stats_base->drops; in mlxsw_sp_qdisc_update_stats()
572 stats_ptr->qstats->drops += drops; in mlxsw_sp_qdisc_update_stats()
576 stats_base->drops += drops; in mlxsw_sp_qdisc_update_stats()
589 u64 drops = 0; in mlxsw_sp_qdisc_get_tc_stats() local
593 &drops, in mlxsw_sp_qdisc_get_tc_stats()
558 mlxsw_sp_qdisc_update_stats(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u64 tx_bytes, u64 tx_packets, u64 drops, u64 backlog, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_update_stats() argument
905 u64 drops = 0; mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local
1449 u64 drops = 0; mlxsw_sp_qdisc_get_prio_stats() local
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dgen_stats.c350 qstats->drops += qcpu->drops; in gnet_stats_add_queue_cpu()
365 qstats->drops += q->drops; in gnet_stats_add_queue()
397 d->tc_stats.drops = qstats.drops; in gnet_stats_copy_queue()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dcpumap.c313 unsigned int drops = 0, sched = 0; in cpu_map_kthread_run() local
357 drops += nframes; in cpu_map_kthread_run()
376 drops++; in cpu_map_kthread_run()
379 trace_xdp_cpumap_kthread(rcpu->map_id, n, drops, sched, &stats); in cpu_map_kthread_run()
673 unsigned int processed = 0, drops = 0; in bq_flush_to_queue() local
690 drops++; in bq_flush_to_queue()
701 trace_xdp_cpumap_enqueue(rcpu->map_id, processed, drops, to_cpu); in bq_flush_to_queue()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dbench.c40 long total = res->false_hits + res->hits + res->drops; in false_hits_report_progress()
57 total_drops += res[i].drops; in false_hits_report_final()
74 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
79 printf("hits %8.3lfM/s (%7.3lfM/prod), drops %8.3lfM/s, total operations %8.3lfM/s\n", in hits_drops_report_progress()
129 drops_mean += res[i].drops / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
138 drops_stddev += (drops_mean - res[i].drops / 1000000.0) * in hits_drops_report_final()
139 (drops_mean - res[i].drops / 1000000.0) / in hits_drops_report_final()
141 total_ops = res[i].hits + res[i].drops; in hits_drops_report_final()
152 printf("drops %8.3lf \u00B1 %5.3lfM/s, ", in hits_drops_report_final()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Dqos_conf.c814 meter_entry->stats.curr.drops = be64_to_cpu(msg->drop_pkts); in nfp_act_stats_reply()
818 meter_entry->stats.prev.drops = meter_entry->stats.curr.drops; in nfp_act_stats_reply()
852 diff_drops = meter_entry->stats.curr.drops > meter_entry->stats.prev.drops ? in nfp_act_stats_actions()
853 meter_entry->stats.curr.drops - meter_entry->stats.prev.drops : 0; in nfp_act_stats_actions()
861 meter_entry->stats.prev.drops = meter_entry->stats.curr.drops; in nfp_act_stats_actions()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dpolice.c175 u64 bytes, packets, drops, lastuse; in tc_act_police_stats() local
184 mlx5e_tc_meter_get_stats(meter, &bytes, &packets, &drops, &lastuse); in tc_act_police_stats()
185 flow_stats_update(&fl_act->stats, bytes, packets, drops, lastuse, in tc_act_police_stats()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_create.c143 res->drops = atomic_swap(&skel->bss->kmalloc_cnts, 0); in measure()
209 kmallocs_per_create = (double)res->drops / res->hits; in report_progress()
227 total_kmallocs += res[i].drops; in report_final()
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/ocelot/
H A Dpsfp.sh75 local drops=""
80 drops=$(echo ${stats} | jq ".[1].options.actions[].stats.drops")
87 echo "Hardware filter reports ${drops} drops"
/kernel/linux/linux-5.10/include/net/
H A Dact_api.h234 u64 drops, bool hw);
245 u64 packets, u64 drops, in tcf_action_stats_update()
252 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
244 tcf_action_stats_update(struct tc_action *a, u64 bytes, u64 packets, u64 drops, u64 lastuse, bool hw) tcf_action_stats_update() argument
H A Dflow_offload.h393 u64 drops; member
401 u64 drops, u64 lastused, in flow_stats_update()
406 flow_stats->drops += drops; in flow_stats_update()
399 flow_stats_update(struct flow_stats *flow_stats, u64 bytes, u64 pkts, u64 drops, u64 lastused, enum flow_action_hw_stats used_hw_stats) flow_stats_update() argument
/kernel/linux/linux-6.6/include/net/
H A Dact_api.h257 u64 drops, bool hw);
285 u64 packets, u64 drops, in tcf_action_stats_update()
292 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
284 tcf_action_stats_update(struct tc_action *a, u64 bytes, u64 packets, u64 drops, u64 lastuse, bool hw) tcf_action_stats_update() argument
H A Dflow_offload.h455 u64 drops; member
463 u64 drops, u64 lastused, in flow_stats_update()
468 flow_stats->drops += drops; in flow_stats_update()
461 flow_stats_update(struct flow_stats *flow_stats, u64 bytes, u64 pkts, u64 drops, u64 lastused, enum flow_action_hw_stats used_hw_stats) flow_stats_update() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c223 int drops = 0; in bnxt_xdp_xmit() local
241 drops++; in bnxt_xdp_xmit()
250 drops++; in bnxt_xdp_xmit()
262 return num_frames - drops; in bnxt_xdp_xmit()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dbench.c60 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
65 printf("hits %8.3lfM/s (%7.3lfM/prod), drops %8.3lfM/s\n", in hits_drops_report_progress()
77 drops_mean += res[i].drops / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
85 drops_stddev += (drops_mean - res[i].drops / 1000000.0) * in hits_drops_report_final()
86 (drops_mean - res[i].drops / 1000000.0) / in hits_drops_report_final()
94 printf("drops %8.3lf \u00B1 %5.3lfM/s\n", in hits_drops_report_final()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c489 int drops = 0; in mlx5e_xdp_xmit() local
520 drops++; in mlx5e_xdp_xmit()
534 drops++; in mlx5e_xdp_xmit()
544 return n - drops; in mlx5e_xdp_xmit()
/kernel/linux/linux-6.6/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c44 u64 drops; member
279 net->rx_stats.drops += rx_drops; in vdpasim_net_work()
304 rx_drops = net->rx_stats.drops; in vdpasim_net_get_stats()
332 "rx drops")) in vdpasim_net_get_stats()
345 tx_drops = net->tx_stats.drops; in vdpasim_net_get_stats()
367 "tx drops")) in vdpasim_net_get_stats()

Completed in 20 milliseconds

12345678