[v2] crypto/octeontx: fix crypto OOP support
diff mbox series

Message ID 20201027151943.9177-1-didier.pallard@6wind.com
State Accepted
Delegated to: akhil goyal
Headers show
Series
  • [v2] crypto/octeontx: fix crypto OOP support
Related show

Checks

Context Check Description
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-testing success Testing PASS
ci/travis-robot success Travis build: passed
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Didier Pallard Oct. 27, 2020, 3:19 p.m. UTC
Out of place with linear buffers is supported by octeontx
while not advertised.

Fixes: 0dc1cffa4d33 ("crypto/octeontx: add hardware init routine")
Cc: stable@dpdk.org

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
---
v2:
 * Add documentation.

 doc/guides/cryptodevs/features/octeontx.ini | 1 +
 drivers/crypto/octeontx/otx_cryptodev_ops.c | 1 +
 2 files changed, 2 insertions(+)

Comments

Ankur Dwivedi Oct. 29, 2020, 2:36 p.m. UTC | #1
>-----Original Message-----
>From: stable <stable-bounces@dpdk.org> On Behalf Of Didier Pallard
>Sent: Tuesday, October 27, 2020 8:50 PM
>To: dev@dpdk.org
>Cc: stable@dpdk.org; Anoob Joseph <anoobj@marvell.com>; Ragothaman
>Jayaraman <rjayaraman@caviumnetworks.com>; Tejasree Kondoj
><kondoj.tejasree@caviumnetworks.com>; Nithin Dabilpuram
><nithin.dabilpuram@caviumnetworks.com>; Srisivasubramanian S
><ssrinivasan@caviumnetworks.com>; Murthy NSSR
><nidadavolu.murthy@caviumnetworks.com>
>Subject: [dpdk-stable] [PATCH v2] crypto/octeontx: fix crypto OOP support
>
>Out of place with linear buffers is supported by octeontx while not advertised.
>
>Fixes: 0dc1cffa4d33 ("crypto/octeontx: add hardware init routine")
>Cc: stable@dpdk.org
>
>Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: Ankur Dwivedi <adwivedi@marvell.com>
>---
>v2:
> * Add documentation.
>
> 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 4ce4ff169945..10d94e3f7bde 100644
>--- a/doc/guides/cryptodevs/features/octeontx.ini
>+++ b/doc/guides/cryptodevs/features/octeontx.ini
>@@ -11,6 +11,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
> RSA PRIV OP KEY QT     = Y
> Symmetric sessionless  = Y
>
>diff --git a/drivers/crypto/octeontx/otx_cryptodev_ops.c
>b/drivers/crypto/octeontx/otx_cryptodev_ops.c
>index 14f22e3011a0..05d6dfff7c5a 100644
>--- a/drivers/crypto/octeontx/otx_cryptodev_ops.c
>+++ b/drivers/crypto/octeontx/otx_cryptodev_ops.c
>@@ -985,6 +985,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 |
> 				RTE_CRYPTODEV_FF_SYM_SESSIONLESS;
>--
>2.20.1
Akhil Goyal Oct. 29, 2020, 2:51 p.m. UTC | #2
> Subject: [dpdk-dev] [PATCH v2] crypto/octeontx: fix crypto OOP support
> 
> Out of place with linear buffers is supported by octeontx
> while not advertised.
> 
> Fixes: 0dc1cffa4d33 ("crypto/octeontx: add hardware init routine")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
> ---
Applied to dpdk-next-crypto

Thanks.

Patch
diff mbox series

diff --git a/doc/guides/cryptodevs/features/octeontx.ini b/doc/guides/cryptodevs/features/octeontx.ini
index 4ce4ff169945..10d94e3f7bde 100644
--- a/doc/guides/cryptodevs/features/octeontx.ini
+++ b/doc/guides/cryptodevs/features/octeontx.ini
@@ -11,6 +11,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
 RSA PRIV OP KEY QT     = Y
 Symmetric sessionless  = Y
 
diff --git a/drivers/crypto/octeontx/otx_cryptodev_ops.c b/drivers/crypto/octeontx/otx_cryptodev_ops.c
index 14f22e3011a0..05d6dfff7c5a 100644
--- a/drivers/crypto/octeontx/otx_cryptodev_ops.c
+++ b/drivers/crypto/octeontx/otx_cryptodev_ops.c
@@ -985,6 +985,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 |
 				RTE_CRYPTODEV_FF_SYM_SESSIONLESS;