diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2021-08-02 11:02:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-03 11:50:22 +0100 |
commit | 3a755cd8b7c601f756cbbf908b84f7cc8c04a02b (patch) | |
tree | d410aa67420c4422cec1cd8a15cebd22b2cc9cf9 /include/net/bond_options.h | |
parent | 2414d628042b61fc8af427a160379ff7e11fc59b (diff) | |
download | lwn-3a755cd8b7c601f756cbbf908b84f7cc8c04a02b.tar.gz lwn-3a755cd8b7c601f756cbbf908b84f7cc8c04a02b.zip |
bonding: add new option lacp_active
Add an option lacp_active, which is similar with team's runner.active.
This option specifies whether to send LACPDU frames periodically. If set
on, the LACPDU frames are sent along with the configured lacp_rate
setting. If set off, the LACPDU frames acts as "speak when spoken to".
Note, the LACPDU state frames still will be sent when init or unbind port.
v2: remove module parameter
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bond_options.h')
-rw-r--r-- | include/net/bond_options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bond_options.h b/include/net/bond_options.h index 9d382f2f0bc5..e64833a674eb 100644 --- a/include/net/bond_options.h +++ b/include/net/bond_options.h @@ -64,6 +64,7 @@ enum { BOND_OPT_AD_USER_PORT_KEY, BOND_OPT_NUM_PEER_NOTIF_ALIAS, BOND_OPT_PEER_NOTIF_DELAY, + BOND_OPT_LACP_ACTIVE, BOND_OPT_LAST }; |