event/octeontx2: fix crypto adapter queue pair operations
authorShijith Thotton <sthotton@marvell.com>
Mon, 26 Apr 2021 12:21:06 +0000 (17:51 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 29 Apr 2021 08:47:49 +0000 (10:47 +0200)
commit3841fc3581ec4d95bf8a72e8a545db8d03ecd2bd
tree44345bf003414403ef178efdbe920614d5336338
parent32d7dbf269be84cb906979d73ad81b40e28d377a
event/octeontx2: fix crypto adapter queue pair operations

Parameter queue_pair_id of crypto adapter queue pair add/del operation
can be -1 to select all pre configured crypto queue pairs. Added support
for the same in driver. Also added a member in cpt qp structure to
indicate binding state of a queue pair to an event queue.

Fixes: 29768f78d5a7 ("event/octeontx2: add crypto adapter framework")
Cc: stable@dpdk.org
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Ankur Dwivedi <adwivedi@marvell.com>
drivers/crypto/octeontx2/otx2_cryptodev_qp.h
drivers/event/octeontx2/otx2_evdev_crypto_adptr.c