diff options
author | Scott Feldman <sfeldma@gmail.com> | 2014-11-28 13:34:24 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-03 04:01:23 (GMT) |
commit | 345cd494a324c149ef7293f4bedf2d7131a6de7c (patch) | |
tree | 010ead08c2f20c458dd2b9365ddfc1bcfe8447aa /include/uapi | |
parent | efacacdaf7cb5a0592ed772e3731636b2742e34a (diff) | |
download | linux-345cd494a324c149ef7293f4bedf2d7131a6de7c.tar.xz |
bridge: add new hwmode swdev
Current hwmode settings are "vepa" or "veb". These are for NIC interfaces
with basic bridging function offloaded to HW. Add new "swdev" for full
switch device offloads.
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/if_bridge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h index da17e45..296a556 100644 --- a/include/uapi/linux/if_bridge.h +++ b/include/uapi/linux/if_bridge.h @@ -105,6 +105,7 @@ struct __fdb_entry { #define BRIDGE_MODE_VEB 0 /* Default loopback mode */ #define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */ +#define BRIDGE_MODE_SWDEV 2 /* Full switch device offload */ /* Bridge management nested attributes * [IFLA_AF_SPEC] = { |