Skip to content

mptcp: add some more diag info

Paolo Abeni mptcp 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 12 repliesIn review
  2. v56 patches 2 repliesSuperseded
  3. v46 patches 7 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v36 patches18 repliesSuperseded
v26 patches8 repliesSuperseded
v14 patches7 repliesSuperseded

Changes in v6 from the cover letter

- fix another compiler warning

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mptcp: move snd_una update earlier for fallback socket.net/mptcp/options.c net/mptcp/protocol.c+6 -60 replies
2/6mptcp: track some aggregate data counters.include/uapi/linux/mptcp.h net/mptcp/options.c net/mptcp/protocol.c +2 more+45 -83 replies
3/6selftests: mptcp: explicitly tests aggregate counterstools/testing/selftests/net/mptcp/mptcp_sockopt.c+26 -10 replies
4/6mptcp: add subflow unique idnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c+12 -10 replies
5/6mptcp: introduce MPTCP_FULL_INFO getsockoptinclude/uapi/linux/mptcp.h net/mptcp/sockopt.c+149 -22 replies
6/6selftests: mptcp: add MPTCP_FULL_INFO testcasetools/testing/selftests/net/mptcp/mptcp_sockopt.c+89 -25 replies

Reviews trailers per patch

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

PatchMatthieu Baerts
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

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

Read the v6 thread

Cover letter [PATCH v6 mptcp-next 0/6] mptcp: add some more diag info

Sorry for the high-freq spamming. I really want to close this topic and move forward.

Introduces unique id for accurate subflow stats tracking and aggregate mptcp counters, plus some minimal self-tests.

The tests themself do not take in account support for running on older kernel.

This is on top of "mptcp: a bunch of data race fixes".

There should be non trivial conflicts with:

"mptcp: use get_retrans wrapper".

v5 -> v6:
- fix another compiler warning

v4 -> v5:
- changed again binary layout for MPTCP_FULL_INFO structs (Matttbe)
- fixed 32bit build issue
- reordered the patches, less controversial first

v3 -> v4:
- change binary layout for MPTCP_FULL_INFO structs (Florian)

v2 -> v3:
- address Matttbe comments on patch 1, 2 and 5, see the indivdual patches changelog for the details

v1 -> v2:
- introduce MPTCP_FULL_INFO instead of overloading a tcp_info field
- add related self-tests
- fix a couple of subflow_id initialization bugs

Paolo Abeni (6):
mptcp: move snd_una update earlier for fallback socket.
mptcp: track some aggregate data counters.
selftests: mptcp: explicitly tests aggregate counters
mptcp: add subflow unique id
mptcp: introduce MPTCP_FULL_INFO getsockopt
selftests: mptcp: add MPTCP_FULL_INFO testcase

 include/uapi/linux/mptcp.h                    |  29 ++++
 net/mptcp/options.c                           |  14 +-
 net/mptcp/protocol.c                          |  24 ++-
 net/mptcp/protocol.h                          |   9 +-
 net/mptcp/sockopt.c                           | 149 +++++++++++++++++-
 net/mptcp/subflow.c                           |   2 +
 .../selftests/net/mptcp/mptcp_sockopt.c       | 118 +++++++++++++-
 7 files changed, 326 insertions(+), 19 deletions(-)
Signature · 1 line
2.40.1