mbox series

[bpf-next,0/2] selftests/bpf: Move test_lwt_seg6local to test_progs

Message ID 20250307-seg6local-v1-0-990fff8f180d@bootlin.com (mailing list archive)
Headers show
Series selftests/bpf: Move test_lwt_seg6local to test_progs | expand

Message

Bastien Curutchet (eBPF Foundation) March 7, 2025, 9:18 a.m. UTC
Hi all,

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

test_lwt_seg6local.sh tests some bpf_lwt_* helpers. It contains only one
test that uses a network topology quite different than the ones that
can be found in others prog_tests/lwt_*.c files so I add a new
prog_tests/lwt_seg6local.c file.

While working on the migration I noticed that some routes present in the
script weren't needed so PATCH 1 deletes them and then PATCH 2 migrates
the test into the test_progs framework.

Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
---
Bastien Curutchet (eBPF Foundation) (2):
      selftests/bpf: lwt_seg6local: Remove unused routes
      selftests/bpf: lwt_seg6local: Move test to test_progs

 tools/testing/selftests/bpf/Makefile               |   1 -
 .../selftests/bpf/prog_tests/lwt_seg6local.c       | 176 +++++++++++++++++++++
 tools/testing/selftests/bpf/test_lwt_seg6local.sh  | 156 ------------------
 3 files changed, 176 insertions(+), 157 deletions(-)
---
base-commit: 86eb3a47230a41c6ccf5cdae8ee0a7e7292aa29d
change-id: 20250214-seg6local-64bcde44b66e

Best regards,

Comments

Stanislav Fomichev March 8, 2025, 4:54 a.m. UTC | #1
On 03/07, Bastien Curutchet (eBPF Foundation) wrote:
> Hi all,
> 
> This patch series continues the work to migrate the script tests into
> prog_tests.
> 
> test_lwt_seg6local.sh tests some bpf_lwt_* helpers. It contains only one
> test that uses a network topology quite different than the ones that
> can be found in others prog_tests/lwt_*.c files so I add a new
> prog_tests/lwt_seg6local.c file.
> 
> While working on the migration I noticed that some routes present in the
> script weren't needed so PATCH 1 deletes them and then PATCH 2 migrates
> the test into the test_progs framework.
> 
> Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
patchwork-bot+netdevbpf@kernel.org March 8, 2025, 9:30 a.m. UTC | #2
Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Fri, 07 Mar 2025 10:18:22 +0100 you wrote:
> Hi all,
> 
> This patch series continues the work to migrate the script tests into
> prog_tests.
> 
> test_lwt_seg6local.sh tests some bpf_lwt_* helpers. It contains only one
> test that uses a network topology quite different than the ones that
> can be found in others prog_tests/lwt_*.c files so I add a new
> prog_tests/lwt_seg6local.c file.
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/2] selftests/bpf: lwt_seg6local: Remove unused routes
    https://git.kernel.org/bpf/bpf-next/c/359d07044dd5
  - [bpf-next,2/2] selftests/bpf: lwt_seg6local: Move test to test_progs
    https://git.kernel.org/bpf/bpf-next/c/3fb97a2b2f2d

You are awesome, thank you!