diff options
author | 2025-01-10 16:04:09 -0800 | |
---|---|---|
committer | 2025-01-10 17:29:05 -0800 | |
commit | be339ddf9e393f5da78a71ae6c2a407fdc04d6be (patch) | |
tree | 27c306ed77057f6a9e5dbb7726a2c92c63c76804 /net/lapb/lapb_timer.c | |
parent | veristat: Document verifier log dumping capability (diff) | |
parent | selftests/bpf: Migrate test_xdp_redirect.c to test_xdp_do_redirect.c (diff) | |
download | wireguard-linux-be339ddf9e393f5da78a71ae6c2a407fdc04d6be.tar.xz wireguard-linux-be339ddf9e393f5da78a71ae6c2a407fdc04d6be.zip |
Merge branch 'selftests-bpf-migrate-test_xdp_redirect-sh-to-test_progs'
Bastien Curutchet says:
====================
This patch series continues the work to migrate the *.sh tests into
prog_tests.
test_xdp_redirect.sh tests the XDP redirections done through
bpf_redirect().
These XDP redirections are already tested by prog_tests/xdp_do_redirect.c
but IMO it doesn't cover the exact same code path because
xdp_do_redirect.c uses bpf_prog_test_run_opts() to trigger redirections
of 'fake packets' while test_xdp_redirect.sh redirects packets coming
from the network. Also, the test_xdp_redirect.sh script tests the
redirections with both SKB and DRV modes while xdp_do_redirect.c only
tests the DRV mode.
The patch series adds two new test cases in prog_tests/xdp_do_redirect.c
to replace the test_xdp_redirect.sh script.
====================
Link: https://patch.msgid.link/20250110-xdp_redirect-v2-0-b8f3ae53e894@bootlin.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions