]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: add netlink support for sys prio, actor sys mac, and port key
authorAndy Gospodarek <gospo@cumulusnetworks.com>
Sat, 9 May 2015 07:01:58 +0000 (00:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2015 14:59:32 +0000 (10:59 -0400)
commit577d3caa271d3c86df5c24c6fcac5ea528aff2f6
tree3dbec503438d0dd8f063a5f62e3dbfe01d3e9791
parent7276a034607cdb3ef5ef6be152d05cb4f86b7f63
bonding: add netlink support for sys prio, actor sys mac, and port key

Adds netlink support for the following bonding options:
* BOND_OPT_AD_ACTOR_SYS_PRIO
* BOND_OPT_AD_ACTOR_SYSTEM
* BOND_OPT_AD_USER_PORT_KEY

When setting the actor system mac address we assume the netlink message
contains a binary mac and not a string representation of a mac.

Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
[jt: completed the setting side of the netlink attributes]
Signed-off-by: Jonathan Toppins <jtoppins@cumulusnetworks.com>
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_netlink.c
drivers/net/bonding/bond_options.c
include/uapi/linux/if_link.h