aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorTushar Vyavahare <tushar.vyavahare@intel.com>2024-04-02 11:45:24 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2024-04-03 16:00:57 +0200
commitc3bd015090f24dcd2e839db1401e948ad95ce803 (patch)
tree778b04e30d8b6a1e4f71f4a5bb13fd811b567dcc /kernel/bpf/arraymap.c
parenttools: Add ethtool.h header to tooling infra (diff)
downloadlinux-c3bd015090f24dcd2e839db1401e948ad95ce803.tar.gz
linux-c3bd015090f24dcd2e839db1401e948ad95ce803.zip
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 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions