bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf 0/4] Fix some issues for selftest test_xdp_redirect_multi.sh
@ 2021-10-27  3:35 Hangbin Liu
  2021-10-27  3:35 ` [PATCH bpf 1/4] selftests/bpf/xdp_redirect_multi: put the logs to tmp folder Hangbin Liu
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Hangbin Liu @ 2021-10-27  3:35 UTC (permalink / raw)
  To: netdev
  Cc: bpf, Alexei Starovoitov, Daniel Borkmann, Jesper Dangaard Brouer,
	linux-kselftest, David S . Miller, Jiri Benc, Hangbin Liu

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

This patch set fix all these issues.

Hangbin Liu (4):
  selftests/bpf/xdp_redirect_multi: put the logs to tmp folder
  selftests/bpf/xdp_redirect_multi: use arping to accurate the arp
    number
  selftests/bpf/xdp_redirect_multi: give tcpdump a chance to terminate
    cleanly
  selftests/bpf/xdp_redirect_multi: limit the tests in netns

 .../selftests/bpf/test_xdp_redirect_multi.sh  | 62 +++++++++++--------
 .../selftests/bpf/xdp_redirect_multi.c        |  4 +-
 2 files changed, 37 insertions(+), 29 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-08  2:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27  3:35 [PATCH bpf 0/4] Fix some issues for selftest test_xdp_redirect_multi.sh Hangbin Liu
2021-10-27  3:35 ` [PATCH bpf 1/4] selftests/bpf/xdp_redirect_multi: put the logs to tmp folder Hangbin Liu
2021-10-27  3:35 ` [PATCH bpf 2/4] selftests/bpf/xdp_redirect_multi: use arping to accurate the arp number Hangbin Liu
2021-10-27  3:35 ` [PATCH bpf 3/4] selftests/bpf/xdp_redirect_multi: give tcpdump a chance to terminate cleanly Hangbin Liu
2021-10-27  3:35 ` [PATCH bpf 4/4] selftests/bpf/xdp_redirect_multi: limit the tests in netns Hangbin Liu
2021-11-05 15:46 ` [PATCH bpf 0/4] Fix some issues for selftest test_xdp_redirect_multi.sh Daniel Borkmann
2021-11-08  2:15   ` Hangbin Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).