Please hold on this patch. Our QE reported that with bare NIC, the backup NIC can't receive the NS messages even after joining the multicast MAC group. But after remove the backup NIC from bond, the NIC interface could receive the NS message.
This is weird, it looks the backup NIC dropped the NS message somewhere, even using tcpdump (the NIC will be in promisc mode) I can't capture the NS message on backup slave. I need to debug more. Thanks Hangbin On Fri, Feb 07, 2025 at 09:29:18AM +0000, Hangbin Liu wrote: > The mac address on backup slave should be convert from Solicited-Node > Multicast address, not from bonding unicast target address. > > v3: also fix the mac setting for slave_set_ns_maddr. (Jay) > Add function description for slave_set_ns_maddr/slave_set_ns_maddrs (Jay) > v2: fix patch 01's subject > > Hangbin Liu (2): > bonding: fix incorrect MAC address setting to receive NS messages > selftests: bonding: fix incorrect mac address > > drivers/net/bonding/bond_options.c | 55 ++++++++++++++++--- > .../drivers/net/bonding/bond_options.sh | 4 +- > 2 files changed, 49 insertions(+), 10 deletions(-) > > -- > 2.46.0 >