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

1234

/linux-master/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...]
/linux-master/samples/bpf/
H A Dxdp_sample.bpf.c129 unsigned int drops, int to_cpu)
143 NO_TEAR_ADD(rec->dropped, drops);
157 unsigned int drops, int sched, struct xdp_cpumap_stats *xdp_stats)
170 NO_TEAR_ADD(rec->dropped, drops);
207 const struct net_device *to_dev, int sent, int drops, int err)
226 NO_TEAR_ADD(rec->dropped, drops);
231 if (err || drops < 0)
238 const struct net_device *to_dev, int sent, int drops, int err)
261 NO_TEAR_ADD(rec->dropped, drops);
263 if (err || drops <
128 BPF_PROG(tp_xdp_cpumap_enqueue, int map_id, unsigned int processed, unsigned int drops, int to_cpu) 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) 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) 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) argument
[all...]
/linux-master/include/uapi/linux/
H A Dgen_stats.h55 * @drops: number of dropped packets
62 __u32 drops; member in struct:gnet_stats_queue
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mirror.c117 new_stats.rx_dropped - old_stats->drops,
123 old_stats->drops = new_stats.rx_dropped;
129 new_stats.tx_dropped - old_stats->drops,
135 old_stats->drops = new_stats.tx_dropped;
H A Dlan966x_police.c175 old_stats->drops = new_stats.rx_dropped;
218 new_stats.rx_dropped - old_stats->drops,
224 old_stats->drops = new_stats.rx_dropped;
/linux-master/tools/testing/selftests/bpf/benchs/
H A Drun_common.sh26 function drops() function
28 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ �� [0-9]+\.[0-9]+M\/s).*/\1/"
63 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
H A Dbench_local_storage_create.c143 res->drops = atomic_swap(&skel->bss->kmalloc_cnts, 0);
209 kmallocs_per_create = (double)res->drops / res->hits;
227 total_kmallocs += res[i].drops;
H A Dbench_ringbufs.c132 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0);
223 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0);
352 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dmeter.h73 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse);
/linux-master/net/core/
H A Dgen_stats.c350 qstats->drops += qcpu->drops;
365 qstats->drops += q->drops;
397 d->tc_stats.drops = qstats.drops;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c77 u64 drops; member in struct:mlxsw_sp_qdisc::mlxsw_sp_qdisc_stats
561 u64 drops, u64 backlog,
568 drops -= stats_base->drops;
572 stats_ptr->qstats->drops += drops;
576 stats_base->drops += drops;
589 u64 drops = 0; local
593 &drops,
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) argument
905 u64 drops = 0; local
1449 u64 drops = 0; local
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dbench.h42 long drops; member in struct:bench_res
H A Dbench.c40 long total = res->false_hits + res->hits + res->drops;
57 total_drops += res[i].drops;
74 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0);
79 printf("hits %8.3lfM/s (%7.3lfM/prod), drops %8.3lfM/s, total operations %8.3lfM/s\n",
129 drops_mean += res[i].drops / 1000000.0 / (0.0 + res_cnt);
138 drops_stddev += (drops_mean - res[i].drops / 1000000.0) *
139 (drops_mean - res[i].drops / 1000000.0) /
141 total_ops = res[i].hits + res[i].drops;
152 printf("drops %8.3lf \u00B1 %5.3lfM/s, ",
/linux-master/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"
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dpolice.c175 u64 bytes, packets, drops, lastuse; local
184 mlx5e_tc_meter_get_stats(meter, &bytes, &packets, &drops, &lastuse);
185 flow_stats_update(&fl_act->stats, bytes, packets, drops, lastuse,
/linux-master/include/net/
H A Dact_api.h259 u64 drops, bool hw);
287 u64 packets, u64 drops,
294 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw);
286 tcf_action_stats_update(struct tc_action *a, u64 bytes, u64 packets, u64 drops, u64 lastuse, bool hw) argument
H A Dflow_offload.h455 u64 drops; member in struct:flow_stats
463 u64 drops, u64 lastused,
468 flow_stats->drops += drops;
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) argument
/linux-master/tools/testing/selftests/bpf/progs/
H A Dcore_kern.c44 *from_dev, const struct net_device *to_dev, int sent, int drops,
43 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) argument
/linux-master/kernel/trace/
H A Dtracing_map.h200 atomic64_t drops; member in struct:tracing_map
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dqos_conf.c814 meter_entry->stats.curr.drops = be64_to_cpu(msg->drop_pkts);
818 meter_entry->stats.prev.drops = meter_entry->stats.curr.drops;
852 diff_drops = meter_entry->stats.curr.drops > meter_entry->stats.prev.drops ?
853 meter_entry->stats.curr.drops - meter_entry->stats.prev.drops : 0;
861 meter_entry->stats.prev.drops = meter_entry->stats.curr.drops;
/linux-master/net/sched/
H A Dsch_skbprio.c26 * Skbprio drops already-enqueued lower priority packets to make space
101 q->qstats[prio].drops++;
118 q->qstats[lp].drops++;
H A Dact_gact.c174 u64 drops, u64 lastuse, bool hw)
181 action == TC_ACT_SHOT ? packets : drops, hw);
173 tcf_gact_stats_update(struct tc_action *a, u64 bytes, u64 packets, u64 drops, u64 lastuse, bool hw) argument
/linux-master/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.h94 * @drops: number of tail-dropped packets (accumulative)
102 u64 drops; member in struct:nfp_alink_stats
108 * @pdrop: number of hard drops due to queue limit
H A Dqdisc.c41 parent->drops += child->drops;
469 qstats->drops += new->drops - old->drops;
/linux-master/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c44 u64 drops; member in struct:vdpasim_dataq_stats
279 net->rx_stats.drops += rx_drops;
304 rx_drops = net->rx_stats.drops;
332 "rx drops"))
345 tx_drops = net->tx_stats.drops;
367 "tx drops"))

Completed in 192 milliseconds

1234