diff options
author | Tushar Vyavahare <tushar.vyavahare@intel.com> | 2024-04-02 14:45:24 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-04-03 17:00:57 +0300 |
commit | c3bd015090f24dcd2e839db1401e948ad95ce803 (patch) | |
tree | 778b04e30d8b6a1e4f71f4a5bb13fd811b567dcc /tools/perf/scripts/python/task-analyzer.py | |
parent | 7effe3fdc049a34c56a68671100b5570e53e8f0a (diff) | |
download | linux-c3bd015090f24dcd2e839db1401e948ad95ce803.tar.xz |
selftests/xsk: Make batch size variable
Convert the constant BATCH_SIZE into a variable named batch_size to allow
dynamic modification at runtime. This is required for the forthcoming
changes to support testing different hardware ring sizes.
While running these tests, a bug was identified when the batch size is
roughly the same as the NIC ring size. This has now been addressed by
Maciej's fix in commit 913eda2b08cc ("i40e: xsk: remove count_mask").
Signed-off-by: Tushar Vyavahare <tushar.vyavahare@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/20240402114529.545475-3-tushar.vyavahare@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions