]> git.droids-corp.org - dpdk.git/commit
regex/mlx5: prevent double setup of queue pair
authorAdy Agbarih <adypodoman@gmail.com>
Fri, 22 Oct 2021 15:45:59 +0000 (15:45 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 3 Nov 2021 22:15:10 +0000 (23:15 +0100)
commitb5832a0d1524b31782eb04a6e8f95f952a7eed66
tree6d35df00a52ebc6dc648e3c5a99c4ae0504b34f4
parent02179f82b9cc20e71dd9c6d8be998d5255824d63
regex/mlx5: prevent double setup of queue pair

When mlx5_regex_qp_setup() is called, make sure
the provided QP is not already setup.

Signed-off-by: Ady Agbarih <adypodoman@gmail.com>
Acked-by: Ori Kam <orika@nvidia.com>
drivers/regex/mlx5/mlx5_regex_control.c