[dpdk-stable] patch 'crypto/octeontx: fix out-of-place support' has been queued to stable release 19.11.6

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Nov 9 19:40:10 CET 2020


Hi,

FYI, your patch has been queued to stable release 19.11.6

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/11/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/31d465f92cdd307a811f259147161ce9bcece7fd

Thanks.

Luca Boccassi

---
>From 31d465f92cdd307a811f259147161ce9bcece7fd Mon Sep 17 00:00:00 2001
From: Didier Pallard <didier.pallard at 6wind.com>
Date: Tue, 27 Oct 2020 16:19:43 +0100
Subject: [PATCH] crypto/octeontx: fix out-of-place support

[ upstream commit 16c011472df0f9bc4a6f3fc21dabacc274e4ad1e ]

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

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

Signed-off-by: Didier Pallard <didier.pallard at 6wind.com>
Acked-by: Ankur Dwivedi <adwivedi at marvell.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 1c036c5baf..629e6bfc41 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
 
 ;
diff --git a/drivers/crypto/octeontx/otx_cryptodev_ops.c b/drivers/crypto/octeontx/otx_cryptodev_ops.c
index ba56b212b9..4eadb773ef 100644
--- a/drivers/crypto/octeontx/otx_cryptodev_ops.c
+++ b/drivers/crypto/octeontx/otx_cryptodev_ops.c
@@ -905,6 +905,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;
 		break;
-- 
2.27.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-09 18:40:12.091901741 +0000
+++ 0022-crypto-octeontx-fix-out-of-place-support.patch	2020-11-09 18:40:11.095310722 +0000
@@ -1 +1 @@
-From 16c011472df0f9bc4a6f3fc21dabacc274e4ad1e Mon Sep 17 00:00:00 2001
+From 31d465f92cdd307a811f259147161ce9bcece7fd Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 16c011472df0f9bc4a6f3fc21dabacc274e4ad1e ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 4ce4ff1699..10d94e3f7b 100644
+index 1c036c5baf..629e6bfc41 100644
@@ -29 +29,0 @@
- Symmetric sessionless  = Y
@@ -30,0 +31 @@
+ ;
@@ -32 +33 @@
-index 14f22e3011..05d6dfff7c 100644
+index ba56b212b9..4eadb773ef 100644
@@ -35 +36 @@
-@@ -985,6 +985,7 @@ otx_cpt_dev_create(struct rte_cryptodev *c_dev)
+@@ -905,6 +905,7 @@ otx_cpt_dev_create(struct rte_cryptodev *c_dev)
@@ -41,2 +42,2 @@
- 				RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT |
- 				RTE_CRYPTODEV_FF_SYM_SESSIONLESS;
+ 				RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT;
+ 		break;


More information about the stable mailing list