bonding: add Netlink support mode option

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jiri Pirko
2013-10-18 17:43:38 +02:00
committed by David S. Miller
parent 752d48b52e
commit 90af231106
2 changed files with 66 additions and 0 deletions

View File

@@ -325,6 +325,16 @@ struct ifla_vxlan_port_range {
__be16 high;
};
/* Bonding section */
enum {
IFLA_BOND_UNSPEC,
IFLA_BOND_MODE,
__IFLA_BOND_MAX,
};
#define IFLA_BOND_MAX (__IFLA_BOND_MAX - 1)
/* SR-IOV virtual function management section */
enum {