aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2021-09-22 09:56:10 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2021-09-28 00:18:35 +0200
commit1bf3649688c103f80690a7088a105924f9d5a6e4 (patch)
tree2779af6a76a183962d124a5477352dfac69cd4f9 /tools/perf/scripts/python
parentselftests: xsk: Fix socket creation retry (diff)
downloadlinux-1bf3649688c103f80690a7088a105924f9d5a6e4.tar.gz
linux-1bf3649688c103f80690a7088a105924f9d5a6e4.zip
selftests: xsk: Introduce pacing of traffic
Introduce pacing of traffic so that the Tx thread can never send more packets than the receiver has processed plus the number of packets it can have in its umem. So at any point in time, the number of in flight packets (not processed by the Rx thread) are less than or equal to the number of packets that can be held in the Rx thread's umem. The batch size is also increased to improve running time. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210922075613.12186-11-magnus.karlsson@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions