Searched refs:func_mdev (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 317 err = mlx5_hairpin_create_rq(hp->func_mdev, params, &hp->rqn[i]); in mlx5_hairpin_create_queues() 336 mlx5_core_destroy_rq(hp->func_mdev, hp->rqn[j]); in mlx5_hairpin_create_queues() 345 mlx5_core_destroy_rq(hp->func_mdev, hp->rqn[i]); in mlx5_hairpin_destroy_queues() 351 static int mlx5_hairpin_modify_rq(struct mlx5_core_dev *func_mdev, u32 rqn, in mlx5_hairpin_modify_rq() argument 368 return mlx5_core_modify_rq(func_mdev, rqn, in); in mlx5_hairpin_modify_rq() 399 MLX5_CAP_GEN(hp->func_mdev, vhca_id), hp->rqn[i]); in mlx5_hairpin_pair_queues() 406 err = mlx5_hairpin_modify_rq(hp->func_mdev, hp->rqn[i], in mlx5_hairpin_pair_queues() 417 mlx5_hairpin_modify_rq(hp->func_mdev, hp->rqn[j], MLX5_RQC_STATE_RDY, in mlx5_hairpin_pair_queues() 442 mlx5_hairpin_modify_rq(hp->func_mdev, hp->rqn[i], MLX5_RQC_STATE_RDY, in mlx5_hairpin_unpair_queues() 450 mlx5_core_hairpin_create(struct mlx5_core_dev *func_mdev, in mlx5_core_hairpin_create() argument [all …]
|
D | en_tc.c | 570 struct mlx5_core_dev *func_mdev; member 730 err = mlx5_core_alloc_transport_domain(hp->func_mdev, &hp->tdn); in mlx5e_hairpin_create_transport() 735 err = mlx5e_tir_init(&hp->direct_tir, builder, hp->func_mdev, false); in mlx5e_hairpin_create_transport() 744 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_create_transport() 752 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_destroy_transport() 801 err = mlx5e_tir_init(&hp->indir_tir[tt], builder, hp->func_mdev, false); in mlx5e_hairpin_create_indirect_tirs() 803 mlx5_core_warn(hp->func_mdev, "create indirect tirs failed, %d\n", err); in mlx5e_hairpin_create_indirect_tirs() 899 struct mlx5_core_dev *func_mdev, *peer_mdev; in mlx5e_hairpin_create() local 908 func_mdev = priv->mdev; in mlx5e_hairpin_create() 915 pair = mlx5_core_hairpin_create(func_mdev, peer_mdev, params); in mlx5e_hairpin_create() [all …]
|
/linux-6.12.1/include/linux/mlx5/ |
D | transobj.h | 71 struct mlx5_core_dev *func_mdev; member 83 mlx5_core_hairpin_create(struct mlx5_core_dev *func_mdev,
|