[v1] regex/mlx5: add out of order scan capability
Checks
Commit Message
Add missing out of order scan capability
RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F to mlx5 regex PMD.
Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
---
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(-)
Comments
28/10/2020 14:18, Ophir Munk:
> Add missing out of order scan capability
> RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F to mlx5 regex PMD.
>
> Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
> Acked-by: Ori Kam <orika@nvidia.com>
Applied, thanks
@@ -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;