Skip to contentSkip to conversation

regex/mlx5: add out of order scan capability

PATCH Applied Ophir Munk 2 participants 2 messages Oct 28, 2020 – Nov 3, 2020

lore
Share & tools
lore

Ophir Munk

author
#0 lore raw

PATCH 1/1 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.

---
Depends-on: patch-81673 ("regexdev: add OOS capability definition") `
Depends-on: patch-81509 ("app/regex: configure qp according to device capabilities")

 drivers/regex/mlx5/mlx5_rxp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/regex/mlx5/mlx5_rxp.c +2 -1
index b8fab79..7936a52 100644
@@ -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;
Signature · 1 line
2.8.4