Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
Dtest_netcnt.c43 unsigned long packets; in main() local
125 packets = netcnt.packets; in main()
128 if (percpu_netcnt[cpu].packets > MAX_PERCPU_PACKETS) { in main()
130 percpu_netcnt[cpu].packets); in main()
134 packets += percpu_netcnt[cpu].packets; in main()
139 if (packets != 10000) { in main()
140 printf("Unexpected packet count: %lu\n", packets); in main()
147 if (bytes != packets * 104) { in main()
Dnetcnt_common.h10 __u64 packets; member
20 __u64 packets; member
/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/drivers/net/mlxsw/
Dvxlan_flooding.sh201 local packets=("$@")
206 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}
216 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1)
237 packets=(2 2 2 2 2 2 1 1 1 2 2 2)
249 packets=(2 2 2 3 3 3 1 1 1 3 3 3)
261 packets=(2 2 2 4 4 4 1 1 1 3 3 3)
274 packets=(2 2 2 4 5 5 1 1 1 3 3 3)
283 packets=(2 2 2 4 5 6 1 1 1 3 3 3)
292 packets=(2 2 2 4 5 6 1 1 1 3 3 3)
/tools/testing/selftests/net/
Dudpgso_bench_rx.c53 static unsigned long packets, bytes; variable
178 packets++; in do_flush_tcp()
277 packets++; in do_flush_udp()
279 if (cfg_expected_pkt_nr && packets >= cfg_expected_pkt_nr) in do_flush_udp()
373 if (packets) in do_recv()
377 bytes >> 20, packets); in do_recv()
378 bytes = packets = 0; in do_recv()
386 if (cfg_expected_pkt_nr && (packets != cfg_expected_pkt_nr)) in do_recv()
388 packets, cfg_expected_pkt_nr); in do_recv()
Dmsg_zerocopy.c95 static long packets, bytes, completions, expected_completions; variable
214 packets++; in do_sendmsg()
567 packets, bytes >> 20, completions, in do_tx()
618 packets++; in do_flush_tcp()
648 packets++; in do_flush_datagram()
674 fprintf(stderr, "rx=%lu (%lu MB)\n", packets, bytes >> 20); in do_rx()
/tools/perf/Documentation/
Dintel-pt.txt9 modes and timings and formats it into highly compressed binary packets.
20 the trace data packets. For example a TNT packet only tells whether a
115 calculated using the cycle count from CYC packets, otherwise MTC packets are
202 So, to disable TSC packets use:
255 tsc Always supported. Produces TSC timestamp packets to provide
263 is produced when a function returns. Causes more packets to be
268 psb_period Allows the frequency of PSB packets to be specified.
288 trace bytes between PSB packets as:
300 If MTC packets are selected, the default config selects a value
311 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.txt274 Find out where broadcast packets are handled
/tools/include/uapi/linux/
Dpkt_sched.h35 __u32 packets; /* Number of enqueued packets */ member
341 __u32 packets; member
/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst215 to other programs that can be used either to "process" packets or to "debug"
Dbpftool-prog.rst153 context provided by the user, and not on actual packets or
/tools/testing/selftests/net/forwarding/
Dlib.sh514 link_stats_get $1 tx packets
/tools/perf/
Ddesign.txt181 * in the overflow packets.