/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | ringbuf.c | 66 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 D | soft-interface.c | 211 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 D | soft-interface.c | 207 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 D | ringbuf_bench.c | 18 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 D | perfbuf_bench.c | 19 long dropped __attribute__((aligned(128))) = 0; variable 30 __sync_add_and_fetch(&dropped, 1); in bench_perfbuf()
|
H A D | test_ringbuf.c | 29 long dropped = 0; variable 51 __sync_fetch_and_add(&dropped, 1); in test_ringbuf()
|
H A D | test_ringbuf_multi.c | 41 long dropped = 0; variable 63 dropped += 1; in test_ringbuf()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | ringbuf_bench.c | 19 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 D | perfbuf_bench.c | 20 long dropped __attribute__((aligned(128))) = 0; variable 30 __sync_add_and_fetch(&dropped, 1); in bench_perfbuf()
|
H A D | test_ringbuf.c | 29 long dropped = 0; variable 50 __sync_fetch_and_add(&dropped, 1); in test_ringbuf()
|
H A D | test_ringbuf_multi.c | 53 long dropped = 0; variable 74 dropped += 1; in test_ringbuf()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_sample.bpf.c | 83 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 D | test_cls_bpf.sh | 7 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 D | test_cls_bpf.sh | 7 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 D | xdp_monitor_kern.c | 126 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 D | test_cgrp2_tc.sh | 102 local dropped=$($TC -s qdisc show dev $HOST_IFC | tail -3 | \ 104 if [[ $dropped -eq 0 ]] 109 echo "Successfully filtered $dropped packets"
|
H A D | xdp_redirect_cpu_kern.c | 31 __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 D | queue.c | 94 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 D | queue.h | 37 struct sk_buff_head *dropped); 40 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped);
|
H A D | data_tx.c | 540 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 D | queue.c | 91 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 D | queue.h | 37 struct sk_buff_head *dropped); 40 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped);
|
H A D | data_tx.c | 506 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 D | ringbuf.c | 68 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 D | sch_sfq.c | 349 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...] |