Message ID | 1417084826-9875-14-git-send-email-jiri@resnulli.us |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
Hello. On 11/27/2014 1:40 PM, Jiri Pirko wrote: > From: Scott Feldman <sfeldma@gmail.com> > 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> > --- > v3->v4: > -no change > new in v3 > --- > include/uapi/linux/if_bridge.h | 1 + > 1 file changed, 1 insertion(+) > diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h > index da17e45..60425ca 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 */ Please use tabs for indentation. [...] WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h index da17e45..60425ca 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] = {