Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c323 err = mlx5_hairpin_create_sq(hp->peer_mdev, params, &hp->sqn[i]); in mlx5_hairpin_create_queues()
332 mlx5_core_destroy_sq(hp->peer_mdev, hp->sqn[j]); in mlx5_hairpin_create_queues()
347 mlx5_core_destroy_sq(hp->peer_mdev, hp->sqn[i]); in mlx5_hairpin_destroy_queues()
371 static int mlx5_hairpin_modify_sq(struct mlx5_core_dev *peer_mdev, u32 sqn, in mlx5_hairpin_modify_sq() argument
388 return mlx5_core_modify_sq(peer_mdev, sqn, in); in mlx5_hairpin_modify_sq()
397 err = mlx5_hairpin_modify_sq(hp->peer_mdev, hp->sqn[i], in mlx5_hairpin_pair_queues()
408 MLX5_CAP_GEN(hp->peer_mdev, vhca_id), hp->sqn[i]); in mlx5_hairpin_pair_queues()
422 mlx5_hairpin_modify_sq(hp->peer_mdev, hp->sqn[j], MLX5_SQC_STATE_RDY, in mlx5_hairpin_pair_queues()
432 mlx5_hairpin_modify_sq(hp->peer_mdev, hp->sqn[i], MLX5_SQC_STATE_RDY, in mlx5_hairpin_unpair_peer_sq()
451 struct mlx5_core_dev *peer_mdev, in mlx5_core_hairpin_create() argument
[all …]
Den_tc.c895 struct mlx5_core_dev *func_mdev, *peer_mdev; in mlx5e_hairpin_create() local
905 peer_mdev = mlx5e_hairpin_get_mdev(dev_net(priv->netdev), peer_ifindex); in mlx5e_hairpin_create()
906 if (IS_ERR(peer_mdev)) { in mlx5e_hairpin_create()
907 err = PTR_ERR(peer_mdev); in mlx5e_hairpin_create()
911 pair = mlx5_core_hairpin_create(func_mdev, peer_mdev, params); in mlx5e_hairpin_create()
987 dev_name(hpe->hp->pair->peer_mdev->device)); in mlx5e_hairpin_put()
1097 struct mlx5_core_dev *peer_mdev; in mlx5e_hairpin_flow_add() local
1104 peer_mdev = mlx5e_hairpin_get_mdev(dev_net(priv->netdev), peer_ifindex); in mlx5e_hairpin_flow_add()
1105 if (IS_ERR(peer_mdev)) { in mlx5e_hairpin_flow_add()
1107 return PTR_ERR(peer_mdev); in mlx5e_hairpin_flow_add()
[all …]
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dib_rep.c175 struct mlx5_core_dev *peer_mdev; in mlx5_ib_vport_rep_unload() local
178 mlx5_lag_for_each_peer_mdev(mdev, peer_mdev, i) { in mlx5_ib_vport_rep_unload()
179 esw = peer_mdev->priv.eswitch; in mlx5_ib_vport_rep_unload()
195 struct mlx5_core_dev *peer_mdev; in mlx5_ib_register_peer_vport_reps() local
199 mlx5_lag_for_each_peer_mdev(mdev, peer_mdev, i) { in mlx5_ib_register_peer_vport_reps()
200 esw = peer_mdev->priv.eswitch; in mlx5_ib_register_peer_vport_reps()
/Linux-v6.6/include/linux/mlx5/
Dtransobj.h72 struct mlx5_core_dev *peer_mdev; member
84 struct mlx5_core_dev *peer_mdev,