blob: 3bb1430883ffccebc967f8da47f10e276f943d29 [file] [log] [blame]
Fan Zhang1c4415b2022-01-18 15:51:21 +00001From 939eb3d245e794679abc3c90be035e073a756b78 Mon Sep 17 00:00:00 2001
2From: Fan Zhang <roy.fan.zhang@intel.com>
3Date: Thu, 13 Jan 2022 09:44:46 +0000
4Subject: [PATCH] common/qat: add gen4 b support
5
6Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
7---
8 drivers/common/qat/qat_device.c | 4 ++++
9 1 file changed, 4 insertions(+)
10
11diff --git a/drivers/common/qat/qat_device.c b/drivers/common/qat/qat_device.c
12index 437996f2e8..1f870d689a 100644
13--- a/drivers/common/qat/qat_device.c
14+++ b/drivers/common/qat/qat_device.c
15@@ -47,6 +47,9 @@ static const struct rte_pci_id pci_id_qat_map[] = {
16 {
17 RTE_PCI_DEVICE(0x8086, 0x4941),
18 },
19+ {
20+ RTE_PCI_DEVICE(0x8086, 0x4943),
21+ },
22 {.device_id = 0},
23 };
24
25@@ -192,6 +195,7 @@ qat_pci_device_allocate(struct rte_pci_device *pci_dev,
26 qat_dev_gen = QAT_GEN3;
27 break;
28 case 0x4941:
29+ case 0x4943:
30 qat_dev_gen = QAT_GEN4;
31 break;
32 default:
33--
342.25.1
35