netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] selftests/bpf: Migrate test_xdp_vlan.sh into test_progs
@ 2025-02-21 10:04 Bastien Curutchet (eBPF Foundation)
  2025-02-21 10:04 ` [PATCH bpf-next 1/2] selftests/bpf: test_xdp_vlan: Rename BPF sections Bastien Curutchet (eBPF Foundation)
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Bastien Curutchet (eBPF Foundation) @ 2025-02-21 10:04 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, David S. Miller,
	Jakub Kicinski, Jesper Dangaard Brouer, John Fastabend,
	Andrii Nakryiko, Eduard Zingerman, Mykola Lysenko,
	Martin KaFai Lau, Song Liu, Yonghong Song, KP Singh,
	Stanislav Fomichev, Hao Luo, Jiri Olsa, Shuah Khan
  Cc: Thomas Petazzoni, Alexis Lothore, netdev, bpf, linux-kselftest,
	linux-kernel, Bastien Curutchet (eBPF Foundation)

Hi all,

This patch series continues the work to migrate the script tests into
prog_tests.

test_xdp_vlan.sh tests the ability of an XDP program to modify the VLAN
ids on the fly. This isn't currently covered by an other test in the
test_progs framework so I add a new file prog_tests/xdp_vlan.c that does
the exact same tests (same network topology, same BPF programs) and
remove the script.

Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
---
Bastien Curutchet (eBPF Foundation) (2):
      selftests/bpf: test_xdp_vlan: Rename BPF sections
      selftests/bpf: Migrate test_xdp_vlan.sh into test_progs

 tools/testing/selftests/bpf/Makefile               |   4 +-
 tools/testing/selftests/bpf/prog_tests/xdp_vlan.c  | 175 ++++++++++++++++
 tools/testing/selftests/bpf/progs/test_xdp_vlan.c  |  20 +-
 tools/testing/selftests/bpf/test_xdp_vlan.sh       | 233 ---------------------
 .../selftests/bpf/test_xdp_vlan_mode_generic.sh    |   9 -
 .../selftests/bpf/test_xdp_vlan_mode_native.sh     |   9 -
 6 files changed, 186 insertions(+), 264 deletions(-)
---
base-commit: a814b9be27fb3c3f49343aee4b015b76f5875558
change-id: 20250130-xdp_vlan-e825cc4df14a

Best regards,
-- 
Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>


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

end of thread, other threads:[~2025-03-19 23:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-21 10:04 [PATCH bpf-next 0/2] selftests/bpf: Migrate test_xdp_vlan.sh into test_progs Bastien Curutchet (eBPF Foundation)
2025-02-21 10:04 ` [PATCH bpf-next 1/2] selftests/bpf: test_xdp_vlan: Rename BPF sections Bastien Curutchet (eBPF Foundation)
2025-02-21 10:04 ` [PATCH bpf-next 2/2] selftests/bpf: Migrate test_xdp_vlan.sh into test_progs Bastien Curutchet (eBPF Foundation)
2025-02-21 16:14   ` Stanislav Fomichev
2025-02-24  9:27     ` Bastien Curutchet
2025-02-24 16:10       ` Stanislav Fomichev
2025-02-24 16:10 ` [PATCH bpf-next 0/2] " Stanislav Fomichev
2025-03-18 10:25   ` Bastien Curutchet
2025-03-19 23:05     ` Martin KaFai Lau

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).