diff options
author | 2024-07-02 05:59:15 +0000 | |
---|---|---|
committer | 2024-07-02 15:12:30 +0200 | |
commit | d80d61ab0609f7f7168d59ec82ee5f055a4b6be7 (patch) | |
tree | de7b370e9840bbcf7a6c1e17951b507a5367cf65 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: Delete extra blank lines in test_sockmap (diff) | |
download | wireguard-linux-d80d61ab0609f7f7168d59ec82ee5f055a4b6be7.tar.xz wireguard-linux-d80d61ab0609f7f7168d59ec82ee5f055a4b6be7.zip |
selftests/xsk: Ensure traffic validation proceeds after ring size adjustment in xskxceiver
Previously, HW_SW_MIN_RING_SIZE and HW_SW_MAX_RING_SIZE test cases were
not validating Tx/Rx traffic at all due to early return after changing HW
ring size in testapp_validate_traffic().
Fix the flow by checking return value of set_ring_size() and act upon it
rather than terminating the test case there.
Signed-off-by: Tushar Vyavahare <tushar.vyavahare@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Link: https://lore.kernel.org/bpf/20240702055916.48071-2-tushar.vyavahare@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions