diff options
| author | Tushar Vyavahare <[email protected]> | 2024-07-02 05:59:15 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-07-02 13:12:30 +0000 |
| commit | d80d61ab0609f7f7168d59ec82ee5f055a4b6be7 (patch) | |
| tree | de7b370e9840bbcf7a6c1e17951b507a5367cf65 /tools/testing/selftests/bpf/progs/tracing_struct.c | |
| parent | selftests/bpf: Delete extra blank lines in test_sockmap (diff) | |
| download | kernel-d80d61ab0609f7f7168d59ec82ee5f055a4b6be7.tar.gz kernel-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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
