diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2014-12-08 17:04:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 18:24:47 -0500 |
commit | fc0bdbbc67c9f7307d41f415abb1165778fe803f (patch) | |
tree | de1bf39fb6d050ceaea2fb4eea84f23195a16bc5 | |
parent | b5f185f33d0432cef6ff78765e033dfa8f4de068 (diff) |
bridge: new mode flag to indicate mode 'undefined'
This patch adds mode BRIDGE_MODE_UNDEF for cases where mode is not 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>
-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 296a556454e3..05f08695c6c9 100644 --- a/include/uapi/linux/if_bridge.h +++ b/include/uapi/linux/if_bridge.h | |||
@@ -106,6 +106,7 @@ struct __fdb_entry { | |||
106 | #define BRIDGE_MODE_VEB 0 /* Default loopback mode */ | 106 | #define BRIDGE_MODE_VEB 0 /* Default loopback mode */ |
107 | #define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */ | 107 | #define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */ |
108 | #define BRIDGE_MODE_SWDEV 2 /* Full switch device offload */ | 108 | #define BRIDGE_MODE_SWDEV 2 /* Full switch device offload */ |
109 | #define BRIDGE_MODE_UNDEF 0xFFFF /* mode undefined */ | ||
109 | 110 | ||
110 | /* Bridge management nested attributes | 111 | /* Bridge management nested attributes |
111 | * [IFLA_AF_SPEC] = { | 112 | * [IFLA_AF_SPEC] = { |