netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v3 0/3] selftests/bpf: new MPTCP subflow subtest
@ 2024-07-03 18:57 Matthieu Baerts (NGI0)
  2024-07-03 18:57 ` [PATCH bpf-next v3 1/3] selftests/bpf: Add mptcp subflow example Matthieu Baerts (NGI0)
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Matthieu Baerts (NGI0) @ 2024-07-03 18:57 UTC (permalink / raw)
  To: mptcp, Mat Martineau, Geliang Tang, Andrii Nakryiko,
	Eduard Zingerman, Mykola Lysenko, Alexei Starovoitov,
	Daniel Borkmann, Martin KaFai Lau, Song Liu, Yonghong Song,
	John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa,
	Shuah Khan, David S. Miller, Jakub Kicinski,
	Jesper Dangaard Brouer
  Cc: linux-kernel, netdev, bpf, linux-kselftest,
	Matthieu Baerts (NGI0), Nicolas Rybowski, Geliang Tang

In this series from Geliang, modifying MPTCP BPF selftests, we have:

- A new MPTCP subflow BPF program setting socket options per subflow: it
  looks better to have this old test program in the BPF selftests to
  track regressions and to serve as example.

  Note: Nicolas is no longer working for Tessares, but he did this work
  while working for them, and his email address is no longer available.

- A new symlink to MPTCP's pm_nl_ctl tool is added in BPF selftests, to
  be able to use it instead of 'ip mptcp' which is not supported by the
  BPF CI running IPRoute 5.5.0.

- A new MPTCP BPF subtest validating the new BPF program added in the
  first patch.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Changes in v3:
- Sorry for the delay between v2 and v3, this series was conflicting
  with the "add netns helpers", but it looks like it is on hold:
  https://lore.kernel.org/cover.1715821541.git.tanggeliang@kylinos.cn
- Patch 1/3 includes "bpf_tracing_net.h", introduced in between.
- New patch 2/3: "selftests/bpf: Add mptcp pm_nl_ctl link".
- Patch 3/3: use the tool introduced in patch 2/3 + SYS_NOFAIL() helper.
- Link to v2: https://lore.kernel.org/r/20240509-upstream-bpf-next-20240506-mptcp-subflow-test-v2-0-4048c2948665@kernel.org

Changes in v2:
- Previous patches 1/4 and 2/4 have been dropped from this series:
  - 1/4: "selftests/bpf: Handle SIGINT when creating netns":
    - A new version, more generic and no longer specific to MPTCP BPF
      selftest will be sent later, as part of a new series. (Alexei)
  - 2/4: "selftests/bpf: Add RUN_MPTCP_TEST macro":
    - Removed, not to hide helper functions in macros. (Alexei)
- The commit message of patch 1/2 has been clarified to avoid some
  possible confusions spot by Alexei.
- Link to v1: https://lore.kernel.org/r/20240507-upstream-bpf-next-20240506-mptcp-subflow-test-v1-0-e2bcbdf49857@kernel.org

---
Geliang Tang (2):
      selftests/bpf: Add mptcp pm_nl_ctl link
      selftests/bpf: Add mptcp subflow subtest

Nicolas Rybowski (1):
      selftests/bpf: Add mptcp subflow example

 MAINTAINERS                                       |   1 +
 tools/testing/selftests/bpf/Makefile              |   3 +-
 tools/testing/selftests/bpf/mptcp_pm_nl_ctl.c     |   1 +
 tools/testing/selftests/bpf/prog_tests/mptcp.c    | 104 ++++++++++++++++++++++
 tools/testing/selftests/bpf/progs/mptcp_subflow.c |  59 ++++++++++++
 5 files changed, 167 insertions(+), 1 deletion(-)
---
base-commit: fd8db07705c55a995c42b1e71afc42faad675b0b
change-id: 20240506-upstream-bpf-next-20240506-mptcp-subflow-test-faef6654bfa3

Best regards,
-- 
Matthieu Baerts (NGI0) <matttbe@kernel.org>


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

end of thread, other threads:[~2024-07-24 19:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-03 18:57 [PATCH bpf-next v3 0/3] selftests/bpf: new MPTCP subflow subtest Matthieu Baerts (NGI0)
2024-07-03 18:57 ` [PATCH bpf-next v3 1/3] selftests/bpf: Add mptcp subflow example Matthieu Baerts (NGI0)
2024-07-03 18:57 ` [PATCH bpf-next v3 2/3] selftests/bpf: Add mptcp pm_nl_ctl link Matthieu Baerts (NGI0)
2024-07-04 10:48   ` Matthieu Baerts
2024-07-05 23:10     ` Martin KaFai Lau
2024-07-06  0:25       ` Matthieu Baerts
2024-07-24  7:42         ` Geliang Tang
2024-07-24  8:24           ` Matthieu Baerts
2024-07-24 19:47             ` Martin KaFai Lau
2024-07-03 18:57 ` [PATCH bpf-next v3 3/3] selftests/bpf: Add mptcp subflow subtest Matthieu Baerts (NGI0)

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