Skip to content

TCP_INQ support

Florian Westphal mptcp 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 6 repliesIn review
  2. v24 patches 4 repliesSuperseded
  3. v13 patches 12 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mptcp: add TCP_INQ cmsg supportnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/sockopt.c+73 -11 reply
2/4selftests: mptcp: add TCP_INQ supporttools/testing/selftests/net/mptcp/mptcp_connect.c tools/testing/selftests/net/mptcp/mptcp_sockopt.sh+59 -30 replies
3/4mptcp: add SIOCINQ, OUTQ and OUTQNSD ioctlsnet/mptcp/protocol.c+53 -00 replies
4/4selftests: mptcp: add inq test casetools/testing/selftests/net/mptcp/.gitignore tools/testing/selftests/net/mptcp/Makefile tools/testing/selftests/net/mptcp/mptcp_inq.c +1 more+645 -12 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.

PatchMat Martineau
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 v3 thread

Cover letter [PATCH v3 mptcp-next 0/4] TCP_INQ support

No major changes since v2, see individual patches for details.

This adds TCP_INQ for mptcp and extends the selftest infra. Patch 3 adds ioctls to retrieve amount of in-sequence bytes ready to for read() (older version of TCP_INQ) and counters for unsent and unacked byte count.

Last patch is new in v2, its a more specific TCP_INQ test case. See individual patches for changes since v1.

Florian Westphal (4):
mptcp: add TCP_INQ cmsg support
selftests: mptcp: add TCP_INQ support
mptcp: add SIOCINQ, OUTQ and OUTQNSD ioctls
selftests: mptcp: add inq test case

 net/mptcp/protocol.c                          |  89 ++-
 net/mptcp/protocol.h                          |   1 +
 net/mptcp/sockopt.c                           |  37 ++
 tools/testing/selftests/net/mptcp/.gitignore  |   1 +
 tools/testing/selftests/net/mptcp/Makefile    |   2 +-
 .../selftests/net/mptcp/mptcp_connect.c       |  58 +-
 tools/testing/selftests/net/mptcp/mptcp_inq.c | 603 ++++++++++++++++++
 .../selftests/net/mptcp/mptcp_sockopt.sh      |  44 +-
 8 files changed, 830 insertions(+), 5 deletions(-)
 create mode 100644 tools/testing/selftests/net/mptcp/mptcp_inq.c
Signature · 1 line
2.32.0