mbox series

[PATCHv3,net,0/2] bonding: fix ns targets not work on hardware NIC

Message ID 20241106051442.75177-1-liuhangbin@gmail.com (mailing list archive)
Headers show
Series bonding: fix ns targets not work on hardware NIC | expand

Message

Hangbin Liu Nov. 6, 2024, 5:14 a.m. UTC
The first patch fixed ns targets not work on hardware NIC when bonding
set arp_validate.

The second patch add a related selftest for bonding.

v3: use ndisc_mc_map to convert the mcast mac address (Jay Vosburgh)
v2: only add/del mcast group on backup slaves when arp_validate is set (Jay Vosburgh)
    arp_validate doesn't support 3ad, tlb, alb. So let's only do it on ab mode.

Hangbin Liu (2):
  bonding: add ns target multicast address to slave device
  selftests: bonding: add ns multicast group testing

 drivers/net/bonding/bond_main.c               | 18 +++-
 drivers/net/bonding/bond_options.c            | 85 ++++++++++++++++++-
 include/net/bond_options.h                    |  1 +
 .../drivers/net/bonding/bond_options.sh       | 54 +++++++++++-
 4 files changed, 155 insertions(+), 3 deletions(-)