Home
last modified time | relevance | path

Searched refs:packets (Results 1 – 22 of 22) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dnetcnt.c17 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/
Dnetcnt_prog.c37 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/
Ddrop_monitor_tests.sh79 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 \
Dudpgso_bench_rx.c53 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()
Dmsg_zerocopy.c95 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/
Dnetcnt_common.h25 __u64 packets; member
38 __u64 packets; member
/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan_flooding.sh218 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)
Dsch_red_core.sh339 qdisc_stats_get $swp3 $(get_qdisc_handle $vlan) .packets
/tools/perf/Documentation/
Dperf-intel-pt.txt18 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 …]
Dintel-bts.txt66 When -D is used, Intel BTS packets are displayed.
68 To disable the display of Intel BTS packets, combine the -D option with
Dperf-timechart.txt28 Upper bar shows incoming events (disk reads, ingress network packets).
29 Lower bar shows outgoing events (disk writes, egress network packets).
Dperf-top.txt301 Find out where broadcast packets are handled
Dperf-config.txt711 branches decoded without consuming any trace packets. If
/tools/testing/selftests/net/forwarding/
Dskbedit_priority.sh124 local pkt0=$(qdisc_parent_stats_get $swp2 $classid .packets)
131 qdisc_parent_stats_get $swp2 $classid .packets)
Dsch_red.sh174 qdisc_stats_get $swp3 11: .packets
179 link_stats_get _drop_test tx packets
Dtc_police.sh311 local t0=$(tc_rule_stats_get $h2 1 ingress .packets)
313 local t1=$(tc_rule_stats_get $h2 1 ingress .packets)
Dlib.sh712 link_stats_get $1 tx packets
725 local selector=${1:-.packets}; shift
735 local selector=${1:-.packets}; shift
/tools/testing/selftests/netfilter/
Dnft_queue.sh302 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/
Dpkt_sched.h35 __u32 packets; /* Number of enqueued packets */ member
341 __u32 packets; member
/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst226 to other programs that can be used either to "process" packets or to "debug"
Dbpftool-prog.rst175 context provided by the user, and not on actual packets or
/tools/perf/
Ddesign.txt181 * in the overflow packets.