Skip to content

bonding: report transmit status to callers

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5netpoll: remove dev argument from netpoll_send_skb_on_dev()include/linux/netpoll.h net/core/netpoll.c+8 -70 replies
2/5netpoll: move netpoll_send_skb() out of lineinclude/linux/netpoll.h net/core/netpoll.c+12 -100 replies
3/5netpoll: netpoll_send_skb() returns transmit statusinclude/linux/netpoll.h net/core/netpoll.c+8 -50 replies
4/5netpoll: accept NULL np argument in netpoll_send_skb()drivers/net/macvlan.c include/linux/if_team.h include/net/bonding.h +4 more+17 -240 replies
5/5bonding: propagate transmit statusdrivers/net/bonding/bond_alb.c drivers/net/bonding/bond_main.c include/net/bonding.h+32 -480 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/5] bonding: report transmit status to callers

First patches cleanup netpoll, and make sure it provides tx status to its users.

Last patch changes bonding to not pretend packets were sent without error.

By providing more accurate status, TCP stack can avoid adding more packets if the slave qdisc is already full.

This came while testing latest horizon feature in sch_fq, with very low pacing rate flows, but should benefit hosts under stress.

Eric Dumazet (5):
netpoll: remove dev argument from netpoll_send_skb_on_dev()
netpoll: move netpoll_send_skb() out of line
netpoll: netpoll_send_skb() returns transmit status
netpoll: accept NULL np argument in netpoll_send_skb()
bonding: propagate transmit status

 drivers/net/bonding/bond_alb.c  |  7 ++--
 drivers/net/bonding/bond_main.c | 60 ++++++++++++---------------------
 drivers/net/macvlan.c           |  5 ++-
 include/linux/if_team.h         |  5 +--
 include/linux/netpoll.h         | 10 +-----
 include/net/bonding.h           | 16 ++++-----
 net/8021q/vlan_dev.c            |  5 ++-
 net/bridge/br_private.h         |  5 +--
 net/core/netpoll.c              | 29 +++++++++++++---
 net/dsa/slave.c                 |  5 ++-
 10 files changed, 65 insertions(+), 82 deletions(-)
Signature · 1 line
2.26.2.526.g744177e7f7-goog