bridge: remove mode BRIDGE_MODE_SWDEV
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Mon, 8 Dec 2014 22:04:21 +0000 (14:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 23:24:47 +0000 (18:24 -0500)
This patch removes bridge mode swdev.
Users can use BRIDGE_FLAGS_SELF to indicate swdev offload
if needed.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
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>
include/uapi/linux/if_bridge.h

index 05f08695c6c97b760218876384a778d8a9039dd9..b03ee8f62d3c2a019924e4aabf02fdc462c75ffb 100644 (file)
@@ -105,7 +105,6 @@ 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 */
 #define BRIDGE_MODE_UNDEF      0xFFFF  /* mode undefined */
 
 /* Bridge management nested attributes