linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] bonding/balance-alb: support VMs behind bridges better
@ 2021-05-27 20:00 Jarod Wilson
  2021-05-27 20:00 ` [PATCH net-next v3 1/2] bonding: add pure source-mac-based tx hashing option Jarod Wilson
  2021-05-27 20:00 ` [PATCH net-next v3 2/2] bonding/balance-alb: put all slaves into promisc Jarod Wilson
  0 siblings, 2 replies; 4+ messages in thread
From: Jarod Wilson @ 2021-05-27 20:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jarod Wilson

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(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-28 10:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 20:00 [PATCH net-next v3 0/2] bonding/balance-alb: support VMs behind bridges better Jarod Wilson
2021-05-27 20:00 ` [PATCH net-next v3 1/2] bonding: add pure source-mac-based tx hashing option Jarod Wilson
2021-05-28 10:10   ` Nikolay Aleksandrov
2021-05-27 20:00 ` [PATCH net-next v3 2/2] bonding/balance-alb: put all slaves into promisc Jarod Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).