bonding: add primary attribute netlink support

Add IFLA_BOND_PRIMARY to allow get/set of bonding parameter
primary via netlink.

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
sfeldma@cumulusnetworks.com
2013-12-15 16:41:51 -08:00
committed by David S. Miller
parent c3bd85495a
commit 0a98a0d12c
5 changed files with 83 additions and 43 deletions

View File

@@ -339,6 +339,7 @@ enum {
IFLA_BOND_ARP_IP_TARGET,
IFLA_BOND_ARP_VALIDATE,
IFLA_BOND_ARP_ALL_TARGETS,
IFLA_BOND_PRIMARY,
__IFLA_BOND_MAX,
};