From: Paolo Abeni <pabeni@redhat.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
mptcp@lists.01.org
Subject: [PATCH net-next v2 00/13] mptcp: introduce support for real multipath xmit
Date: Mon, 14 Sep 2020 10:01:06 +0200 [thread overview]
Message-ID: <cover.1599854632.git.pabeni@redhat.com> (raw)
This series enable MPTCP socket to transmit data on multiple subflows
concurrently in a load balancing scenario.
First the receive code path is refactored to better deal with out-of-order
data (patches 1-7). An RB-tree is introduced to queue MPTCP-level out-of-order
data, closely resembling the TCP level OoO handling.
When data is sent on multiple subflows, the peer can easily see OoO - "future"
data at the MPTCP level, especially if speeds, delay, or jitter are not
symmetric.
The other major change regards the netlink PM, which is extended to allow
creating non backup subflows in patches 9-11.
There are a few smaller additions, like the introduction of OoO related mibs,
send buffer autotuning and better ack handling.
Finally a bunch of new self-tests is introduced. The new feature is tested
ensuring that the B/W used by an MPTCP socket using multiple subflows matches
the link aggregated B/W - we use low B/W virtual links, to ensure the tests
are not CPU bounded.
v1 -> v2:
- fix 32 bit build breakage
- fix a bunch of checkpatch issues
Paolo Abeni (13):
mptcp: rethink 'is writable' conditional
mptcp: set data_ready status bit in subflow_check_data_avail()
mptcp: trigger msk processing even for OoO data
mptcp: basic sndbuf autotuning
mptcp: introduce and use mptcp_try_coalesce()
mptcp: move ooo skbs into msk out of order queue.
mptcp: cleanup mptcp_subflow_discard_data()
mptcp: add OoO related mibs
mptcp: move address attribute into mptcp_addr_info
mptcp: allow creating non-backup subflows
mptcp: allow picking different xmit subflows
mptcp: call tcp_cleanup_rbuf on subflows
mptcp: simult flow self-tests
include/net/tcp.h | 2 +
net/ipv4/tcp.c | 2 +-
net/mptcp/mib.c | 5 +
net/mptcp/mib.h | 5 +
net/mptcp/pm_netlink.c | 39 +-
net/mptcp/protocol.c | 511 ++++++++++++++----
net/mptcp/protocol.h | 21 +-
net/mptcp/subflow.c | 99 ++--
tools/testing/selftests/net/mptcp/Makefile | 3 +-
.../selftests/net/mptcp/simult_flows.sh | 293 ++++++++++
10 files changed, 798 insertions(+), 182 deletions(-)
create mode 100755 tools/testing/selftests/net/mptcp/simult_flows.sh
--
2.26.2
next reply other threads:[~2020-09-14 8:02 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-14 8:01 Paolo Abeni [this message]
2020-09-14 8:01 ` [PATCH net-next v2 01/13] mptcp: rethink 'is writable' conditional Paolo Abeni
2020-09-14 18:00 ` [MPTCP] " Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 02/13] mptcp: set data_ready status bit in subflow_check_data_avail() Paolo Abeni
2020-09-14 18:03 ` [MPTCP] " Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 03/13] mptcp: trigger msk processing even for OoO data Paolo Abeni
2020-09-14 18:03 ` [MPTCP] " Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 04/13] mptcp: basic sndbuf autotuning Paolo Abeni
2020-09-14 18:04 ` [MPTCP] " Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 05/13] mptcp: introduce and use mptcp_try_coalesce() Paolo Abeni
2020-09-14 18:06 ` Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 06/13] mptcp: move ooo skbs into msk out of order queue Paolo Abeni
2020-09-14 18:06 ` Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 07/13] mptcp: cleanup mptcp_subflow_discard_data() Paolo Abeni
2020-09-14 18:07 ` Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 08/13] mptcp: add OoO related mibs Paolo Abeni
2020-09-14 18:08 ` Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 09/13] mptcp: move address attribute into mptcp_addr_info Paolo Abeni
2020-09-14 18:08 ` Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 10/13] mptcp: allow creating non-backup subflows Paolo Abeni
2020-09-14 18:08 ` Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 11/13] mptcp: allow picking different xmit subflows Paolo Abeni
2020-09-14 18:09 ` Mat Martineau
2020-09-14 8:01 ` [PATCH net-next v2 12/13] mptcp: call tcp_cleanup_rbuf on subflows Paolo Abeni
2020-09-14 8:01 ` [PATCH net-next v2 13/13] mptcp: simult flow self-tests Paolo Abeni
2020-09-14 18:09 ` Mat Martineau
2020-09-14 20:28 ` [PATCH net-next v2 00/13] mptcp: introduce support for real multipath xmit David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1599854632.git.pabeni@redhat.com \
--to=pabeni@redhat.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=mptcp@lists.01.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).