Searched refs:func_mdev (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 348 err = mlx5_hairpin_create_rq(hp->func_mdev, params, &hp->rqn[i]); in mlx5_hairpin_create_queues() 367 mlx5_core_destroy_rq(hp->func_mdev, hp->rqn[j]); in mlx5_hairpin_create_queues() 376 mlx5_core_destroy_rq(hp->func_mdev, hp->rqn[i]); in mlx5_hairpin_destroy_queues() 382 static int mlx5_hairpin_modify_rq(struct mlx5_core_dev *func_mdev, u32 rqn, in mlx5_hairpin_modify_rq() argument 399 return mlx5_core_modify_rq(func_mdev, rqn, in mlx5_hairpin_modify_rq() 432 MLX5_CAP_GEN(hp->func_mdev, vhca_id), hp->rqn[i]); in mlx5_hairpin_pair_queues() 439 err = mlx5_hairpin_modify_rq(hp->func_mdev, hp->rqn[i], in mlx5_hairpin_pair_queues() 450 mlx5_hairpin_modify_rq(hp->func_mdev, hp->rqn[j], MLX5_RQC_STATE_RDY, in mlx5_hairpin_pair_queues() 466 mlx5_hairpin_modify_rq(hp->func_mdev, hp->rqn[i], MLX5_RQC_STATE_RDY, in mlx5_hairpin_unpair_queues() 478 mlx5_core_hairpin_create(struct mlx5_core_dev *func_mdev, in mlx5_core_hairpin_create() argument [all …]
|
D | en_tc.c | 157 struct mlx5_core_dev *func_mdev; member 460 err = mlx5_core_alloc_transport_domain(hp->func_mdev, &hp->tdn); in mlx5e_hairpin_create_transport() 470 err = mlx5_core_create_tir(hp->func_mdev, in, MLX5_ST_SZ_BYTES(create_tir_in), &hp->tirn); in mlx5e_hairpin_create_transport() 477 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_create_transport() 484 mlx5_core_destroy_tir(hp->func_mdev, hp->tirn); in mlx5e_hairpin_destroy_transport() 485 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_destroy_transport() 553 err = mlx5_core_create_tir(hp->func_mdev, in, in mlx5e_hairpin_create_indirect_tirs() 556 mlx5_core_warn(hp->func_mdev, "create indirect tirs failed, %d\n", err); in mlx5e_hairpin_create_indirect_tirs() 564 mlx5_core_destroy_tir(hp->func_mdev, hp->indir_tirn[i]); in mlx5e_hairpin_create_indirect_tirs() 573 mlx5_core_destroy_tir(hp->func_mdev, hp->indir_tirn[tt]); in mlx5e_hairpin_destroy_indirect_tirs() [all …]
|