[dpdk-stable] patch 'crypto/qat: disable asymmetric crypto on GEN3' has been queued to stable release 20.11.3
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Aug 3 14:22:11 CEST 2021
Hi,
FYI, your patch has been queued to stable release 20.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/05/21. 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/853a9877165c214756e92658f2f535525f309e02
Thanks.
Luca Boccassi
---
>From 853a9877165c214756e92658f2f535525f309e02 Mon Sep 17 00:00:00 2001
From: Arek Kusztal <arkadiuszx.kusztal at intel.com>
Date: Wed, 28 Jul 2021 17:18:31 +0100
Subject: [PATCH] crypto/qat: disable asymmetric crypto on GEN3
[ upstream commit 135e3a4046793e7f68a96d61fc6f0c03c365863c ]
This patch disables asymmetric crypto PMD on GEN3 devices.
Fixes: 1f5e4053f9b4 ("common/qat: support GEN3 devices")
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>
Acked-by: Fan Zhang <roy.fan.zhang at intel.com>
---
drivers/crypto/qat/qat_asym_pmd.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/crypto/qat/qat_asym_pmd.c b/drivers/crypto/qat/qat_asym_pmd.c
index a2c8aca2c1..ef47e28112 100644
--- a/drivers/crypto/qat/qat_asym_pmd.c
+++ b/drivers/crypto/qat/qat_asym_pmd.c
@@ -251,6 +251,10 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev,
struct rte_cryptodev *cryptodev;
struct qat_asym_dev_private *internals;
+ if (qat_pci_dev->qat_dev_gen == QAT_GEN3) {
+ QAT_LOG(ERR, "Asymmetric crypto PMD not supported on QAT c4xxx");
+ return -EFAULT;
+ }
snprintf(name, RTE_CRYPTODEV_NAME_MAX_LEN, "%s_%s",
qat_pci_dev->name, "asym");
QAT_LOG(DEBUG, "Creating QAT ASYM device %s\n", name);
--
2.30.2
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2021-08-03 12:35:09.073796006 +0100
+++ 0022-crypto-qat-disable-asymmetric-crypto-on-GEN3.patch 2021-08-03 12:35:08.242819288 +0100
@@ -1 +1 @@
-From 135e3a4046793e7f68a96d61fc6f0c03c365863c Mon Sep 17 00:00:00 2001
+From 853a9877165c214756e92658f2f535525f309e02 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 135e3a4046793e7f68a96d61fc6f0c03c365863c ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index d844dd85bf..0c25cce09e 100644
+index a2c8aca2c1..ef47e28112 100644
@@ -21,4 +22,4 @@
-@@ -255,6 +255,10 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev,
- QAT_LOG(ERR, "Asymmetric crypto PMD not supported on QAT 4xxx");
- return -EFAULT;
- }
+@@ -251,6 +251,10 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev,
+ struct rte_cryptodev *cryptodev;
+ struct qat_asym_dev_private *internals;
+
More information about the stable
mailing list