regex/mlx5: fix support for group id
authorOri Kam <orika@nvidia.com>
Thu, 7 Jan 2021 16:57:09 +0000 (18:57 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 19 Jan 2021 17:04:33 +0000 (18:04 +0100)
commit2cace110ea018e49aec4fd75370f2006e711d4d7
tree58ad4b8aa4f0686a85fdaaeedd25e1f86c30bbd3
parentf324162e8e771958861875ecd015c5fbfd728ece
regex/mlx5: fix support for group id

In order to know which groups in the RegEx engine
should be used there is a need to check the req_flags.

This commit adds the missing check.

Fixes: 4d4e245ad637 ("regex/mlx5: support enqueue")
Cc: stable@dpdk.org
Signed-off-by: Ori Kam <orika@nvidia.com>
drivers/regex/mlx5/mlx5_regex_fastpath.c