RFC NIC driver Rx ring ECN
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: NIC driver Rx ring ECN: skbuff and tcp supportinclude/ net/ net/ | +10 | 0 replies | |
| 2/7 | net: NIC driver Rx ring ECN: stats counterinclude/ net/ net/ +2 more | +12 | 0 replies | |
| 3/7 | drivers: net: xgene: NIC driver Rx ring ECNdrivers/ | +6 | 0 replies | |
| 4/7 | drivers: net: bnx2x: NIC driver Rx ring ECNdrivers/ | +3 | 0 replies | |
| 5/7 | drivers: net: bnx2x: NIC driver Rx ring ECNdrivers/ | +6 | 0 replies | |
| 6/7 | drivers: net: bnx2: NIC driver Rx ring ECNdrivers/ | +2 | 0 replies | |
| 7/7 | drivers: net: bnx2: NIC driver Rx ring ECNdrivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH net-next 0/7] NIC driver Rx ring ECN
From: Jeremy Harris <[email protected]>
Routers and switches provide for mitigation of buffer overrun by marking IP packets as "Congestion Experienced" [RFC 3168]. Participating transport protocols can use these marks to throttle their send rates.
This patchset extends coverage to the receiving NIC/driver buffers.
We use an out-of-band mechanism, marking the sk_buff rather than the packet, to avoid need for DPI.
Participating NIC drivers are modified to add the marks. Participating transport protocols are modified to notice marks and combine with IP-level protocol marks.
Stats counters are incremented in ipv4 and ipv6 input processing, with results:
$ nstat -sz *Congest* #kernel Ip6InCongestionPkts 0 0.0 IpExtInCongestionPkts 148454 0.0 $
Both NIC drivers and transports can be incrementatlly upgraded to take advantage of the feature. Three example drivers are modified in this patchset.
Jeremy Harris (7):
net: NIC driver Rx ring ECN: skbuff and tcp support
net: NIC driver Rx ring ECN: stats counter
drivers: net: xgene: NIC driver Rx ring ECN
drivers: net: bnx2x: NIC driver Rx ring ECN
drivers: net: bnx2x: NIC driver Rx ring ECN
drivers: net: bnx2: NIC driver Rx ring ECN
drivers: net: bnx2: NIC driver Rx ring ECN
drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 8 ++++++-- drivers/net/ethernet/broadcom/bnx2.c | 11 +++++++++-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 12 +++++++++--- include/linux/skbuff.h | 2 ++ include/uapi/linux/snmp.h | 1 + net/core/skbuff.c | 1 + net/ipv4/ip_input.c | 4 ++++ net/ipv4/proc.c | 1 + net/ipv4/tcp_input.c | 8 +++++++- net/ipv6/ip6_input.c | 5 +++++ net/ipv6/proc.c | 1 + 11 files changed, 46 insertions(+), 8 deletions(-)
base-commit: 12c1604ae1a39bef87ac099f106594b4cb433b75
Signature · 1 line
2.39.0