public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/3] selftests/bpf: tc_links/tc_opts: Unserialize tests
@ 2025-02-17 12:37 Bastien Curutchet (eBPF Foundation)
  2025-02-17 12:37 ` [PATCH bpf-next 1/3] selftests/bpf: tc_helpers: Add create_and_open_tid_ns() Bastien Curutchet (eBPF Foundation)
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bastien Curutchet (eBPF Foundation) @ 2025-02-17 12:37 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Eduard Zingerman, Song Liu, Yonghong Song,
	John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa,
	Mykola Lysenko, Shuah Khan
  Cc: Thomas Petazzoni, Alexis Lothore, bpf, linux-kselftest,
	linux-kernel, Bastien Curutchet (eBPF Foundation)

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@bootlin.com>
---
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@bootlin.com>


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

end of thread, other threads:[~2025-02-19  7:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 12:37 [PATCH bpf-next 0/3] selftests/bpf: tc_links/tc_opts: Unserialize tests Bastien Curutchet (eBPF Foundation)
2025-02-17 12:37 ` [PATCH bpf-next 1/3] selftests/bpf: tc_helpers: Add create_and_open_tid_ns() Bastien Curutchet (eBPF Foundation)
2025-02-17 12:37 ` [PATCH bpf-next 2/3] selftests/bpf: tc_link/tc_opts: Use unique namespace Bastien Curutchet (eBPF Foundation)
2025-02-17 12:37 ` [PATCH bpf-next 3/3] selftests/bpf: tc_links/tc_opts: Serialize tests Bastien Curutchet (eBPF Foundation)
2025-02-18 21:22 ` [PATCH bpf-next 0/3] selftests/bpf: tc_links/tc_opts: Unserialize tests Stanislav Fomichev
2025-02-19  3:40   ` Alexei Starovoitov
2025-02-19  7:44     ` Bastien Curutchet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox