[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220930045320.5252-1-mubashirmaq@gmail.com>
Date: Fri, 30 Sep 2022 04:53:15 +0000
From: Mubashir Adnan Qureshi <mubashirmaq@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, kuba@...nel.org,
Mubashir Adnan Qureshi <mubashirq@...gle.com>
Subject: [PATCH net-next v2 0/5] Add PLB functionality to TCP
From: Mubashir Adnan Qureshi <mubashirq@...gle.com>
This patch series adds PLB (Protective Load Balancing) to TCP and hooks
it up to DCTCP. PLB is disabled by default and can be enabled using
relevant sysctls and support from underlying CC.
PLB (Protective Load Balancing) is a host based mechanism for load
balancing across switch links. It leverages congestion signals(e.g. ECN)
from transport layer to randomly change the path of the connection
experiencing congestion. PLB changes the path of the connection by
changing the outgoing IPv6 flow label for IPv6 connections (implemented
in Linux by calling sk_rethink_txhash()). Because of this implementation
mechanism, PLB can currently only work for IPv6 traffic. For more
information, see the SIGCOMM 2022 paper:
https://doi.org/10.1145/3544216.3544226
Mubashir Adnan Qureshi (5):
tcp: add sysctls for TCP PLB parameters
tcp: add PLB functionality for TCP
tcp: add support for PLB in DCTCP
tcp: add u32 counter in tcp_sock and an SNMP counter for PLB
tcp: add rcv_wnd and plb_rehash to TCP_INFO
Documentation/networking/ip-sysctl.rst | 75 ++++++++++++++++++
include/linux/tcp.h | 1 +
include/net/netns/ipv4.h | 5 ++
include/net/tcp.h | 28 +++++++
include/uapi/linux/snmp.h | 1 +
include/uapi/linux/tcp.h | 6 ++
net/ipv4/Makefile | 2 +-
net/ipv4/proc.c | 1 +
net/ipv4/sysctl_net_ipv4.c | 43 ++++++++++
net/ipv4/tcp.c | 5 ++
net/ipv4/tcp_dctcp.c | 23 +++++-
net/ipv4/tcp_ipv4.c | 8 ++
net/ipv4/tcp_plb.c | 104 +++++++++++++++++++++++++
13 files changed, 300 insertions(+), 2 deletions(-)
create mode 100644 net/ipv4/tcp_plb.c
--
2.38.0.rc1.362.ged0d419d3c-goog
Powered by blists - more mailing lists