[PATCH v2 mptcp-next 0/4] TCP_INQ support

Florian Westphal posted 4 patches 3 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/20211111151418.17276-1-fw@strlen.de
Maintainers: Shuah Khan <shuah@kernel.org>, Matthieu Baerts <matthieu.baerts@tessares.net>, Jakub Kicinski <kuba@kernel.org>, "David S. Miller" <davem@davemloft.net>, Mat Martineau <mathew.j.martineau@linux.intel.com>
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

[PATCH v2 mptcp-next 0/4] TCP_INQ support

Posted by Florian Westphal 3 weeks, 3 days ago
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 v2-changes.

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

-- 
2.32.0