From: Didier Pallard Date: Tue, 27 Oct 2020 15:20:58 +0000 (+0100) Subject: crypto/octeontx2: fix out-of-place support X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8bd1040a708dd1303d1f75a3bd55205b2ec605ce;p=dpdk.git crypto/octeontx2: fix out-of-place support Out of place with linear buffers is supported by octeontx2 while not advertised. Fixes: 6aa9ceaddf1d ("crypto/octeontx2: add symmetric capabilities") Cc: stable@dpdk.org Signed-off-by: Didier Pallard Acked-by: Ankur Dwivedi --- diff --git a/doc/guides/cryptodevs/features/octeontx2.ini b/doc/guides/cryptodevs/features/octeontx2.ini index c7e418d826..b0d50ce984 100644 --- a/doc/guides/cryptodevs/features/octeontx2.ini +++ b/doc/guides/cryptodevs/features/octeontx2.ini @@ -12,6 +12,7 @@ Protocol offload = Y In Place SGL = Y OOP SGL In LB Out = Y OOP SGL In SGL Out = Y +OOP LB In LB Out = Y RSA PRIV OP KEY QT = Y Symmetric sessionless = Y diff --git a/drivers/crypto/octeontx2/otx2_cryptodev.c b/drivers/crypto/octeontx2/otx2_cryptodev.c index 1de04f4a66..e0a559b663 100644 --- a/drivers/crypto/octeontx2/otx2_cryptodev.c +++ b/drivers/crypto/octeontx2/otx2_cryptodev.c @@ -117,6 +117,7 @@ otx2_cpt_pci_probe(struct rte_pci_driver *pci_drv __rte_unused, RTE_CRYPTODEV_FF_HW_ACCELERATED | RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING | RTE_CRYPTODEV_FF_IN_PLACE_SGL | + RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT | RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT | RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT | RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO |