net: add netif_is_ovs_port helper
authorJiri Pirko <jiri@mellanox.com>
Tue, 18 Apr 2017 14:55:36 +0000 (16:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Apr 2017 19:32:31 +0000 (15:32 -0400)
commit5be661412762bbef45a55eaf1e6847258d69b3a4
treee50a42d0125663c54ddd9cbfed5100da1f9148a0
parent93cd081305092929a8be1ebed9eb5bcbe54e4b7d
net: add netif_is_ovs_port helper

To find out if a netdev is an OVS port.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h