summaryrefslogtreecommitdiffstats
path: root/build/external/patches/dpdk_21.11/0001-common-qat-add-gen4-b-support.patch
diff options
context:
space:
mode:
authorFan Zhang <roy.fan.zhang@intel.com>2022-01-18 15:51:21 +0000
committerDamjan Marion <dmarion@me.com>2022-01-18 18:36:31 +0000
commit1c4415bfa5541200cd35211096461dd52e52771d (patch)
treed77c60a7bd0e960fcfacc581385f6d2267aae10f /build/external/patches/dpdk_21.11/0001-common-qat-add-gen4-b-support.patch
parentc2a6bf0c5001ba293d211196f29646e08eb445ba (diff)
dpdk: add qat gen4-b device support
Type: feature This patch adds the GEN4-b support to DPDK Cryptodev PMD and fixes a problem on its raw api AEAD enqueue. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I3a1a9b0ae51a5725ce9d5265a059e26ceb16c49e
Diffstat (limited to 'build/external/patches/dpdk_21.11/0001-common-qat-add-gen4-b-support.patch')
-rw-r--r--build/external/patches/dpdk_21.11/0001-common-qat-add-gen4-b-support.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/build/external/patches/dpdk_21.11/0001-common-qat-add-gen4-b-support.patch b/build/external/patches/dpdk_21.11/0001-common-qat-add-gen4-b-support.patch
new file mode 100644
index 00000000000..3bb1430883f
--- /dev/null
+++ b/build/external/patches/dpdk_21.11/0001-common-qat-add-gen4-b-support.patch
@@ -0,0 +1,35 @@
+From 939eb3d245e794679abc3c90be035e073a756b78 Mon Sep 17 00:00:00 2001
+From: Fan Zhang <roy.fan.zhang@intel.com>
+Date: Thu, 13 Jan 2022 09:44:46 +0000
+Subject: [PATCH] common/qat: add gen4 b support
+
+Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
+---
+ drivers/common/qat/qat_device.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/drivers/common/qat/qat_device.c b/drivers/common/qat/qat_device.c
+index 437996f2e8..1f870d689a 100644
+--- a/drivers/common/qat/qat_device.c
++++ b/drivers/common/qat/qat_device.c
+@@ -47,6 +47,9 @@ static const struct rte_pci_id pci_id_qat_map[] = {
+ {
+ RTE_PCI_DEVICE(0x8086, 0x4941),
+ },
++ {
++ RTE_PCI_DEVICE(0x8086, 0x4943),
++ },
+ {.device_id = 0},
+ };
+
+@@ -192,6 +195,7 @@ qat_pci_device_allocate(struct rte_pci_device *pci_dev,
+ qat_dev_gen = QAT_GEN3;
+ break;
+ case 0x4941:
++ case 0x4943:
+ qat_dev_gen = QAT_GEN4;
+ break;
+ default:
+--
+2.25.1
+