]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit171a42c38c6e1a5a076d6276e94e55a0b5b7868c
tree3dbec503438d0dd8f063a5f62e3dbfe01d3e9791
parentd22a5fc0c32edcf5c3bb973ee8c9a2606ba500a8
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