Searched refs:peer_mdev (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 323 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 …]
|
D | en_tc.c | 899 struct mlx5_core_dev *func_mdev, *peer_mdev; in mlx5e_hairpin_create() local 909 peer_mdev = mlx5e_hairpin_get_mdev(dev_net(priv->netdev), peer_ifindex); in mlx5e_hairpin_create() 910 if (IS_ERR(peer_mdev)) { in mlx5e_hairpin_create() 911 err = PTR_ERR(peer_mdev); in mlx5e_hairpin_create() 915 pair = mlx5_core_hairpin_create(func_mdev, peer_mdev, params); in mlx5e_hairpin_create() 991 dev_name(hpe->hp->pair->peer_mdev->device)); in mlx5e_hairpin_put() 1101 struct mlx5_core_dev *peer_mdev; in mlx5e_hairpin_flow_add() local 1108 peer_mdev = mlx5e_hairpin_get_mdev(dev_net(priv->netdev), peer_ifindex); in mlx5e_hairpin_flow_add() 1109 if (IS_ERR(peer_mdev)) { in mlx5e_hairpin_flow_add() 1111 return PTR_ERR(peer_mdev); in mlx5e_hairpin_flow_add() [all …]
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | ib_rep.c | 177 struct mlx5_core_dev *peer_mdev; in mlx5_ib_vport_rep_unload() local 180 mlx5_lag_for_each_peer_mdev(mdev, peer_mdev, i) { in mlx5_ib_vport_rep_unload() 181 esw = peer_mdev->priv.eswitch; in mlx5_ib_vport_rep_unload() 197 struct mlx5_core_dev *peer_mdev; in mlx5_ib_register_peer_vport_reps() local 201 mlx5_lag_for_each_peer_mdev(mdev, peer_mdev, i) { in mlx5_ib_register_peer_vport_reps() 202 esw = peer_mdev->priv.eswitch; in mlx5_ib_register_peer_vport_reps()
|
/linux-6.12.1/include/linux/mlx5/ |
D | transobj.h | 72 struct mlx5_core_dev *peer_mdev; member 84 struct mlx5_core_dev *peer_mdev,
|