From: Ophir Munk Date: Wed, 28 Oct 2020 13:18:58 +0000 (+0000) Subject: regex/mlx5: add out-of-order scan capability X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c84520053ab32a4578cd9a15ba701aff80274a8e;p=dpdk.git regex/mlx5: add out-of-order scan capability Add missing out of order scan capability RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F to mlx5 regex PMD. Signed-off-by: Ophir Munk Acked-by: Ori Kam --- diff --git a/drivers/regex/mlx5/mlx5_rxp.c b/drivers/regex/mlx5/mlx5_rxp.c index b8fab79988..7936a5235b 100644 --- a/drivers/regex/mlx5/mlx5_rxp.c +++ b/drivers/regex/mlx5/mlx5_rxp.c @@ -116,7 +116,8 @@ mlx5_regex_info_get(struct rte_regexdev *dev __rte_unused, info->max_rules_per_group = MLX5_REGEX_MAX_RULES_PER_GROUP; info->max_groups = MLX5_REGEX_MAX_GROUPS; info->max_queue_pairs = 1; - info->regexdev_capa = RTE_REGEXDEV_SUPP_PCRE_GREEDY_F; + info->regexdev_capa = RTE_REGEXDEV_SUPP_PCRE_GREEDY_F | + RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F; info->rule_flags = 0; info->max_queue_pairs = 10; return 0;