diff options
author | Tushar Vyavahare <[email protected]> | 2024-07-02 05:59:15 +0000 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-07-02 15:12:30 +0200 |
commit | d80d61ab0609f7f7168d59ec82ee5f055a4b6be7 (patch) | |
tree | de7b370e9840bbcf7a6c1e17951b507a5367cf65 /arch/riscv/net/bpf_jit_comp64.c | |
parent | 03922e97bc305c6b2e8bc4b7cc765959ca63b05d (diff) |
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 'arch/riscv/net/bpf_jit_comp64.c')
0 files changed, 0 insertions, 0 deletions