Wed, Aug 26, 2015 at 07:24:55PM CEST, f.faine...@gmail.com wrote: >On 26/08/15 09:36, Jiri Pirko wrote: >> From: Jiri Pirko <j...@mellanox.com> >> >> Add this helper so code can easily figure out if netdev is openswitch. >> >> Signed-off-by: Jiri Pirko <j...@mellanox.com> >> --- >> include/linux/netdevice.h | 8 ++++++++ >> net/openvswitch/vport-internal_dev.c | 2 +- >> 2 files changed, 9 insertions(+), 1 deletion(-) >> >> diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h >> index be625f4..0a884e6 100644 >> --- a/include/linux/netdevice.h >> +++ b/include/linux/netdevice.h >> @@ -1264,6 +1264,7 @@ struct net_device_ops { >> * @IFF_MACVLAN: Macvlan device >> * @IFF_VRF_MASTER: device is a VRF master >> * @IFF_NO_QUEUE: device can run without qdisc attached >> + * @IFF_VRF_OPENVSWITCH: device is a Open vSwitch master > >Typo, the flag you introduced is named IFF_OPENVSWITCH, not VFR_OPENSWITCH.
Oups, will fix. Thanks -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html