[dpdk-stable] [PATCH 18.11] crypto/octeontx: fix out-of-place support
Olivier Matz
olivier.matz at 6wind.com
Wed Dec 2 15:40:51 CET 2020
From: Didier Pallard <didier.pallard at 6wind.com>
[ upstream commit 16c011472df0f9bc4a6f3fc21dabacc274e4ad1e ]
Out of place with linear buffers is supported by octeontx
while not advertised.
Fixes: 0dc1cffa4d33 ("crypto/octeontx: add hardware init routine")
Cc: stable at dpdk.org
Signed-off-by: Didier Pallard <didier.pallard at 6wind.com>
Acked-by: Ankur Dwivedi <adwivedi at marvell.com>
Conflicts:
doc/guides/cryptodevs/features/octeontx.ini
drivers/crypto/octeontx/otx_cryptodev_ops.c
Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
---
doc/guides/cryptodevs/features/octeontx.ini | 1 +
drivers/crypto/octeontx/otx_cryptodev_ops.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/doc/guides/cryptodevs/features/octeontx.ini b/doc/guides/cryptodevs/features/octeontx.ini
index 1735b8f5ad..1a2738259c 100644
--- a/doc/guides/cryptodevs/features/octeontx.ini
+++ b/doc/guides/cryptodevs/features/octeontx.ini
@@ -10,6 +10,7 @@ HW Accelerated = Y
In Place SGL = Y
OOP SGL In LB Out = Y
OOP SGL In SGL Out = Y
+OOP LB In LB Out = Y
;
; Supported crypto algorithms of 'octeontx' crypto driver.
diff --git a/drivers/crypto/octeontx/otx_cryptodev_ops.c b/drivers/crypto/octeontx/otx_cryptodev_ops.c
index 90d0c14b88..583e50f165 100644
--- a/drivers/crypto/octeontx/otx_cryptodev_ops.c
+++ b/drivers/crypto/octeontx/otx_cryptodev_ops.c
@@ -509,6 +509,7 @@ otx_cpt_dev_create(struct rte_cryptodev *c_dev)
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;
--
2.25.1
More information about the stable
mailing list