crypto/cnxk: enable allocated queues only
authorShijith Thotton <sthotton@marvell.com>
Fri, 17 Dec 2021 09:19:49 +0000 (14:49 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 21 Jan 2022 08:40:01 +0000 (09:40 +0100)
commit2ff2a87d8a49ba4ba9ff55fc29a0743d23f80b61
treef9e5f322a0dc4dcc3bcb370c9cd504c1b548c734
parent7536e124f08bee9a0d7614f014710a66aa24294d
crypto/cnxk: enable allocated queues only

Only enable/disable queue pairs that are allocated during cryptodev
start/stop.

Fixes: 52008104e9a6 ("crypto/cnxk: update instruction queue in start/stop")
Cc: stable@dpdk.org
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/crypto/cnxk/cnxk_cryptodev_ops.c