regex/mlx5: add out of order scan capability
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.
Signed-off-by Ophir Munk <[email protected]>
Acked-by Ori Kam <[email protected]>
---
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
@@ -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
Thomas Monjalon
Applied28/10/2020 14:18, Ophir Munk:
Quoted 5 lines
Add missing out of order scan capability
RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_Fto mlx5 regex PMD.Signed-off-by Ophir Munk <[email protected]>Acked-by Ori Kam <[email protected]>
Applied, thanks