Searched refs:peer_priv (Results 1 – 3 of 3) sorted by relevance
1255 struct veth_priv *peer_priv; in veth_set_channels() local1265 peer_priv = peer ? netdev_priv(peer) : NULL; in veth_set_channels()1269 if (peer && peer_priv && peer_priv->_xdp_prog && ch->tx_count > peer->real_num_rx_queues) in veth_set_channels()1457 struct veth_priv *peer_priv = netdev_priv(peer); in veth_fix_features() local1459 if (peer_priv->_xdp_prog) in veth_fix_features()1490 struct veth_priv *peer_priv, *priv = netdev_priv(dev); in veth_set_rx_headroom() local1501 peer_priv = netdev_priv(peer); in veth_set_rx_headroom()1503 new_hr = max(priv->requested_headroom, peer_priv->requested_headroom); in veth_set_rx_headroom()
3555 static bool same_port_devs(struct mlx5e_priv *priv, struct mlx5e_priv *peer_priv) in same_port_devs() argument3557 return priv->mdev == peer_priv->mdev; in same_port_devs()3560 bool mlx5e_same_hw_devs(struct mlx5e_priv *priv, struct mlx5e_priv *peer_priv) in mlx5e_same_hw_devs() argument3566 pmdev = peer_priv->mdev; in mlx5e_same_hw_devs()3967 struct mlx5e_priv *peer_priv; in is_merged_eswitch_vfs() local3969 peer_priv = netdev_priv(peer_netdev); in is_merged_eswitch_vfs()3974 mlx5e_same_hw_devs(priv, peer_priv)); in is_merged_eswitch_vfs()3980 struct mlx5e_priv *peer_priv; in same_hw_reps() local3982 peer_priv = netdev_priv(peer_netdev); in same_hw_reps()3986 mlx5e_same_hw_devs(priv, peer_priv); in same_hw_reps()[all …]
146 bool mlx5e_same_hw_devs(struct mlx5e_priv *priv, struct mlx5e_priv *peer_priv);