Home
last modified time | relevance | path

Searched full:drops (Results 1 – 25 of 1124) sorted by relevance

12345678910>>...45

/kernel/linux/linux-5.10/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;
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)
200 __entry->drops = drops;
[all …]
/kernel/linux/linux-6.6/include/trace/events/
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)
213 __entry->drops = drops;
[all …]
/kernel/linux/linux-6.6/Documentation/networking/devlink/
Dprestera.rst117 - Drops packets (RxDMA) due to the lack of ingress buffers etc.
120 - Drops packets due to faulty-configured network or due to internal bug (config issue).
123 - Drops packets whose decision (FDB entry) is to bridge packet back to the incoming port/trunk.
126 - Drops packets with multicast source MAC address.
129 - Drops packets with illegal SIP/DIP multicast/unicast addresses.
132 - Drops packets with illegal IPV4 header.
135 - Drops packets with destination MAC being unicast, but destination IP address being multicast.
138 - Drops packets with zero (0) IPV4 source address.
141 …- Drops non-conforming packets (dropped by Ingress policer, metering drop), e.g. packet rate excee…
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/lib/
Ddec_and_lock.c23 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_lock()
40 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_lock_irqsave()
55 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_raw_lock()
71 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_raw_lock_irqsave()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Ddrop_monitor_tests.sh66 echo "Software drops test"
82 log_test $? 0 "Capturing active software drops"
90 log_test $? 0 "Capturing inactive software drops"
100 echo "Hardware drops test"
111 log_test $? 0 "Capturing active hardware drops"
120 log_test $? 0 "Capturing inactive hardware drops"
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Ddrop_monitor_tests.sh66 echo "Software drops test"
82 log_test $? 0 "Capturing active software drops"
90 log_test $? 0 "Capturing inactive software drops"
100 echo "Hardware drops test"
111 log_test $? 0 "Capturing active hardware drops"
120 log_test $? 0 "Capturing inactive hardware drops"
/kernel/linux/linux-5.10/samples/bpf/
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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/
Drun_bench_ringbufs.sh12 function drops() function
14 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/"
30 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
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)"
/kernel/linux/linux-6.6/tools/include/uapi/linux/
Dpkt_sched.h36 __u32 drops; /* Packets dropped because of lack of resources */ member
221 __u32 prob_drop; /* Early drops, below max threshold */
222 __u32 forced_drop; /* Early drops, after max threshold */
277 __u32 early; /* Early drops */
278 __u32 pdrop; /* Drops due to queue limits */
279 __u32 other; /* Drops due to drop() calls */
377 __u32 early; /* Early drops */
378 __u32 pdrop; /* Drops due to queue limits */
379 __u32 other; /* Drops due to drop() calls */
381 __u32 matched; /* Drops due to flow match */
[all …]
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dpkt_sched.h36 __u32 drops; /* Packets dropped because of lack of resources */ member
221 __u32 prob_drop; /* Early drops, below max threshold */
222 __u32 forced_drop; /* Early drops, after max threshold */
277 __u32 early; /* Early drops */
278 __u32 pdrop; /* Drops due to queue limits */
279 __u32 other; /* Drops due to drop() calls */
377 __u32 early; /* Early drops */
378 __u32 pdrop; /* Drops due to queue limits */
379 __u32 other; /* Drops due to drop() calls */
381 __u32 matched; /* Drops due to flow match */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c63 u64 drops; member
318 u64 drops, u64 backlog, in mlxsw_sp_qdisc_update_stats() argument
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, &backlog); in mlxsw_sp_qdisc_get_tc_stats()
352 tx_bytes, tx_packets, drops, backlog, in mlxsw_sp_qdisc_get_tc_stats()
415 stats_base->drops = red_base->prob_drop + red_base->pdrop; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
609 u64 drops = 0; in mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local
[all …]
/kernel/linux/linux-6.6/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"
/kernel/linux/linux-6.6/include/uapi/linux/
Dpkt_sched.h37 __u32 drops; /* Packets dropped because of lack of resources */ member
222 __u32 prob_drop; /* Early drops, below max threshold */
223 __u32 forced_drop; /* Early drops, after max threshold */
297 __u32 early; /* Early drops */
298 __u32 pdrop; /* Drops due to queue limits */
299 __u32 other; /* Drops due to drop() calls */
397 __u32 early; /* Early drops */
398 __u32 pdrop; /* Drops due to queue limits */
399 __u32 other; /* Drops due to drop() calls */
401 __u32 matched; /* Drops due to flow match */
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dpkt_sched.h37 __u32 drops; /* Packets dropped because of lack of resources */ member
222 __u32 prob_drop; /* Early drops, below max threshold */
223 __u32 forced_drop; /* Early drops, after max threshold */
297 __u32 early; /* Early drops */
298 __u32 pdrop; /* Drops due to queue limits */
299 __u32 other; /* Drops due to drop() calls */
397 __u32 early; /* Early drops */
398 __u32 pdrop; /* Drops due to queue limits */
399 __u32 other; /* Drops due to drop() calls */
401 __u32 matched; /* Drops due to flow match */
[all …]
Dgen_stats.h55 * @drops: number of dropped packets
62 __u32 drops; member
/kernel/linux/linux-6.6/drivers/net/phy/
Dmarvell-88q2xxx.c61 * drops can be detected. Do not double-read the status in mv88q2xxx_read_link_gbit()
62 * in polling mode to detect such short link drops except in mv88q2xxx_read_link_gbit()
92 * drops can be detected. Do not double-read the status in mv88q2xxx_read_link_100m()
93 * in polling mode to detect such short link drops except in mv88q2xxx_read_link_100m()
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
Dbench.c41 long total = res->false_hits + res->hits + res->drops; in false_hits_report_progress()
58 total_drops += res[i].drops; in false_hits_report_final()
75 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
80 printf("hits %8.3lfM/s (%7.3lfM/prod), drops %8.3lfM/s, total operations %8.3lfM/s\n", in hits_drops_report_progress()
130 drops_mean += res[i].drops / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
139 drops_stddev += (drops_mean - res[i].drops / 1000000.0) * in hits_drops_report_final()
140 (drops_mean - res[i].drops / 1000000.0) / in hits_drops_report_final()
142 total_ops = res[i].hits + res[i].drops; in hits_drops_report_final()
153 printf("drops %8.3lf \u00B1 %5.3lfM/s, ", in hits_drops_report_final()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
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/net/core/
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/lib/
Ddec_and_lock.c23 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_lock()
40 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_lock_irqsave()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/include/aarch64/
Dgic.h33 * Sets the EOI mode. When split is false, EOI just drops the priority. When
34 * split is true, EOI drops the priority and deactivates the interrupt.

12345678910>>...45