|
@@ -4171,6 +4171,11 @@ static inline bool netif_is_ovs_master(const struct net_device *dev)
|
|
|
return dev->priv_flags & IFF_OPENVSWITCH;
|
|
return dev->priv_flags & IFF_OPENVSWITCH;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+static inline bool netif_is_ovs_port(const struct net_device *dev)
|
|
|
|
|
+{
|
|
|
|
|
+ return dev->priv_flags & IFF_OVS_DATAPATH;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
static inline bool netif_is_team_master(const struct net_device *dev)
|
|
static inline bool netif_is_team_master(const struct net_device *dev)
|
|
|
{
|
|
{
|
|
|
return dev->priv_flags & IFF_TEAM;
|
|
return dev->priv_flags & IFF_TEAM;
|