Searched refs:peer_priv (Results 1 – 3 of 3) sorted by relevance
1256 struct veth_priv *peer_priv; in veth_set_channels() local1266 peer_priv = peer ? netdev_priv(peer) : NULL; in veth_set_channels()1270 if (peer && peer_priv && peer_priv->_xdp_prog && ch->tx_count > peer->real_num_rx_queues) in veth_set_channels()1458 struct veth_priv *peer_priv = netdev_priv(peer); in veth_fix_features() local1460 if (peer_priv->_xdp_prog) in veth_fix_features()1491 struct veth_priv *peer_priv, *priv = netdev_priv(dev); in veth_set_rx_headroom() local1502 peer_priv = netdev_priv(peer); in veth_set_rx_headroom()1504 new_hr = max(priv->requested_headroom, peer_priv->requested_headroom); in veth_set_rx_headroom()
3557 static bool same_port_devs(struct mlx5e_priv *priv, struct mlx5e_priv *peer_priv) in same_port_devs() argument3559 return priv->mdev == peer_priv->mdev; in same_port_devs()3562 bool mlx5e_same_hw_devs(struct mlx5e_priv *priv, struct mlx5e_priv *peer_priv) in mlx5e_same_hw_devs() argument3568 pmdev = peer_priv->mdev; in mlx5e_same_hw_devs()3969 struct mlx5e_priv *peer_priv; in is_merged_eswitch_vfs() local3971 peer_priv = netdev_priv(peer_netdev); in is_merged_eswitch_vfs()3976 mlx5e_same_hw_devs(priv, peer_priv)); in is_merged_eswitch_vfs()3982 struct mlx5e_priv *peer_priv; in same_hw_reps() local3984 peer_priv = netdev_priv(peer_netdev); in same_hw_reps()3988 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);