diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-10-18 17:43:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-19 18:58:46 -0400 |
commit | 90af231106c0b8d223c27d35464af95cb3d9cacf (patch) | |
tree | 17870108eb5e6565e8dca9a3a1a10c9d452f5db8 /include/uapi/linux/if_link.h | |
parent | 752d48b52ec929c6fd6ccd7ea9728571830fdd49 (diff) | |
download | op-kernel-dev-90af231106c0b8d223c27d35464af95cb3d9cacf.zip op-kernel-dev-90af231106c0b8d223c27d35464af95cb3d9cacf.tar.gz |
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/uapi/linux/if_link.h')
-rw-r--r-- | include/uapi/linux/if_link.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 80394e8..06fd3fe 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 { |