Skip to content

bonding/balance-alb: support VMs behind bridges better

Jarod Wilson lkml netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v24 patches 6 repliesSuperseded
  3. v14 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bonding: add pure source-mac-based tx hashing optionDocumentation/networking/bonding.rst drivers/net/bonding/bond_main.c+25 -61 reply
2/2bonding/balance-alb: put all slaves into promiscdrivers/net/bonding/bond_main.c+3 -20 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH net-next v3 0/2] bonding/balance-alb: support VMs behind bridges better

I've been further educated on a use case, where a bridge sits on top of a bond, with multiple vnetX interfaces attached to virtual machines, also acting as ports of the bridge. Each leg of the bond goes to a different switch, but there is NO mlag/vpc in play, the bonding driver has to handle traffic that loops back appropriately to avoid breaking transmission. Rather than adding some sort of mac filtering to balance-xor mode, we switched to using balance-alb, which already does some of this, and with the tweaks provided in this series, empirically seems to behave as desired in actual operation.

v2 attempts to support srcmac-only hashing via a modparam instead of by adding yet another hashing mode, as well as cleaning up and clarifying commit messages.

v3 omits two patches from the series that prove unnecessary when all slaves get promiscuity propagated to them.

Jarod Wilson (2):
bonding: add pure source-mac-based tx hashing option bonding/balance-alb: put all slaves into promisc

 Documentation/networking/bonding.rst | 13 +++++++++++++
 drivers/net/bonding/bond_main.c      | 23 +++++++++++++++--------
 2 files changed, 28 insertions(+), 8 deletions(-)
Signature · 1 line
2.30.2