Home
last modified time | relevance | path

Searched refs:func_mdev (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c317 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 …]
Den_tc.c539 struct mlx5_core_dev *func_mdev; member
692 err = mlx5_core_alloc_transport_domain(hp->func_mdev, &hp->tdn); in mlx5e_hairpin_create_transport()
697 err = mlx5e_tir_init(&hp->direct_tir, builder, hp->func_mdev, false); in mlx5e_hairpin_create_transport()
706 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_create_transport()
714 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_destroy_transport()
761 err = mlx5e_tir_init(&hp->indir_tir[tt], builder, hp->func_mdev, false); in mlx5e_hairpin_create_indirect_tirs()
763 mlx5_core_warn(hp->func_mdev, "create indirect tirs failed, %d\n", err); in mlx5e_hairpin_create_indirect_tirs()
798 ttc_params->ns = mlx5_get_flow_namespace(hp->func_mdev, in mlx5e_hairpin_set_ttc_params()
860 struct mlx5_core_dev *func_mdev, *peer_mdev; in mlx5e_hairpin_create() local
869 func_mdev = priv->mdev; in mlx5e_hairpin_create()
[all …]
/Linux-v6.1/include/linux/mlx5/
Dtransobj.h71 struct mlx5_core_dev *func_mdev; member
83 mlx5_core_hairpin_create(struct mlx5_core_dev *func_mdev,