netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 net 0/2] bonding: fix ns targets not work on hardware NIC
@ 2024-11-11 10:16 Hangbin Liu
  2024-11-11 10:16 ` [PATCHv4 net 1/2] bonding: add ns target multicast address to slave device Hangbin Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Hangbin Liu @ 2024-11-11 10:16 UTC (permalink / raw)
  To: netdev
  Cc: Jay Vosburgh, Andy Gospodarek, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Nikolay Aleksandrov, Simon Horman,
	linux-kernel, Hangbin Liu

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.

v4: Thanks Nikolay for the comments:
    use bond_slave_ns_maddrs_{add/del} with clear name
    fix comments typos
    remove _slave_set_ns_maddrs underscore directly
    update bond_option_arp_validate_set() change logic
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               | 16 +++-
 drivers/net/bonding/bond_options.c            | 82 ++++++++++++++++++-
 include/net/bond_options.h                    |  2 +
 .../drivers/net/bonding/bond_options.sh       | 54 +++++++++++-
 4 files changed, 151 insertions(+), 3 deletions(-)

-- 
2.46.0


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

end of thread, other threads:[~2024-11-14 10:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11 10:16 [PATCHv4 net 0/2] bonding: fix ns targets not work on hardware NIC Hangbin Liu
2024-11-11 10:16 ` [PATCHv4 net 1/2] bonding: add ns target multicast address to slave device Hangbin Liu
2024-11-12 13:54   ` Nikolay Aleksandrov
2024-11-11 10:16 ` [PATCHv4 net 2/2] selftests: bonding: add ns multicast group testing Hangbin Liu
2024-11-12 13:55   ` Nikolay Aleksandrov
2024-11-14 10:20 ` [PATCHv4 net 0/2] bonding: fix ns targets not work on hardware NIC patchwork-bot+netdevbpf

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