diff options
| author | Tushar Vyavahare <[email protected]> | 2024-04-02 11:45:24 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-04-03 16:00:57 +0200 |
| commit | c3bd015090f24dcd2e839db1401e948ad95ce803 (patch) | |
| tree | 778b04e30d8b6a1e4f71f4a5bb13fd811b567dcc /tools/perf/scripts/python | |
| parent | 7effe3fdc049a34c56a68671100b5570e53e8f0a (diff) | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Magnus Karlsson <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions