Home
last modified time | relevance | path

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

/dpdk/drivers/regex/mlx5/
H A Dmlx5_regex_control.c29 #define MLX5_REGEX_WQE_LOG_NUM(has_umr, log_desc) \ argument
30 ((has_umr) ? ((log_desc) + 2) : (log_desc))
153 attr.num_of_send_wqbbs = RTE_BIT32(MLX5_REGEX_WQE_LOG_NUM(priv->has_umr, in regex_ctrl_create_hw_qp()
221 qp->cq.log_nb_desc = log_desc + (!!priv->has_umr); in mlx5_regex_qp_setup()
225 (1 << MLX5_REGEX_WQE_LOG_NUM(priv->has_umr, log_desc)); in mlx5_regex_qp_setup()
H A Dmlx5_regex_fastpath.c118 (MLX5_SEND_WQE_BB << (priv->has_umr ? 2 : 0)) + in __prep_one()
119 (priv->has_umr ? MLX5_REGEX_UMR_WQE_SIZE : 0); in __prep_one()
141 (priv->has_umr ? (pi * 4 + 3) : pi), in __prep_one()
175 (priv->has_umr ? MLX5_REGEX_UMR_WQE_SIZE : 0); in send_doorbell()
190 (has_umr ? (MLX5_REGEX_MAX_WQE_INDEX >> 2) : in get_free()
381 nb_desc = get_free(qp_obj, priv->has_umr); in mlx5_regexdev_enqueue_gga()
415 while (get_free(qp_obj, priv->has_umr)) { in mlx5_regexdev_enqueue()
541 if (priv->has_umr) in mlx5_regexdev_dequeue()
580 if (priv->has_umr) { in setup_qps()
641 if (priv->has_umr) { in setup_buffers()
[all …]
H A Dmlx5_regex.c115 priv->has_umr = 1; in mlx5_regex_dev_probe()
116 if (priv->has_umr) in mlx5_regex_dev_probe()
124 priv->has_umr ? "supported" : "unsupported"); in mlx5_regex_dev_probe()
H A Dmlx5_regex.h60 uint8_t has_umr; /* The device supports UMR. */ member