[dpdk-stable] patch 'crypto/octeontx2: 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:11 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/73299825e498d41d9b307fe8c262d3f1b6695f8c

Thanks.

Luca Boccassi

---
>From 73299825e498d41d9b307fe8c262d3f1b6695f8c Mon Sep 17 00:00:00 2001
From: Didier Pallard <didier.pallard at 6wind.com>
Date: Tue, 27 Oct 2020 16:20:58 +0100
Subject: [PATCH] crypto/octeontx2: fix out-of-place support

[ upstream commit 8bd1040a708dd1303d1f75a3bd55205b2ec605ce ]

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 <didier.pallard at 6wind.com>
Acked-by: Ankur Dwivedi <adwivedi at marvell.com>
---
 doc/guides/cryptodevs/features/octeontx2.ini | 1 +
 drivers/crypto/octeontx2/otx2_cryptodev.c    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/doc/guides/cryptodevs/features/octeontx2.ini b/doc/guides/cryptodevs/features/octeontx2.ini
index 7d07053cb1..6a205870af 100644
--- a/doc/guides/cryptodevs/features/octeontx2.ini
+++ b/doc/guides/cryptodevs/features/octeontx2.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/octeontx2/otx2_cryptodev.c b/drivers/crypto/octeontx2/otx2_cryptodev.c
index 2323de1f60..8523817847 100644
--- a/drivers/crypto/octeontx2/otx2_cryptodev.c
+++ b/drivers/crypto/octeontx2/otx2_cryptodev.c
@@ -103,6 +103,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 |
-- 
2.27.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-09 18:40:12.130931749 +0000
+++ 0023-crypto-octeontx2-fix-out-of-place-support.patch	2020-11-09 18:40:11.095310722 +0000
@@ -1 +1 @@
-From 8bd1040a708dd1303d1f75a3bd55205b2ec605ce Mon Sep 17 00:00:00 2001
+From 73299825e498d41d9b307fe8c262d3f1b6695f8c Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 8bd1040a708dd1303d1f75a3bd55205b2ec605ce ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index c7e418d826..b0d50ce984 100644
+index 7d07053cb1..6a205870af 100644
@@ -23 +24 @@
-@@ -12,6 +12,7 @@ Protocol offload       = Y
+@@ -11,6 +11,7 @@ HW Accelerated         = Y
@@ -29 +29,0 @@
- Symmetric sessionless  = Y
@@ -30,0 +31 @@
+ ;
@@ -32 +33 @@
-index 1de04f4a66..e0a559b663 100644
+index 2323de1f60..8523817847 100644
@@ -35 +36 @@
-@@ -117,6 +117,7 @@ otx2_cpt_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
+@@ -103,6 +103,7 @@ otx2_cpt_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,


More information about the stable mailing list