mptcp: introduce backlog processing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest4 patches 5 repliesIn review
- v7 posting 2/24 patches 6 repliesSuperseded
- v7 posting 1/24 patches 1 replySuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 11 patches | 11 replies | Superseded | |
| v5 | 10 patches | 22 replies | Superseded | |
| v4 | 8 patches | 5 replies | Superseded |
Changes in v8 from the cover letter
- only minor changes: typos, added warn_on().
- notably no BL loop limiting, as discussed on previous iteration
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mptcp: handle first subflow closing consistentlynet/ net/ | +11 | 0 replies | |
| 2/4 | mptcp: borrow forward memory from subflownet/ net/ net/ +2 more | +46 | 0 replies | |
| 3/4 | mptcp: introduce mptcp-level backlognet/ net/ net/ | +97 | 0 replies | |
| 4/4 | mptcp: leverage the backlog for RX packet processingnet/ net/ | +68 | 2 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Mat Martineau |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH mptcp-next v8 0/4] mptcp: introduce backlog processing
This series includes RX path improvement built around backlog processing
The main goals are improving the RX performances _and_ increase the long term maintainability.
Patch 1 and 2 refactor the memory account logic in the RX path, so that the msk don't need anymore to do fwd allocation, removing possible drop sources.
Patch 3 and 4 cope with backlog processing. Patch 3 introduces the helpers needed to manipulate the msk-level backlog, and the data struct itself, without any actual functional change. Patch 4 finally use the backlog for RX skb processing. Note that MPTCP can't use the sk_backlog, as the mptcp release callback can also release and re-acquire the msk-level spinlock and core backlog processing works under the assumption that such event is not possible.
A relevant point is memory accounts for skbs in the backlog.
It's somewhat "original" due to MPTCP constraints. Such skbs use space from the incoming subflow receive buffer, but are fwd memory accounted on the msk, using memory borrowed by the subflow.
Instead the msk borrows memory from the subflow and reserve it for the backlog - see patch 2 and 4 for the gory details.
---
v7 -> v8:
- only minor changes: typos, added warn_on().
- notably no BL loop limiting, as discussed on previous iteration
Paolo Abeni (4):
mptcp: handle first subflow closing consistently
mptcp: borrow forward memory from subflow
mptcp: introduce mptcp-level backlog
mptcp: leverage the backlog for RX packet processing
net/mptcp/fastopen.c | 4 +- net/mptcp/mib.c | 1 - net/mptcp/mib.h | 1 - net/mptcp/mptcp_diag.c | 3 +- net/mptcp/protocol.c | 232 +++++++++++++++++++++++++++++------------ net/mptcp/protocol.h | 45 +++++++- 6 files changed, 214 insertions(+), 72 deletions(-)
Signature · 1 line
2.51.0