Fix for bond 802.3ad mode with VFs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drivers/net/bonding/bond_3ad: Use updated MAC address for lacpdu packetsdrivers/ | +2 | 1 reply | |
| 2/2 | drivers/net/bonding: Added some delay while checking for VFs linkdrivers/ | +13 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iwl-net v1 0/2] Fix for bond 802.3ad mode with VFs
Bond 802.3ad mode with PFs works fine.
Problem appears when one or both of the nodes contains VFs.
Let's assume there is setup with 2 hosts, on both there are 2 PFs with each one with 1 VFs. Bond(802.3ad)--|--VFs(two VFs)--Switch(with lacp enabled)--VFs-Bond(802.3ad) In this particular scenario, there are 2 problems:
1. VFs needs some more time than PFs to set the link up, bonding drivers checks link only once, without any delay. This caused issues with setting up bonding link. Fixed by adding small delay loop which checks link state.
2. Only master link works properly. Slave link cannot negotiate connection. This happens because permanent hw address is used for creating lacpdu packets, not current address. Fixed by using current hw address to create lacpdu packet.
Sebastian Basierski (2):
drivers/net/bonding/bond_3ad: Use updated MAC address for lacpdu
packets
drivers/net/bonding: Added some delay while checking for VFs link
drivers/net/bonding/bond_3ad.c | 4 ++-- drivers/net/bonding/bond_main.c | 14 +++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-)
Signature · 1 line
2.31.1