Home
last modified time | relevance | path

Searched refs:log_nb_desc (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/regex/mlx5/
H A Dmlx5_regex_control.c85 ret = mlx5_devx_cq_create(priv->cdev->ctx, &cq->cq_obj, cq->log_nb_desc, in regex_ctrl_create_cq()
134 uint16_t q_ind, uint16_t log_nb_desc) in regex_ctrl_create_hw_qp() argument
148 qp_obj->log_nb_desc = log_nb_desc; in regex_ctrl_create_hw_qp()
154 log_nb_desc)); in regex_ctrl_create_hw_qp()
176 (void)log_nb_desc; in regex_ctrl_create_hw_qp()
221 qp->cq.log_nb_desc = log_desc + (!!priv->has_umr); in mlx5_regex_qp_setup()
H A Dmlx5_regex.h21 uint16_t log_nb_desc; /* Log 2 number of desc for this object. */ member
29 uint32_t log_nb_desc; /* Log 2 number of desc for this object. */ member
H A Dmlx5_regex_fastpath.c48 return (1U << qp->log_nb_desc); in qp_size_get()
54 return (1U << cq->log_nb_desc); in cq_size_get()
/dpdk/drivers/crypto/mlx5/
H A Dmlx5_crypto.c597 uint16_t log_nb_desc = rte_log2_u32(qp_conf->nb_descriptors); in mlx5_crypto_queue_pair_setup() local
610 RTE_BIT32(log_nb_desc); in mlx5_crypto_queue_pair_setup()
618 if (mlx5_devx_cq_create(priv->cdev->ctx, &qp->cq_obj, log_nb_desc, in mlx5_crypto_queue_pair_setup()
623 log_wqbb_n = rte_log2_u32(RTE_BIT32(log_nb_desc) * in mlx5_crypto_queue_pair_setup()
654 qp->ops = (struct rte_crypto_op **)(qp->mkey + RTE_BIT32(log_nb_desc)); in mlx5_crypto_queue_pair_setup()
655 qp->entries_n = 1 << log_nb_desc; in mlx5_crypto_queue_pair_setup()