net: add netif_is_ovs_master helper with IFF_OPENVSWITCH private flag
authorJiri Pirko <jiri@mellanox.com>
Thu, 27 Aug 2015 07:31:20 +0000 (09:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2015 23:28:35 +0000 (16:28 -0700)
commit35d4e1725202e6656fcfa8b88447327ad3ae0c0c
treea3d559ce4df8e097e51e443749bf3830e7030906
parent0894ae3f0a587bda9733ec4a4b67af7ded3a9498
net: add netif_is_ovs_master helper with IFF_OPENVSWITCH private flag

Add this helper so code can easily figure out if netdev is openswitch.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/openvswitch/vport-internal_dev.c