[PATCH bpf-next 0/3] selftests/bpf: tc_links/tc_opts: Unserialize tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Both tc_links.c and tc_opts.c do their tests on the loopback interface.
It prevents from parallelizing their executions.

Use namespaces and the new append_tid() helper to allow this
parallelization.

Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@xxxxxxxxxxx>
---
Bastien Curutchet (eBPF Foundation) (3):
      selftests/bpf: tc_helpers: Add create_and_open_tid_ns()
      selftests/bpf: tc_link/tc_opts: Use unique namespace
      selftests/bpf: tc_links/tc_opts: Serialize tests

 .../testing/selftests/bpf/prog_tests/tc_helpers.h  |  12 ++
 tools/testing/selftests/bpf/prog_tests/tc_links.c  | 164 +++++++++++++--
 tools/testing/selftests/bpf/prog_tests/tc_opts.c   | 230 ++++++++++++++++++---
 3 files changed, 361 insertions(+), 45 deletions(-)
---
base-commit: cfed0f474a4bb2f12b54de5d6a7301cfb7dc0dbd
change-id: 20250128-tc_links-d894a23b7063

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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux