bridge: new mode flag to indicate mode 'undefined'
Subsystems (3)
PATCH v5 1/3 bridge: new mode flag to indicate mode 'undefined'
From: Roopa Prabhu <[email protected]>
This patch adds mode BRIDGE_MODE_UNDEF for cases where mode is not needed.
Signed-off-by Roopa Prabhu <[email protected]>
--- include/uapi/linux/if_bridge.h | 1 + 1 file changed, 1 insertion(+)
include/uapi/linux/if_bridge.h +1 -0
@@ -106,6 +106,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 */ +#define BRIDGE_MODE_UNDEF 0xFFFF/* mode undefined */ /* Bridge management nested attributes * [IFLA_AF_SPEC] = {
Signature · 1 line
1.7.10.4
Signed-off-by Scott Feldman <[email protected]>
Quoted 25 lines · On Mon, Dec 8, 2014 at 2:04 PM, <[email protected]> wrote:
From: Roopa Prabhu <[email protected]>
This patch adds mode
BRIDGE_MODE_UNDEFfor cases where mode is not needed.Signed-off-by Roopa Prabhu <[email protected]>--- include/uapi/linux/if_bridge.h | 1 + 1 file changed, 1 insertion(+)include/uapi/linux/if_bridge.h +1
-1@@ -106,6 +106,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 */ +#define BRIDGE_MODE_UNDEF 0xFFFF/* mode undefined */ /* Bridge management nested attributes * [IFLA_AF_SPEC] = { -- 1.7.10.4
Quoted 5 lines · Mon, Dec 08, 2014 at 11:04:19PM CET, [email protected] wrote:
From: Roopa Prabhu <[email protected]>
This patch adds mode
BRIDGE_MODE_UNDEFfor cases where mode is not needed.Signed-off-by Roopa Prabhu <[email protected]>
Signed-off-by Jiri Pirko <[email protected]>
Quoted 20 lines
---
include/uapi/linux/if_bridge.h| 1 +1 file changed, 1 insertion(+)include/uapi/linux/if_bridge.h +1
-0@@ -106,6 +106,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 */ +#define BRIDGE_MODE_UNDEF 0xFFFF/* mode undefined */ /* Bridge management nested attributes * [IFLA_AF_SPEC] = { Signature · 1 line
1.7.10.4