OSDN Git Service

bonding: add new option lacp_active
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 2 Aug 2021 03:02:19 +0000 (11:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2021 10:50:22 +0000 (11:50 +0100)
commit3a755cd8b7c601f756cbbf908b84f7cc8c04a02b
treed410aa67420c4422cec1cd8a15cebd22b2cc9cf9
parent2414d628042b61fc8af427a160379ff7e11fc59b
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>
12 files changed:
Documentation/networking/bonding.rst
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_netlink.c
drivers/net/bonding/bond_options.c
drivers/net/bonding/bond_procfs.c
drivers/net/bonding/bond_sysfs.c
include/net/bond_3ad.h
include/net/bond_options.h
include/net/bonding.h
include/uapi/linux/if_link.h
tools/include/uapi/linux/if_link.h