netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	mptcp@lists.01.org
Subject: [PATCH v2 net-next 0/5] mptcp: re-enable sndbuf autotune
Date: Wed, 20 Jan 2021 15:39:09 +0100	[thread overview]
Message-ID: <cover.1611153172.git.pabeni@redhat.com> (raw)

The sendbuffer autotuning was unintentionally disabled as a
side effect of the recent workqueue removal refactor. These
patches re-enable id, with some extra care: with autotuning
enable/large send buffer we need a more accurate packet
scheduler to be able to use efficiently the available
subflow bandwidth, especially when the subflows have
different capacities.

The first patch cleans-up subflow socket handling, making
the actual re-enable (patch 2) simpler.

Patches 3 and 4 improve the packet scheduler, to better cope
with non trivial scenarios and large send buffer. 

Finally patch 5 adds and uses some infrastructure to avoid
the workqueue usage for the packet scheduler operations introduced
by the previous patches.

v1 -> v2:
 - fix a UaF in patch 5, see patch changelog for the details 

Paolo Abeni (5):
  mptcp: always graft subflow socket to parent
  mptcp: re-enable sndbuf autotune
  mptcp: do not queue excessive data on subflows
  mptcp: schedule work for better snd subflow selection
  mptcp: implement delegated actions

 net/mptcp/protocol.c | 179 ++++++++++++++++++++++++++++---------------
 net/mptcp/protocol.h |  87 +++++++++++++++++++++
 net/mptcp/subflow.c  |  55 ++++++++++++-
 3 files changed, 258 insertions(+), 63 deletions(-)

-- 
2.26.2


             reply	other threads:[~2021-01-20 14:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 14:39 Paolo Abeni [this message]
2021-01-20 14:39 ` [PATCH v2 net-next 1/5] mptcp: always graft subflow socket to parent Paolo Abeni
2021-01-20 14:39 ` [PATCH v2 net-next 2/5] mptcp: re-enable sndbuf autotune Paolo Abeni
2021-01-20 14:39 ` [PATCH v2 net-next 3/5] mptcp: do not queue excessive data on subflows Paolo Abeni
2021-01-20 14:39 ` [PATCH v2 net-next 4/5] mptcp: schedule work for better snd subflow selection Paolo Abeni
2021-01-20 14:39 ` [PATCH v2 net-next 5/5] mptcp: implement delegated actions Paolo Abeni
2021-01-22  1:34   ` Jakub Kicinski
2021-01-22  8:25     ` Paolo Abeni
2021-01-22 23:23       ` Jakub Kicinski
2021-01-23  7:10         ` Paolo Abeni
2021-01-23  3:30 ` [PATCH v2 net-next 0/5] mptcp: re-enable sndbuf autotune patchwork-bot+netdevbpf

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.1611153172.git.pabeni@redhat.com \
    --to=pabeni@redhat.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --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).