Skip to content

Multipath TCP: Prerequisites

Mat Martineau bpf mptcp netdev 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest11 patches 4 repliesIn review
  2. v611 patches 2 repliesSuperseded
  3. v511 patches 13 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v4 posting 2/20 of 11 patches0 repliesSuperseded
v4 posting 1/211 patches1 replySuperseded
v311 patches7 repliesSuperseded
v211 patches3 repliesSuperseded
v111 patches7 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11net: Make sock protocol value checks more specificinclude/net/sock.h net/ax25/af_ax25.c net/decnet/af_decnet.c+2 -30 replies
2/11sock: Make sk_protocol a 16-bit valueinclude/net/sock.h include/trace/events/sock.h net/core/filter.c+28 -593 replies
3/11tcp: Define IPPROTO_MPTCPinclude/trace/events/sock.h include/uapi/linux/in.h tools/include/uapi/linux/in.h+6 -10 replies
4/11tcp: Add MPTCP option numberinclude/net/tcp.h+1 -00 replies
5/11tcp, ulp: Add clone operation to tcp_ulp_opsinclude/net/tcp.h net/ipv4/inet_connection_sock.c+17 -00 replies
6/11mptcp: Add MPTCP to skb extensionsMAINTAINERS include/linux/skbuff.h include/net/mptcp.h +1 more+48 -00 replies
7/11tcp: coalesce/collapse must respect MPTCP extensionsinclude/net/mptcp.h include/net/tcp.h net/ipv4/tcp_input.c +1 more+74 -40 replies
8/11tcp: Export TCP functions and ops structinclude/net/tcp.h net/ipv4/tcp.c net/ipv4/tcp_ipv4.c +1 more+15 -70 replies
9/11tcp: Check for filled TCP option space before SACKnet/ipv4/tcp_output.c+7 -30 replies
10/11tcp: clean ext on tx recycleinclude/net/sock.h+1 -00 replies
11/11skb: add helpers to allocate ext independently from sk_buffinclude/linux/skbuff.h net/core/skbuff.c+36 -20 replies

Reviews trailers per patch

6 of 11 patches have a Reviewed-by or Acked-by.

PatchEric Dumazet
1/11R-b
2/11
3/11R-b
4/11R-b
5/11
6/11
7/11
8/11R-b
9/11R-b
10/11R-b
11/11

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

Read the v7 thread

Cover letter [PATCH net-next v7 00/11] Multipath TCP: Prerequisites

v6 -> v7: Rename/move ULP clone helper to make inline-friendly (patch 5)

v5 -> v6: Fix BPF accessors for sk_type and sk_protocol (patch 2), fix the width of an __unused bitfield (patch 6), and add some commit message and comment text (patches 5 & 7).

v4 -> v5: Cover letter subject fix. No changes to commits.

v3 -> v4: Update coalesce/collapse of incoming MPTCP skbs (patch 7)

v2 -> v3: Ensure sk_type alignment in struct sock (patch 2)

v1 -> v2: sk_pacing_shift left as a regular struct member (patch 2), and modified SACK space check based on recent -net fix (patch 9).

The MPTCP upstreaming community has been collaborating on an upstreamable MPTCP implementation that complies with RFC 8684. A minimal set of features to comply with the specification involves a sizeable set of code changes, so David requested that we split this work in to multiple, smaller patch sets to build up MPTCP infrastructure.

The minimal MPTCP feature set we are proposing for review in the v5.6 timeframe begins with these three parts:

Part 1 (this patch set): MPTCP prerequisites. Introduce some MPTCP definitions, additional ULP and skb extension features, TCP option space checking, and a few exported symbols.

Part 2: Single subflow implementation and self tests.

Part 3: Switch from MPTCP v0 (RFC 6824) to MPTCP v1 (new RFC 8684, publication expected in the next few days).

Additional patches for multiple subflow support, path management, active backup, and other features are in the pipeline for submission after making progress with the above reviews.

Clone/fetch:
https://github.com/multipath-tcp/mptcp_net-next.git (tag: netdev-v7-part1)

Browse:
https://github.com/multipath-tcp/mptcp_net-next/tree/netdev-v7-part1

Thank you for your review. You can find us at mptcp(a)lists.01.org and
https://is.gd/mptcp_upstream

Mat Martineau (9):
net: Make sock protocol value checks more specific
sock: Make sk_protocol a 16-bit value
tcp: Define IPPROTO_MPTCP
tcp: Add MPTCP option number
tcp, ulp: Add clone operation to tcp_ulp_ops
mptcp: Add MPTCP to skb extensions
tcp: coalesce/collapse must respect MPTCP extensions
tcp: Export TCP functions and ops struct
tcp: Check for filled TCP option space before SACK

Paolo Abeni (2):
tcp: clean ext on tx recycle
skb: add helpers to allocate ext independently from sk_buff

 MAINTAINERS                     | 10 ++++
 include/linux/skbuff.h          |  6 +++
 include/net/mptcp.h             | 85 +++++++++++++++++++++++++++++++++
 include/net/sock.h              | 27 +++--------
 include/net/tcp.h               | 20 ++++++++
 include/trace/events/sock.h     |  5 +-
 include/uapi/linux/in.h         |  2 +
 net/ax25/af_ax25.c              |  2 +-
 net/core/filter.c               | 60 +++++++++--------------
 net/core/skbuff.c               | 42 +++++++++++++++-
 net/decnet/af_decnet.c          |  2 +-
 net/ipv4/inet_connection_sock.c | 14 ++++++
 net/ipv4/tcp.c                  |  6 +--
 net/ipv4/tcp_input.c            | 11 +++--
 net/ipv4/tcp_ipv4.c             |  2 +-
 net/ipv4/tcp_output.c           | 12 +++--
 net/ipv6/tcp_ipv6.c             |  6 +--
 tools/include/uapi/linux/in.h   |  2 +
 18 files changed, 235 insertions(+), 79 deletions(-)
 create mode 100644 include/net/mptcp.h
Signature · 1 line
2.24.1