Home
last modified time | relevance | path

Searched refs:drops (Results 1 – 25 of 164) sorted by relevance

1234567

/Linux-v6.1/include/trace/events/
Dxdp.h56 int sent, int drops, int err),
58 TP_ARGS(dev, sent, drops, err),
63 __field(int, drops)
71 __entry->drops = drops;
79 __entry->sent, __entry->drops, __entry->err)
191 TP_PROTO(int map_id, unsigned int processed, unsigned int drops,
194 TP_ARGS(map_id, processed, drops, sched, xdp_stats),
200 __field(unsigned int, drops)
212 __entry->drops = drops;
227 __entry->processed, __entry->drops,
[all …]
/Linux-v6.1/samples/bpf/
Dxdp_sample.bpf.c129 unsigned int drops, int to_cpu) in BPF_PROG() argument
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() argument
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() argument
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() argument
261 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG()
263 if (err || drops < 0) in BPF_PROG()
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/
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()
Dlan966x_police.c178 old_stats->drops = new_stats.rx_dropped; in lan966x_police_port_add()
227 new_stats.rx_dropped - old_stats->drops, in lan966x_police_port_stats()
233 old_stats->drops = new_stats.rx_dropped; in lan966x_police_port_stats()
/Linux-v6.1/net/core/
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()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dpolice.c133 u64 bytes, packets, drops, lastuse; in tc_act_police_stats() local
143 mlx5e_tc_meter_get_stats(meter, &bytes, &packets, &drops, &lastuse); in tc_act_police_stats()
144 flow_stats_update(&fl_act->stats, bytes, packets, drops, lastuse, in tc_act_police_stats()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c77 u64 drops; member
561 u64 drops, u64 backlog, in mlxsw_sp_qdisc_update_stats() argument
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, &backlog); in mlxsw_sp_qdisc_get_tc_stats()
595 tx_bytes, tx_packets, drops, backlog, in mlxsw_sp_qdisc_get_tc_stats()
663 stats_base->drops = red_base->prob_drop + red_base->pdrop; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
905 u64 drops = 0; in mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/
Dbench.c39 long total = res->false_hits + res->hits + res->drops; in false_hits_report_progress()
56 total_drops += res[i].drops; in false_hits_report_final()
73 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
128 drops_mean += res[i].drops / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
137 drops_stddev += (drops_mean - res[i].drops / 1000000.0) * in hits_drops_report_final()
138 (drops_mean - res[i].drops / 1000000.0) / in hits_drops_report_final()
140 total_ops = res[i].hits + res[i].drops; in hits_drops_report_final()
Dbench.h40 long drops; member
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c808 meter_entry->stats.curr.drops = be64_to_cpu(msg->drop_pkts); in nfp_act_stats_reply()
812 meter_entry->stats.prev.drops = meter_entry->stats.curr.drops; in nfp_act_stats_reply()
846 diff_drops = meter_entry->stats.curr.drops > meter_entry->stats.prev.drops ? in nfp_act_stats_actions()
847 meter_entry->stats.curr.drops - meter_entry->stats.prev.drops : 0; in nfp_act_stats_actions()
855 meter_entry->stats.prev.drops = meter_entry->stats.curr.drops; in nfp_act_stats_actions()
/Linux-v6.1/tools/testing/selftests/drivers/net/ocelot/
Dpsfp.sh75 local drops=""
80 drops=$(echo ${stats} | jq ".[1].options.actions[].stats.drops")
87 echo "Hardware filter reports ${drops} drops"
/Linux-v6.1/include/uapi/linux/
Dgen_stats.h62 __u32 drops; member
/Linux-v6.1/include/net/
Dflow_offload.h439 u64 drops; member
447 u64 drops, u64 lastused, in flow_stats_update() argument
452 flow_stats->drops += drops; in flow_stats_update()
Dact_api.h256 u64 drops, bool hw);
284 u64 packets, u64 drops, in tcf_action_stats_update() argument
291 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
/Linux-v6.1/tools/testing/selftests/bpf/benchs/
Drun_common.sh26 function drops() function
Dbench_ringbufs.c132 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0); in ringbuf_libbpf_measure()
223 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0); in ringbuf_custom_measure()
352 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0); in perfbuf_measure()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dmeter.h72 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse);
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-power-twl403015 when voltage drops.
Dsysfs-class-power-wilco19 Charging begins when level drops below
/Linux-v6.1/net/sched/
Dsch_skbprio.c101 q->qstats[prio].drops++; in skbprio_enqueue()
118 q->qstats[lp].drops++; in skbprio_enqueue()
Dact_gact.c172 u64 drops, u64 lastuse, bool hw) in tcf_gact_stats_update() argument
179 action == TC_ACT_SHOT ? packets : drops, hw); in tcf_gact_stats_update()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/abm/
Dqdisc.c41 parent->drops += child->drops; in nfp_abm_stats_propagate()
469 qstats->drops += new->drops - old->drops; in nfp_abm_stats_calculate()
/Linux-v6.1/net/dcb/
DKconfig13 requirements (highly reliable, no drops vs. best effort vs. low
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dcore_kern.c44 *from_dev, const struct net_device *to_dev, int sent, int drops, in BPF_PROG() argument
/Linux-v6.1/Documentation/admin-guide/device-mapper/
Dwritecache.rst30 stop writeback when the number of used blocks drops below
63 blocks drops to zero, userspace can unload the

1234567