diff options
author | Kal Conley <kal.conley@dectris.com> | 2023-04-03 16:50:46 +0200 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2023-04-05 11:29:34 -0700 |
commit | 7a2050df244e2c9a4e90882052b7907450ad10ed (patch) | |
tree | ea58f6b2eeaed4639d5380b61035527006a10476 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | 9af87166944b3ff33d1399f7a1924ef0175e96b2 (diff) |
selftests: xsk: Use correct UMEM size in testapp_invalid_desc
Avoid UMEM_SIZE macro in testapp_invalid_desc which is incorrect when
the frame size is not XSK_UMEM__DEFAULT_FRAME_SIZE. Also remove the
macro since it's no longer being used.
Fixes: 909f0e28207c ("selftests: xsk: Add tests for 2K frame size")
Signed-off-by: Kal Conley <kal.conley@dectris.com>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/r/20230403145047.33065-2-kal.conley@dectris.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions