Home
last modified time | relevance | path

Searched refs:dropped (Results 1 - 25 of 218) sorted by relevance

123456789

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dringbuf.c66 skel->bss->dropped = 0; in trigger_samples()
139 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in test_ringbuf()
140 0L, skel->bss->dropped); in test_ringbuf()
177 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in test_ringbuf()
178 0L, skel->bss->dropped); in test_ringbuf()
203 skel->bss->dropped = 0; in test_ringbuf()
234 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in test_ringbuf()
235 0L, skel->bss->dropped); in test_ringbuf()
/kernel/linux/linux-5.10/net/batman-adv/
H A Dsoft-interface.c211 goto dropped; in batadv_interface_tx()
227 goto dropped; in batadv_interface_tx()
239 goto dropped; in batadv_interface_tx()
245 goto dropped; in batadv_interface_tx()
257 goto dropped; in batadv_interface_tx()
270 goto dropped; in batadv_interface_tx()
273 goto dropped; in batadv_interface_tx()
304 goto dropped; in batadv_interface_tx()
312 goto dropped; in batadv_interface_tx()
326 goto dropped; in batadv_interface_tx()
[all...]
/kernel/linux/linux-6.6/net/batman-adv/
H A Dsoft-interface.c207 goto dropped; in batadv_interface_tx()
223 goto dropped; in batadv_interface_tx()
235 goto dropped; in batadv_interface_tx()
241 goto dropped; in batadv_interface_tx()
253 goto dropped; in batadv_interface_tx()
266 goto dropped; in batadv_interface_tx()
269 goto dropped; in batadv_interface_tx()
300 goto dropped; in batadv_interface_tx()
315 goto dropped; in batadv_interface_tx()
326 goto dropped; in batadv_interface_tx()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dringbuf_bench.c18 long dropped __attribute__((aligned(128))) = 0; variable
44 __sync_add_and_fetch(&dropped, 1); in bench_ringbuf()
56 __sync_add_and_fetch(&dropped, 1); in bench_ringbuf()
H A Dperfbuf_bench.c19 long dropped __attribute__((aligned(128))) = 0; variable
30 __sync_add_and_fetch(&dropped, 1); in bench_perfbuf()
H A Dtest_ringbuf.c29 long dropped = 0; variable
51 __sync_fetch_and_add(&dropped, 1); in test_ringbuf()
H A Dtest_ringbuf_multi.c41 long dropped = 0; variable
63 dropped += 1; in test_ringbuf()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dringbuf_bench.c19 long dropped __attribute__((aligned(128))) = 0; variable
45 __sync_add_and_fetch(&dropped, 1); in bench_ringbuf()
57 __sync_add_and_fetch(&dropped, 1); in bench_ringbuf()
H A Dperfbuf_bench.c20 long dropped __attribute__((aligned(128))) = 0; variable
30 __sync_add_and_fetch(&dropped, 1); in bench_perfbuf()
H A Dtest_ringbuf.c29 long dropped = 0; variable
50 __sync_fetch_and_add(&dropped, 1); in test_ringbuf()
H A Dtest_ringbuf_multi.c53 long dropped = 0; variable
74 dropped += 1; in test_ringbuf()
/kernel/linux/linux-6.6/samples/bpf/
H A Dxdp_sample.bpf.c83 NO_TEAR_INC(rec->dropped); in xdp_redirect_collect_stat()
143 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG()
170 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG()
200 NO_TEAR_INC(rec->dropped); in BPF_PROG()
226 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG()
261 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG()
H A Dtest_cls_bpf.sh7 local dropped=`tc -s qdisc show dev $IFC | tail -3 | awk '/drop/{print $7}'`
8 if [ "$dropped" == "0," ]; then
11 echo "Successfully filtered " $dropped " packets"
/kernel/linux/linux-5.10/samples/bpf/
H A Dtest_cls_bpf.sh7 local dropped=`tc -s qdisc show dev $IFC | tail -3 | awk '/drop/{print $7}'`
8 if [ "$dropped" == "0," ]; then
11 echo "Successfully filtered " $dropped " packets"
H A Dxdp_monitor_kern.c126 u64 dropped; member
172 rec->dropped += ctx->drops; in trace_xdp_cpumap_enqueue()
204 rec->dropped += ctx->drops; in trace_xdp_cpumap_kthread()
243 rec->dropped += ctx->drops; in trace_xdp_devmap_xmit()
H A Dtest_cgrp2_tc.sh102 local dropped=$($TC -s qdisc show dev $HOST_IFC | tail -3 | \
104 if [[ $dropped -eq 0 ]]
109 echo "Successfully filtered $dropped packets"
H A Dxdp_redirect_cpu_kern.c31 __u64 dropped; member
264 rec->dropped++; in xdp_prognum1_touch_data()
447 rec->dropped++; in xdp_prognum4_ddos_filter_pktgen()
607 rec->dropped += 1; in xdp_redirect_collect_stat()
649 rec->dropped += 1; in trace_xdp_exception()
680 rec->dropped += ctx->drops; in trace_xdp_cpumap_enqueue()
720 rec->dropped += ctx->drops; in trace_xdp_cpumap_kthread()
/kernel/linux/linux-5.10/drivers/staging/wfx/
H A Dqueue.c94 struct sk_buff_head *dropped) in __wfx_tx_queue_drop()
101 skb_queue_head(dropped, skb); in __wfx_tx_queue_drop()
107 struct sk_buff_head *dropped) in wfx_tx_queue_drop()
109 __wfx_tx_queue_drop(wvif, &queue->cab, dropped); in wfx_tx_queue_drop()
110 __wfx_tx_queue_drop(wvif, &queue->normal, dropped); in wfx_tx_queue_drop()
125 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped) in wfx_pending_drop() argument
143 skb_queue_head(dropped, skb); in wfx_pending_drop()
92 __wfx_tx_queue_drop(struct wfx_vif *wvif, struct sk_buff_head *skb_queue, struct sk_buff_head *dropped) __wfx_tx_queue_drop() argument
106 wfx_tx_queue_drop(struct wfx_vif *wvif, struct wfx_queue *queue, struct sk_buff_head *dropped) wfx_tx_queue_drop() argument
H A Dqueue.h37 struct sk_buff_head *dropped);
40 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped);
H A Ddata_tx.c540 struct sk_buff_head *dropped) in wfx_flush_vif()
549 if (dropped) in wfx_flush_vif()
550 wfx_tx_queue_drop(wvif, queue, dropped); in wfx_flush_vif()
570 struct sk_buff_head dropped; in wfx_flush() local
575 skb_queue_head_init(&dropped); in wfx_flush()
578 wfx_flush_vif(wvif, queues, drop ? &dropped : NULL); in wfx_flush()
582 wfx_flush_vif(wvif, queues, drop ? &dropped : NULL); in wfx_flush()
586 wfx_pending_drop(wdev, &dropped); in wfx_flush()
587 while ((skb = skb_dequeue(&dropped)) != NULL) { in wfx_flush()
539 wfx_flush_vif(struct wfx_vif *wvif, u32 queues, struct sk_buff_head *dropped) wfx_flush_vif() argument
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/
H A Dqueue.c91 struct sk_buff_head *skb_queue, struct sk_buff_head *dropped) in __wfx_tx_queue_drop()
98 skb_queue_head(dropped, skb); in __wfx_tx_queue_drop()
104 struct sk_buff_head *dropped) in wfx_tx_queue_drop()
106 __wfx_tx_queue_drop(wvif, &queue->cab, dropped); in wfx_tx_queue_drop()
107 __wfx_tx_queue_drop(wvif, &queue->normal, dropped); in wfx_tx_queue_drop()
122 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped) in wfx_pending_drop() argument
139 skb_queue_head(dropped, skb); in wfx_pending_drop()
90 __wfx_tx_queue_drop(struct wfx_vif *wvif, struct sk_buff_head *skb_queue, struct sk_buff_head *dropped) __wfx_tx_queue_drop() argument
103 wfx_tx_queue_drop(struct wfx_vif *wvif, struct wfx_queue *queue, struct sk_buff_head *dropped) wfx_tx_queue_drop() argument
H A Dqueue.h37 struct sk_buff_head *dropped);
40 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped);
H A Ddata_tx.c506 static void wfx_flush_vif(struct wfx_vif *wvif, u32 queues, struct sk_buff_head *dropped) in wfx_flush_vif() argument
515 if (dropped) in wfx_flush_vif()
516 wfx_tx_queue_drop(wvif, queue, dropped); in wfx_flush_vif()
533 struct sk_buff_head dropped; in wfx_flush() local
538 skb_queue_head_init(&dropped); in wfx_flush()
541 wfx_flush_vif(wvif, queues, drop ? &dropped : NULL); in wfx_flush()
545 wfx_flush_vif(wvif, queues, drop ? &dropped : NULL); in wfx_flush()
549 wfx_pending_drop(wdev, &dropped); in wfx_flush()
550 while ((skb = skb_dequeue(&dropped)) != NULL) { in wfx_flush()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dringbuf.c68 skel->bss->dropped = 0; in trigger_samples()
195 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in ringbuf_subtest()
196 0L, skel->bss->dropped); in ringbuf_subtest()
233 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in ringbuf_subtest()
234 0L, skel->bss->dropped); in ringbuf_subtest()
259 skel->bss->dropped = 0; in ringbuf_subtest()
290 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in ringbuf_subtest()
291 0L, skel->bss->dropped); in ringbuf_subtest()
/kernel/linux/linux-5.10/net/sched/
H A Dsch_sfq.c349 unsigned int hash, dropped; in sfq_enqueue() local
465 dropped = sfq_drop(sch, to_free); in sfq_enqueue()
466 /* Return Congestion Notification only if we dropped a packet in sfq_enqueue()
470 qdisc_tree_reduce_backlog(sch, 0, dropped - qdisc_pkt_len(skb)); in sfq_enqueue()
474 /* As we dropped a packet, better let upper stack know this */ in sfq_enqueue()
475 qdisc_tree_reduce_backlog(sch, 1, dropped); in sfq_enqueue()
542 int dropped = 0; in sfq_rehash() local
574 dropped++; in sfq_rehash()
601 sch->q.qlen -= dropped; in sfq_rehash()
602 qdisc_tree_reduce_backlog(sch, dropped, drop_le in sfq_rehash()
628 unsigned int qlen, dropped = 0; sfq_change() local
[all...]

Completed in 16 milliseconds

123456789