/tools/testing/selftests/bpf/prog_tests/ |
D | netcnt.c | 17 unsigned long packets; in test_netcnt() local 60 packets = netcnt.packets; in test_netcnt() 63 ASSERT_LE(percpu_netcnt[cpu].packets, MAX_PERCPU_PACKETS, "MAX_PERCPU_PACKETS"); in test_netcnt() 65 packets += percpu_netcnt[cpu].packets; in test_netcnt() 70 ASSERT_EQ(packets, 10000, "packets"); in test_netcnt() 75 ASSERT_EQ(bytes, packets * 104, "bytes"); in test_netcnt()
|
/tools/testing/selftests/bpf/progs/ |
D | netcnt_prog.c | 37 percpu_cnt->packets++; in bpf_nextcnt() 40 if (percpu_cnt->packets > MAX_PERCPU_PACKETS) { in bpf_nextcnt() 41 __sync_fetch_and_add(&cnt->packets, in bpf_nextcnt() 42 percpu_cnt->packets); in bpf_nextcnt() 43 percpu_cnt->packets = 0; in bpf_nextcnt() 63 percpu_cnt->prev_packets = cnt->packets; in bpf_nextcnt()
|
/tools/testing/selftests/net/ |
D | drop_monitor_tests.sh | 79 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 80 (( $(tshark -r ${dir}/packets.pcap \ 84 rm ${dir}/packets.pcap 87 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 88 (( $(tshark -r ${dir}/packets.pcap \ 107 timeout 5 dwdump -o hw -w ${dir}/packets.pcap 108 (( $(tshark -r ${dir}/packets.pcap \ 113 rm ${dir}/packets.pcap 116 timeout 5 dwdump -o hw -w ${dir}/packets.pcap 117 (( $(tshark -r ${dir}/packets.pcap \
|
D | udpgso_bench_rx.c | 53 static unsigned long packets, bytes; variable 181 packets++; in do_flush_tcp() 278 packets++; in do_flush_udp() 280 if (cfg_expected_pkt_nr && packets >= cfg_expected_pkt_nr) in do_flush_udp() 379 if (packets) in do_recv() 383 bytes >> 20, packets); in do_recv() 384 bytes = packets = 0; in do_recv() 392 if (cfg_expected_pkt_nr && (packets != cfg_expected_pkt_nr)) in do_recv() 394 packets, cfg_expected_pkt_nr); in do_recv()
|
D | msg_zerocopy.c | 95 static long packets, bytes, completions, expected_completions; variable 213 packets++; in do_sendmsg() 566 packets, bytes >> 20, completions, in do_tx() 617 packets++; in do_flush_tcp() 647 packets++; in do_flush_datagram() 673 fprintf(stderr, "rx=%lu (%lu MB)\n", packets, bytes >> 20); in do_rx()
|
/tools/testing/selftests/bpf/ |
D | netcnt_common.h | 25 __u64 packets; member 38 __u64 packets; member
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | vxlan_flooding.sh | 218 local packets=("$@") 223 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]} 233 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1) 254 packets=(2 2 2 2 2 2 1 1 1 2 2 2) 266 packets=(2 2 2 3 3 3 1 1 1 3 3 3) 278 packets=(2 2 2 4 4 4 1 1 1 3 3 3) 291 packets=(2 2 2 4 5 5 1 1 1 3 3 3) 300 packets=(2 2 2 4 5 6 1 1 1 3 3 3) 309 packets=(2 2 2 4 5 6 1 1 1 3 3 3)
|
D | sch_red_core.sh | 339 qdisc_stats_get $swp3 $(get_qdisc_handle $vlan) .packets
|
/tools/perf/Documentation/ |
D | perf-intel-pt.txt | 18 modes and timings and formats it into highly compressed binary packets. 29 the trace data packets. For example a TNT packet only tells whether a 151 calculated using the cycle count from CYC packets, otherwise MTC packets are 242 So, to disable TSC packets use: 295 tsc Always supported. Produces TSC timestamp packets to provide 303 is produced when a function returns. Causes more packets to be 308 psb_period Allows the frequency of PSB packets to be specified. 328 trace bytes between PSB packets as: 340 If MTC packets are selected, the default config selects a value 351 mtc Produces MTC timing packets. [all …]
|
D | intel-bts.txt | 66 When -D is used, Intel BTS packets are displayed. 68 To disable the display of Intel BTS packets, combine the -D option with
|
D | perf-timechart.txt | 28 Upper bar shows incoming events (disk reads, ingress network packets). 29 Lower bar shows outgoing events (disk writes, egress network packets).
|
D | perf-top.txt | 301 Find out where broadcast packets are handled
|
D | perf-config.txt | 711 branches decoded without consuming any trace packets. If
|
/tools/testing/selftests/net/forwarding/ |
D | skbedit_priority.sh | 124 local pkt0=$(qdisc_parent_stats_get $swp2 $classid .packets) 131 qdisc_parent_stats_get $swp2 $classid .packets)
|
D | sch_red.sh | 174 qdisc_stats_get $swp3 11: .packets 179 link_stats_get _drop_test tx packets
|
D | tc_police.sh | 311 local t0=$(tc_rule_stats_get $h2 1 ingress .packets) 313 local t1=$(tc_rule_stats_get $h2 1 ingress .packets)
|
D | lib.sh | 712 link_stats_get $1 tx packets 725 local selector=${1:-.packets}; shift 735 local selector=${1:-.packets}; shift
|
/tools/testing/selftests/netfilter/ |
D | nft_queue.sh | 302 tcp dport 12345 limit rate 1/second burst 1 packets counter queue num 0 306 tcp dport 12345 limit rate 1/second burst 1 packets counter queue num 0
|
/tools/include/uapi/linux/ |
D | pkt_sched.h | 35 __u32 packets; /* Number of enqueued packets */ member 341 __u32 packets; member
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-map.rst | 226 to other programs that can be used either to "process" packets or to "debug"
|
D | bpftool-prog.rst | 175 context provided by the user, and not on actual packets or
|
/tools/perf/ |
D | design.txt | 181 * in the overflow packets.
|