summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/if_bridge.h
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2014-11-28 14:34:24 +0100
committerDavid S. Miller <davem@davemloft.net>2014-12-02 20:01:23 -0800
commit345cd494a324c149ef7293f4bedf2d7131a6de7c (patch)
tree010ead08c2f20c458dd2b9365ddfc1bcfe8447aa /include/uapi/linux/if_bridge.h
parentefacacdaf7cb5a0592ed772e3731636b2742e34a (diff)
downloadlinux-345cd494a324c149ef7293f4bedf2d7131a6de7c.tar.gz
linux-345cd494a324c149ef7293f4bedf2d7131a6de7c.tar.bz2
linux-345cd494a324c149ef7293f4bedf2d7131a6de7c.zip
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/linux/if_bridge.h')
-rw-r--r--include/uapi/linux/if_bridge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
index da17e456908d..296a556454e3 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] = {