Skip to contentSkip to conversation

bridge: remove mode BRIDGE_MODE_SWDEV

PATCH In review [email protected] 3 participants 3 messages Dec 8, 2014 – Dec 9, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v5 3/3 bridge: remove mode BRIDGE_MODE_SWDEV

From: Roopa Prabhu <[email protected]>

This patch removes bridge mode swdev.
Users can use BRIDGE_FLAGS_SELF to indicate swdev offload if needed.

---
 include/uapi/linux/if_bridge.h |    1 -
 1 file changed, 1 deletion(-)
include/uapi/linux/if_bridge.h +0 -1
index 05f0869..b03ee8f 100644
@@ -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
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 26 lines · On Mon, Dec 8, 2014 at 2:04 PM, <[email protected]> wrote:

From: Roopa Prabhu <[email protected]>

This patch removes bridge mode swdev.
Users can use BRIDGE_FLAGS_SELF to indicate swdev offload if needed.

---
 include/uapi/linux/if_bridge.h |    1 -
 1 file changed, 1 deletion(-)
include/uapi/linux/if_bridge.h +0 -2
index 05f0869..b03ee8f 100644
@@ -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
--

1.7.10.4

#2 lore raw
In reply to [email protected]
Quoted 7 lines · Mon, Dec 08, 2014 at 11:04:21PM CET, [email protected] wrote:

From: Roopa Prabhu <[email protected]>

This patch removes bridge mode swdev.
Users can use BRIDGE_FLAGS_SELF to indicate swdev offload if needed.

Thanks Roopa for taking care of this!

Quoted 19 lines

---
include/uapi/linux/if_bridge.h | 1 -

1 file changed, 1 deletion(-)
include/uapi/linux/if_bridge.h +0 -1
index 05f0869..b03ee8f 100644
@@ -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
Signature · 1 line
1.7.10.4