Skip to content

net/bond: fixes and cleanup

Stephen Hemminger dpdk-dev 1 version Applied

Status from this message: Applied to net-next, took Bruce's suggestion to split the first patch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 6 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4net/bonding: make 8023ad enable function voiddrivers/net/bonding/eth_bond_8023ad_private.h drivers/net/bonding/rte_eth_bond_8023ad.c drivers/net/bonding/rte_eth_bond_pmd.c+5 -231 reply
2/4net/bonding: check mode before setting dedicated queuesdrivers/net/bonding/rte_eth_bond_8023ad.c+8 -41 reply
3/4net/bonding: prevent crash on Rx/Tx from secondary processdrivers/net/bonding/rte_eth_bond_pmd.c+42 -11 reply
4/4net/bonding: remove redundant function names from logdrivers/net/bonding/rte_eth_bond_api.c drivers/net/bonding/rte_eth_bond_pmd.c+12 -151 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchBruce Richardson
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] net/bond: fixes and cleanup

Automated analysis of the bonding found a few minor things. The bug fix is in patch 3 for secondary process crash does rx/tx.

The cleanups are in handling of 8023ad mode setting and the logging macros.

v2 - feedback about the mode setting and log messages

Stephen Hemminger (4):
net/bonding: make 8023ad enable function void net/bonding: check mode before setting dedicated queues net/bonding: prevent crash on Rx/Tx from secondary process net/bonding: remove redundant function names from log

 drivers/net/bonding/eth_bond_8023ad_private.h | 17 +----
 drivers/net/bonding/rte_eth_bond_8023ad.c     | 16 ++--
 drivers/net/bonding/rte_eth_bond_api.c        |  4 +-
 drivers/net/bonding/rte_eth_bond_pmd.c        | 73 ++++++++++++++-----
 4 files changed, 67 insertions(+), 43 deletions(-)
Signature · 1 line
2.53.0