Home
last modified time | relevance | path

Searched refs:peer_priv (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dipsec_fs_roce.c279 struct mlx5e_priv *peer_priv, in ipsec_fs_roce_tx_mpv_create_ft() argument
288 roce_ns = mlx5_get_flow_namespace(peer_priv->mdev, MLX5_FLOW_NAMESPACE_RDMA_TX_IPSEC); in ipsec_fs_roce_tx_mpv_create_ft()
292 nic_ns = mlx5_get_flow_namespace(peer_priv->mdev, MLX5_FLOW_NAMESPACE_EGRESS_IPSEC); in ipsec_fs_roce_tx_mpv_create_ft()
296 err = ipsec_fs_create_aliased_ft(mdev, peer_priv->mdev, pol_ft, &roce->alias_id, roce->key, in ipsec_fs_roce_tx_mpv_create_ft()
332 mlx5_cmd_alias_obj_destroy(peer_priv->mdev, roce->alias_id, in ipsec_fs_roce_tx_mpv_create_ft()
382 struct mlx5e_priv *peer_priv; in ipsec_fs_roce_tx_mpv_create() local
388 peer_priv = mlx5_devcom_get_next_peer_data(*ipsec_roce->devcom, &tmp); in ipsec_fs_roce_tx_mpv_create()
389 if (!peer_priv || !peer_priv->ipsec) { in ipsec_fs_roce_tx_mpv_create()
397 err = ipsec_fs_roce_tx_mpv_create_ft(mdev, roce, pol_ft, peer_priv, from_event); in ipsec_fs_roce_tx_mpv_create()
415 mlx5_cmd_alias_obj_destroy(peer_priv->mdev, roce->alias_id, in ipsec_fs_roce_tx_mpv_create()
[all …]
/linux-6.12.1/drivers/net/
Dveth.c1264 struct veth_priv *peer_priv; in veth_set_channels() local
1274 peer_priv = peer ? netdev_priv(peer) : NULL; in veth_set_channels()
1278 if (peer && peer_priv && peer_priv->_xdp_prog && ch->tx_count > peer->real_num_rx_queues) in veth_set_channels()
1463 struct veth_priv *peer_priv = netdev_priv(peer); in veth_fix_features() local
1465 if (peer_priv->_xdp_prog) in veth_fix_features()
1501 struct veth_priv *peer_priv, *priv = netdev_priv(dev); in veth_set_rx_headroom() local
1512 peer_priv = netdev_priv(peer); in veth_set_rx_headroom()
1514 new_hr = max(priv->requested_headroom, peer_priv->requested_headroom); in veth_set_rx_headroom()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c3608 static bool same_port_devs(struct mlx5e_priv *priv, struct mlx5e_priv *peer_priv) in same_port_devs() argument
3610 return priv->mdev == peer_priv->mdev; in same_port_devs()
3613 bool mlx5e_same_hw_devs(struct mlx5e_priv *priv, struct mlx5e_priv *peer_priv) in mlx5e_same_hw_devs() argument
3619 pmdev = peer_priv->mdev; in mlx5e_same_hw_devs()
4174 struct mlx5e_priv *peer_priv; in is_merged_eswitch_vfs() local
4176 peer_priv = netdev_priv(peer_netdev); in is_merged_eswitch_vfs()
4181 mlx5e_same_hw_devs(priv, peer_priv)); in is_merged_eswitch_vfs()
4187 struct mlx5e_priv *peer_priv; in same_hw_reps() local
4189 peer_priv = netdev_priv(peer_netdev); in same_hw_reps()
4193 mlx5e_same_hw_devs(priv, peer_priv); in same_hw_reps()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h145 bool mlx5e_same_hw_devs(struct mlx5e_priv *priv, struct mlx5e_priv *peer_priv);