]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c4526e5da7f4bb6cd5a1a47a0f17e3553a92ffc
treed410aa67420c4422cec1cd8a15cebd22b2cc9cf9
parentb610beac8968808104de5f4c53716c476b4931fa
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