Skip to content

mptcp: Add timestamp support

Mat Martineau mptcp netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7sock: expose so_timestamp options for mptcpinclude/net/sock.h net/core/sock.c+20 -70 repliesApplied
2/7sock: expose so_timestamping options for mptcpinclude/net/sock.h net/core/sock.c+38 -350 repliesApplied
3/7mptcp: sockopt: propagate timestamp request to subflowsnet/mptcp/sockopt.c+50 -00 repliesApplied
4/7mptcp: setsockopt: handle SOL_SOCKET in one place onlynet/mptcp/sockopt.c+29 -700 repliesApplied
5/7tcp: export timestamp helpers for mptcpinclude/net/tcp.h net/ipv4/tcp.c+8 -60 repliesApplied
6/7mptcp: receive path cmsg supportnet/mptcp/protocol.c+25 -30 repliesApplied
7/7selftests: mptcp_connect: add SO_TIMESTAMPNS cmsg supporttools/testing/selftests/net/mptcp/mptcp_connect.c tools/testing/selftests/net/mptcp/mptcp_sockopt.sh+126 -30 repliesApplied

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchPaolo Abeni
1/7A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7A-b

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

Read the v1 thread

Cover letter [PATCH net-next 0/7] mptcp: Add timestamp support

Enable the SO_TIMESTAMP and SO_TIMESTAMPING socket options for MPTCP sockets and add receive path cmsg support for timestamps.

Patches 1, 2, and 5 expose existing sock and tcp helpers for timestamps (no new EXPORT_SYMBOLS()s).

Patch 3 propagates timestamp options to subflows.

Patch 4 cleans up MPTCP handling of SOL_SOCKET options.

Patch 6 adds timestamp csmg data when receiving on sockets that have been configured for timestamps.

Patch 7 adds self test coverage for timestamps.

Florian Westphal (7):
sock: expose so_timestamp options for mptcp
sock: expose so_timestamping options for mptcp
mptcp: sockopt: propagate timestamp request to subflows
mptcp: setsockopt: handle SOL_SOCKET in one place only
tcp: export timestamp helpers for mptcp
mptcp: receive path cmsg support
selftests: mptcp_connect: add SO_TIMESTAMPNS cmsg support

 include/net/sock.h                            |   3 +
 include/net/tcp.h                             |   4 +
 net/core/sock.c                               |  97 +++++++-----
 net/ipv4/tcp.c                                |  10 +-
 net/mptcp/protocol.c                          |  28 +++-
 net/mptcp/sockopt.c                           | 149 ++++++++++--------
 .../selftests/net/mptcp/mptcp_connect.c       | 125 ++++++++++++++-
 .../selftests/net/mptcp/mptcp_sockopt.sh      |   4 +-
 8 files changed, 296 insertions(+), 124 deletions(-)

base-commit: 6a8dd8b2fa5b7cec4b13f5f5b2589d9abbac0fab

Signature · 1 line
2.31.1