Skip to content

selftests/bpf: Fix some issues for selftest test_xdp_redirect_multi.sh

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2008895

Jiri reported some issues in test_xdp_redirect_multi.sh. Like the test logs not cleaned after testing. The tcpdump is not terminated cleanly. arp number count may have false positive. And most important, after creating/deleting a lot of interfaces, the interface index may exceed the DEVMAP max entry and cause program xdp_redirect_multi exec failed.

This patch set fixes all these issues.

Signed-off-by: Hangbin Liu haliu@redhat.com

Merge request reports