mbox series

[net-next,0/5] bonding: report transmit status to callers

Message ID 20200507163222.122469-1-edumazet@google.com
Headers show
Series bonding: report transmit status to callers | expand

Message

Eric Dumazet May 7, 2020, 4:32 p.m. UTC
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(-)