Skip to contentSkip to conversation

crypto/octeontx: fix crypto OOP support

PATCH New Didier Pallard 3 participants 4 messages Oct 23, 2020 – Oct 29, 2020 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 drivers/crypto/octeontx/otx_cryptodev_ops.c | 1 +
 1 file changed, 1 insertion(+)
drivers/crypto/octeontx/otx_cryptodev_ops.c +1 -0
index 14f22e3011a0..05d6dfff7c5a 100644
@@ -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;
Signature · 1 line
2.20.1
#1 lore raw

PATCH v2 1/1 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")

---
v2:
* Add documentation.

 doc/guides/cryptodevs/features/octeontx.ini | 1 +
 drivers/crypto/octeontx/otx_cryptodev_ops.c | 1 +
 2 files changed, 2 insertions(+)
doc/guides/cryptodevs/features/octeontx.ini +1 -0
index 4ce4ff169945..10d94e3f7bde 100644
@@ -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
 
drivers/crypto/octeontx/otx_cryptodev_ops.c +1 -0
index 14f22e3011a0..05d6dfff7c5a 100644
@@ -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;
Signature · 1 line
2.20.1
Acked-by on v2 1/1
#2 lore raw
Quoted 14 lines

-----Original Message-----
From: stable <[email protected]> On Behalf Of Didier Pallard
Sent: Tuesday, October 27, 2020 8:50 PM
To: [email protected]
Cc: [email protected]; Anoob Joseph <[email protected]>; Ragothaman Jayaraman <[email protected]>; Tejasree Kondoj <[email protected]>; Nithin Dabilpuram <[email protected]>; Srisivasubramanian S <[email protected]>; Murthy NSSR <[email protected]>
Subject: [dpdk-stable] [PATCH v2] crypto/octeontx: fix crypto OOP support

Quoted 6 lines

Out of place with linear buffers is supported by octeontx while not advertised.

Fixes 0dc1cffa4d33 ("crypto/octeontx: add hardware init routine")
Quoted 37 lines

---
v2:
* Add documentation.

doc/guides/cryptodevs/features/octeontx.ini | 1 +
drivers/crypto/octeontx/otx_cryptodev_ops.c | 1 +

2 files changed, 2 insertions(+)
doc/guides/cryptodevs/features/octeontx.ini +0 -0
index 4ce4ff169945..10d94e3f7bde 100644
@@ -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

drivers/crypto/octeontx/otx_cryptodev_ops.c +1 -0
index 14f22e3011a0..05d6dfff7c5a 100644
@@ -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