Skip to content

fixes for "new MPTCP subflow subtest v4"

Geliang Tang mptcp 9 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest4 patches 8 repliesIn review
  2. v74 patches 7 repliesSuperseded
  3. v64 patches 4 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v53 patches4 repliesSuperseded
v43 patches7 repliesSuperseded
v32 patches5 repliesSuperseded
v2 posting 2/21 patch1 replySuperseded
v2 posting 1/21 patch2 repliesSuperseded
v12 patches13 repliesSuperseded

Changes in v8 from the cover letter

- drop bpf_printk, use different errnos (-1, -2) instead for debugging:

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Squash to "selftests/bpf: Add mptcp subflow example"tools/testing/selftests/bpf/progs/mptcp_subflow.c+1 -10 replies
2/4selftests/bpf: Add getsockopt to inspect mptcp subflowtools/testing/selftests/bpf/progs/mptcp_bpf.h tools/testing/selftests/bpf/progs/mptcp_subflow.c+96 -03 replies
3/4Squash to "selftests/bpf: Add mptcp subflow subtest"tools/testing/selftests/bpf/prog_tests/mptcp.c+40 -150 replies
4/4Squash to "selftests/bpf: Add bpf scheduler test"tools/testing/selftests/bpf/prog_tests/mptcp.c+7 -70 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMatthieu Baerts (NGI0)
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH mptcp-next v8 0/4] fixes for "new MPTCP subflow subtest v4"

From: Geliang Tang <[email protected]>

v8:
- drop bpf_printk, use different errnos (-1, -2) instead for debugging:

run_subflow:FAIL:getsockopt(client_fd, SO_MARK) unexpected error: -1 (errno 1) run_subflow:FAIL:getsockopt(client_fd, TCP_CONGESTION) unexpected error: -1 (errno 1) run_subflow:FAIL:getsockopt(client_fd, SO_MARK) unexpected error: -1 (errno 2) run_subflow:FAIL:getsockopt(client_fd, TCP_CONGESTION) unexpected error: -1 (errno 2)

- move more duplicate code into _getsockopt_subflow.

v7:
- drop helpers mptcp_for_each_subflow_safe and list_for_each_entry_safe.
- update parameters of _check_getsockopt_subflow_mark/cc.
- print more messages in the logs as Matt suggested.

v6:
- address Matt's comments in v5.
- use mptcp_for_each_subflow in _check_getsockopt_subflow_mark.
- check msk->pm.subflows in _check_getsockopt_subflow_mark/cc.
- add wait_for_new_subflows helper.

v5:
- rename _check_getsockopt_subflows_mark in patch 1.
- address Matt's comments in v4.

v4:
- address Matt's comments in v3.

v3:
- drop "ss_search" from subflow subtest
- fix mptcp_for_each_subflow_safe
- add cond_break in list_for_each_entry/_safe

Two fixes address Martin's comments in "new MPTCP subflow subtest" v4. Patch 2 will conflict with "selftests/bpf: Add bpf_first scheduler & test".

Geliang Tang (4):
Squash to "selftests/bpf: Add mptcp subflow example" selftests/bpf: Add getsockopt to inspect mptcp subflow Squash to "selftests/bpf: Add mptcp subflow subtest" Squash to "selftests/bpf: Add bpf scheduler test"

 .../testing/selftests/bpf/prog_tests/mptcp.c  | 67 +++++++++++------
 tools/testing/selftests/bpf/progs/mptcp_bpf.h | 27 +++++++
 .../selftests/bpf/progs/mptcp_subflow.c       | 71 ++++++++++++++++++-
 3 files changed, 143 insertions(+), 22 deletions(-)
Signature · 1 line
2.43.0