be5aa65c26
The driver creates an indirect mkey per entry in the queue to manage the crypto operation using the BSF fields. The indirect mkeys were never released neither while error occurs in the creation phase nor when the queue is released. Clean the indirect mkeys in the above cases. Fixes: c2a42d19d967 ("crypto/mlx5: add WQE set initialization") Cc: stable@dpdk.org Signed-off-by: Michael Baum <michaelba@nvidia.com> Acked-by: Matan Azrad <matan@nvidia.com>