selftests/bpf: Migrate test_tunnel.sh to test_progs
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected] change-id 20250131-tunnels-59b641ea3f10Versions newest first
- v2 Latest10 patches 2 repliesApplied 10/10
- v110 patches 12 repliesSuperseded
Changes in v2 from the cover letter
- PATCH 1: Move tc_hook definition to attatch_tc_prog()
- PATCH 4: Disable DAD through ip addr
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 All 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | selftests/bpf: test_tunnel: Add generic_attach* helperstools/ | +66 | 1 reply | Applied |
| 2/10 | selftests/bpf: test_tunnel: Add ping helperstools/ | +24 | 0 replies | Applied |
| 3/10 | selftests/bpf: test_tunnel: Move gre tunnel test to test_progstools/ tools/ | +97 | 0 replies | Applied |
| 4/10 | selftests/bpf: test_tunnel: Move ip6gre tunnel test to test_progstools/ tools/ | +104 | 1 reply | Applied |
| 5/10 | selftests/bpf: test_tunnel: Move erspan tunnel tests to test_progstools/ tools/ | +46 | 0 replies | Applied |
| 6/10 | selftests/bpf: test_tunnel: Move ip6erspan tunnel test to test_progstools/ tools/ | +41 | 0 replies | Applied |
| 7/10 | selftests/bpf: test_tunnel: Move geneve tunnel test to test_progstools/ tools/ | +45 | 0 replies | Applied |
| 8/10 | selftests/bpf: test_tunnel: Move ip6geneve tunnel test to test_progstools/ tools/ | +48 | 0 replies | Applied |
| 9/10 | selftests/bpf: test_tunnel: Move ip6tnl tunnel tests to test_progstools/ tools/ | +59 | 0 replies | Applied |
| 10/10 | selftests/bpf: test_tunnel: Remove test_tunnel.shtools/ tools/ | +0 | 0 replies | Applied |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Stanislav Fomichev |
|---|---|
| 1/10 | A-b |
| 2/10 | A-b |
| 3/10 | A-b |
| 4/10 | A-b |
| 5/10 | A-b |
| 6/10 | A-b |
| 7/10 | A-b |
| 8/10 | A-b |
| 9/10 | A-b |
| 10/10 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next v2 00/10] selftests/bpf: Migrate test_tunnel.sh to test_progs
Hi all,
This patch series continues the work to migrate the *.sh tests into prog_tests framework.
The test_tunnel.sh script has already been partly migrated to test_progs in prog_tests/test_tunnel.c so I add my work to it.
PATCH 1 & 2 create some helpers to avoid code duplication and ease the migration in the following patches.
PATCH 3 to 9 migrate the tests of gre, ip6gre, erspan, ip6erspan, geneve, ip6geneve and ip6tnl tunnels.
PATCH 10 removes test_tunnel.sh
---
Changes in v2:
- PATCH 1: Move tc_hook definition to attatch_tc_prog()
- PATCH 4: Disable DAD through ip addr
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Bastien Curutchet (eBPF Foundation) (10):
selftests/bpf: test_tunnel: Add generic_attach* helpers selftests/bpf: test_tunnel: Add ping helpers selftests/bpf: test_tunnel: Move gre tunnel test to test_progs selftests/bpf: test_tunnel: Move ip6gre tunnel test to test_progs selftests/bpf: test_tunnel: Move erspan tunnel tests to test_progs selftests/bpf: test_tunnel: Move ip6erspan tunnel test to test_progs selftests/bpf: test_tunnel: Move geneve tunnel test to test_progs selftests/bpf: test_tunnel: Move ip6geneve tunnel test to test_progs selftests/bpf: test_tunnel: Move ip6tnl tunnel tests to test_progs selftests/bpf: test_tunnel: Remove test_tunnel.sh
tools/testing/selftests/bpf/Makefile | 1 - .../testing/selftests/bpf/prog_tests/test_tunnel.c | 633 ++++++++++++++++---- tools/testing/selftests/bpf/test_tunnel.sh | 645 --------------------- 3 files changed, 530 insertions(+), 749 deletions(-)
---
base-commit: 97b4501198b918f1d0adeb8205004d64f780e472
change-id: 20250131-tunnels-59b641ea3f10
Best regards,
Signature · 1 line
Bastien Curutchet (eBPF Foundation) <[email protected]>