From: Tonghao Zhang <tonghao@bamaicloud•com>
To: netdev@vger•kernel.org
Cc: Tonghao Zhang <tonghao@bamaicloud•com>,
Jay Vosburgh <jv@jvosburgh•net>,
"David S. Miller" <davem@davemloft•net>,
Eric Dumazet <edumazet@google•com>,
Jakub Kicinski <kuba@kernel•org>, Paolo Abeni <pabeni@redhat•com>,
Simon Horman <horms@kernel•org>, Jonathan Corbet <corbet@lwn•net>,
Andrew Lunn <andrew+netdev@lunn•ch>,
Steven Rostedt <rostedt@goodmis•org>,
Masami Hiramatsu <mhiramat@kernel•org>,
Mathieu Desnoyers <mathieu.desnoyers@efficios•com>,
Nikolay Aleksandrov <razor@blackwall•org>,
Zengbing Tu <tuzengbing@didiglobal•com>
Subject: [net-next v8 0/3] add broadcast_neighbor for no-stacking networking arch
Date: Fri, 27 Jun 2025 21:49:27 +0800 [thread overview]
Message-ID: <cover.1751031306.git.tonghao@bamaicloud.com> (raw)
For no-stacking networking arch, and enable the bond mode 4(lacp) in
datacenter, the switch require arp/nd packets as session synchronization.
More details please see patch.
v8 change log:
- please see change log in every patch
v7 change log:
- cleanup broadcast_neighbor when changing mode
- drop 4/4 patch, post separately
- add more commit info in 3/3 patch
v6 change log:
- del unnecessary rcu_read_lock in bond_xmit_broadcast
v5 change log:
- format commit message of all patches
- use skb_header_pointer instead of pskb_may_pull
- send only packets to active slaves instead of all ports, and add more commit log
v4 change log:
- fix dec option in bond_close
v3 change log:
- inc/dec broadcast_neighbor option in bond_open/close and UP state.
- remove explicit inline of bond_should_broadcast_neighbor
- remove sysfs option
- remove EXPORT_SYMBOL_GPL
- reorder option bond_opt_value
- use rcu_xxx in bond_should_notify_peers.
v2 change log:
- add static branch for performance
- add more info about no-stacking arch in commit message
- add broadcast_neighbor info and format doc
- invoke bond_should_broadcast_neighbor only in BOND_MODE_8023AD mode for performance
- explain why we need sending peer notify when failure recovery
- change the doc about num_unsol_na
- refine function name to ad_cond_set_peer_notif
- ad_cond_set_peer_notif invoked in ad_enable_collecting_distributing
- refine bond_should_notify_peers for lacp mode.
Cc: Jay Vosburgh <jv@jvosburgh•net>
Cc: "David S. Miller" <davem@davemloft•net>
Cc: Eric Dumazet <edumazet@google•com>
Cc: Jakub Kicinski <kuba@kernel•org>
Cc: Paolo Abeni <pabeni@redhat•com>
Cc: Simon Horman <horms@kernel•org>
Cc: Jonathan Corbet <corbet@lwn•net>
Cc: Andrew Lunn <andrew+netdev@lunn•ch>
Cc: Steven Rostedt <rostedt@goodmis•org>
Cc: Masami Hiramatsu <mhiramat@kernel•org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios•com>
Cc: Nikolay Aleksandrov <razor@blackwall•org>
Cc: Zengbing Tu <tuzengbing@didiglobal•com>
Tonghao Zhang (3):
net: bonding: add broadcast_neighbor option for 802.3ad
net: bonding: add broadcast_neighbor netlink option
net: bonding: send peer notify when failure recovery
Documentation/networking/bonding.rst | 11 +++-
drivers/net/bonding/bond_3ad.c | 13 ++++
drivers/net/bonding/bond_main.c | 91 ++++++++++++++++++++++++----
drivers/net/bonding/bond_netlink.c | 16 +++++
drivers/net/bonding/bond_options.c | 42 +++++++++++++
include/net/bond_options.h | 1 +
include/net/bonding.h | 3 +
include/uapi/linux/if_link.h | 1 +
8 files changed, 165 insertions(+), 13 deletions(-)
--
2.34.1
next reply other threads:[~2025-06-27 13:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-27 13:49 Tonghao Zhang [this message]
2025-06-27 13:49 ` [net-next v8 1/3] net: bonding: add broadcast_neighbor option for 802.3ad Tonghao Zhang
2025-10-14 8:41 ` Jiri Slaby
2025-10-14 9:12 ` Jiri Slaby
2025-10-14 9:22 ` Jiri Slaby
2025-10-14 12:52 ` Tonghao Zhang
2025-10-15 5:31 ` Jiri Slaby
2025-06-27 13:49 ` [net-next v8 2/3] net: bonding: add broadcast_neighbor netlink option Tonghao Zhang
2025-09-23 2:07 ` Hangbin Liu
2025-09-23 8:32 ` Tonghao Zhang
2025-06-27 13:49 ` [net-next v8 3/3] net: bonding: send peer notify when failure recovery Tonghao Zhang
2025-10-15 3:36 ` Hangbin Liu
2025-10-15 13:29 ` Tonghao Zhang
2025-07-08 9:10 ` [net-next v8 0/3] add broadcast_neighbor for no-stacking networking arch patchwork-bot+netdevbpf
2025-09-24 2:23 ` Hangbin Liu
2025-09-28 4:11 ` Tonghao Zhang
2025-09-29 8:35 ` Hangbin Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1751031306.git.tonghao@bamaicloud.com \
--to=tonghao@bamaicloud$(echo .)com \
--cc=andrew+netdev@lunn$(echo .)ch \
--cc=corbet@lwn$(echo .)net \
--cc=davem@davemloft$(echo .)net \
--cc=edumazet@google$(echo .)com \
--cc=horms@kernel$(echo .)org \
--cc=jv@jvosburgh$(echo .)net \
--cc=kuba@kernel$(echo .)org \
--cc=mathieu.desnoyers@efficios$(echo .)com \
--cc=mhiramat@kernel$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=razor@blackwall$(echo .)org \
--cc=rostedt@goodmis$(echo .)org \
--cc=tuzengbing@didiglobal$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox