crypto/octeontx2: fix crypto OOP support
PATCH 1/1 crypto/octeontx2: fix crypto OOP support
Out of place with linear buffers is supported by octeontx2 while not advertised.
--- drivers/crypto/octeontx2/otx2_cryptodev.c | 1 + 1 file changed, 1 insertion(+)
drivers/crypto/octeontx2/otx2_cryptodev.c +1 -0
@@ -114,6 +114,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 |
Signature · 1 line
2.20.1
Quoted 8 lines
Subject: [PATCH]
crypto/octeontx2: fix crypto OOP supportOut of place with linear buffers is supported by octeontx2 while not advertised.
Fixes 6aa9ceaddf1d ("crypto/octeontx2: add symmetric capabilities")Signed-off-by Didier Pallard <[email protected]>
Cc below fixes line and then a blank line.
Quoted 17 lines
--- drivers/crypto/octeontx2/otx2_cryptodev.c | 1 + 1 file changed, 1 insertion(+)drivers/crypto/octeontx2/otx2_cryptodev.c +1
-0@@ -114,6 +114,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 |
Quoted 1 line
RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO|
This feature flag is missing in the documentation of the PMD as well. doc/guides/cryptodevs/features/octeontx2.ini
Same comment for http://patches.dpdk.org/patch/81947/
PATCH v2 1/1 crypto/octeontx2: fix crypto OOP support
In reply to Didier PallardOut of place with linear buffers is supported by octeontx2 while not advertised.
---
v2:
* Add documentation.
doc/guides/cryptodevs/features/octeontx2.ini | 1 + drivers/crypto/octeontx2/otx2_cryptodev.c | 1 + 2 files changed, 2 insertions(+)
doc/guides/cryptodevs/features/octeontx2.ini +1 -0
@@ -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
drivers/crypto/octeontx2/otx2_cryptodev.c +1 -0
@@ -114,6 +114,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 |
Signature · 1 line
2.20.1
Hi Ankur/Anoob,
Quoted 10 lines
Subject: [PATCH v2]
crypto/octeontx2: fix crypto OOP supportOut of place with linear buffers is supported by octeontx2 while not advertised.
Fixes 6aa9ceaddf1d ("crypto/octeontx2: add symmetric capabilities")Signed-off-by Didier Pallard <[email protected]>---
Could you please Ack both these otx and otx2 patches.
Quoted 13 lines
-----Original Message-----
From: Didier Pallard <[email protected]>
Sent: Tuesday, October 27, 2020 8:51 PM
To: [email protected]
Cc: [email protected]; Ankur Dwivedi <[email protected]>; Anoob Joseph <[email protected]>; Akhil Goyal <[email protected]>; Tejasree Kondoj <[email protected]>
Subject: [EXT] [PATCH v2]crypto/octeontx2: fix crypto OOP supportExternal Email
Quoted 8 lines
----------------------------------------------------------------------
Out of place with linear buffers is supported by octeontx2 while not advertised.Fixes 6aa9ceaddf1d ("crypto/octeontx2: add symmetric capabilities")Signed-off-by Didier Pallard <[email protected]>
Quoted 38 lines
---
v2:
* Add documentation.doc/guides/cryptodevs/features/octeontx2.ini | 1 +
drivers/crypto/octeontx2/otx2_cryptodev.c| 1 +2 files changed, 2 insertions(+)doc/guides/cryptodevs/features/octeontx2.ini +0
-0@@ -12,6 +12,7 @@ Protocol offload = YIn 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 = Ydrivers/crypto/octeontx2/otx2_cryptodev.c +0
-0@@ -114,6 +114,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|drivers/crypto/octeontx2/otx2_cryptodev.c +1
-0+ 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|
--
2.20.1
Akhil Goyal
AppliedQuoted 10 lines
Quoted 8 lines
----------------------------------------------------------------------
Out of place with linear buffers is supported by octeontx2 while not advertised.Fixes 6aa9ceaddf1d ("crypto/octeontx2: add symmetric capabilities")Signed-off-by Didier Pallard <[email protected]>Acked-by Ankur Dwivedi <[email protected]>Quoted 1 line
---
Applied to dpdk-next-crypto
Thanks.