Lines Matching refs:cdev
237 struct mlx5_common_device *cdev = priv->sh->cdev; in mlx5_rxq_create_devx_rq_resources() local
251 mlx5_ts_format_conv(cdev->config.hca_attr.rq_ts_format); in mlx5_rxq_create_devx_rq_resources()
278 rq_attr.wq_attr.pd = cdev->pdn; in mlx5_rxq_create_devx_rq_resources()
285 return mlx5_devx_rq_create(cdev->ctx, &rxq->devx_rq, wqe_size, in mlx5_rxq_create_devx_rq_resources()
369 ret = mlx5_devx_cq_create(sh->cdev->ctx, &rxq_ctrl->obj->cq_obj, in mlx5_rxq_create_devx_cq_resources()
423 priv->sh->cdev->config.hca_attr.log_max_hairpin_wq_data_sz; in mlx5_rxq_obj_hairpin_new()
446 tmpl->rq = mlx5_devx_cmd_create_rq(priv->sh->cdev->ctx, &attr, in mlx5_rxq_obj_hairpin_new()
487 (priv->sh->cdev->ctx, in mlx5_rxq_devx_obj_new()
632 ind_tbl->rqt = mlx5_devx_cmd_create_rqt(priv->sh->cdev->ctx, rqt_attr); in mlx5_devx_ind_table_new()
813 hrxq->tir = mlx5_devx_cmd_create_tir(priv->sh->cdev->ctx, &tir_attr); in mlx5_devx_hrxq_new()
1144 priv->sh->cdev->config.hca_attr.log_max_hairpin_wq_data_sz; in mlx5_txq_obj_hairpin_new()
1166 tmpl->sq = mlx5_devx_cmd_create_sq(priv->sh->cdev->ctx, &attr); in mlx5_txq_obj_hairpin_new()
1211 struct mlx5_common_device *cdev = priv->sh->cdev; in mlx5_txq_create_devx_sq_resources() local
1220 .min_wqe_inline_mode = cdev->config.hca_attr.vport_inline_mode, in mlx5_txq_create_devx_sq_resources()
1225 .pd = cdev->pdn, in mlx5_txq_create_devx_sq_resources()
1229 mlx5_ts_format_conv(cdev->config.hca_attr.sq_ts_format), in mlx5_txq_create_devx_sq_resources()
1234 return mlx5_devx_sq_create(cdev->ctx, &txq_obj->sq_obj, in mlx5_txq_create_devx_sq_resources()
1293 ret = mlx5_devx_cq_create(sh->cdev->ctx, &txq_obj->cq_obj, log_desc_n, in mlx5_txq_devx_obj_new()
1352 txq_data->db_heu = sh->cdev->config.dbnc == MLX5_SQ_DB_HEURISTIC; in mlx5_txq_devx_obj_new()
1355 sh->cdev->config.hca_attr.wait_on_time); in mlx5_txq_devx_obj_new()