summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-10-18 17:43:38 +0200
committerDavid S. Miller <davem@davemloft.net>2013-10-20 00:58:46 +0200
commit90af231106c0b8d223c27d35464af95cb3d9cacf (patch)
tree17870108eb5e6565e8dca9a3a1a10c9d452f5db8 /include
parentbonding: move active_slave getting into separate function (diff)
downloadlinux-90af231106c0b8d223c27d35464af95cb3d9cacf.tar.xz
linux-90af231106c0b8d223c27d35464af95cb3d9cacf.zip
bonding: add Netlink support mode option
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/if_link.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 80394e8dc3a3..06fd3fe10f3b 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -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 {