DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] common/qat: add vqat definition to pmd map
@ 2023-12-18 13:41 Arkadiusz Kusztal
  2023-12-18 13:41 ` [PATCH 2/2] common/qat: add vqat confiuration macros Arkadiusz Kusztal
  2024-02-18 22:25 ` [PATCH v2] common/qat: add symmetric crypto virtual qat device (vQAT) Arkadiusz Kusztal
  0 siblings, 2 replies; 12+ messages in thread
From: Arkadiusz Kusztal @ 2023-12-18 13:41 UTC (permalink / raw)
  To: dev; +Cc: gakhil, kai.ji, ciara.power, Arkadiusz Kusztal

This commit adds vqat (virtual QAT device) to PMD
PCI ID map.

Signed-off-by: Arkadiusz Kusztal <arkadiuszx.kusztal@intel.com>
---
 drivers/common/qat/qat_common.h | 1 +
 drivers/common/qat/qat_device.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/drivers/common/qat/qat_common.h b/drivers/common/qat/qat_common.h
index 9411a79301..53799ce174 100644
--- a/drivers/common/qat/qat_common.h
+++ b/drivers/common/qat/qat_common.h
@@ -21,6 +21,7 @@ enum qat_device_gen {
 	QAT_GEN2,
 	QAT_GEN3,
 	QAT_GEN4,
+	QAT_VQAT,
 	QAT_N_GENS
 };
 
diff --git a/drivers/common/qat/qat_device.c b/drivers/common/qat/qat_device.c
index f55dc3c6f0..5e00c200a6 100644
--- a/drivers/common/qat/qat_device.c
+++ b/drivers/common/qat/qat_device.c
@@ -199,6 +199,8 @@ pick_gen(const struct rte_pci_device *pci_dev)
 	case 0x4943:
 	case 0x4945:
 		return QAT_GEN4;
+	case 0x0da5:
+		return QAT_VQAT;
 	default:
 		QAT_LOG(ERR, "Invalid dev_id, can't determine generation");
 		return QAT_N_GENS;
-- 
2.13.6


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-03-04  7:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-18 13:41 [PATCH 1/2] common/qat: add vqat definition to pmd map Arkadiusz Kusztal
2023-12-18 13:41 ` [PATCH 2/2] common/qat: add vqat confiuration macros Arkadiusz Kusztal
2024-02-18 22:25 ` [PATCH v2] common/qat: add symmetric crypto virtual qat device (vQAT) Arkadiusz Kusztal
2024-02-21  7:50   ` [PATCH v3] common/qat: add " Arkadiusz Kusztal
2024-02-22 12:20     ` Power, Ciara
2024-02-29 10:21     ` [PATCH v4] " Arkadiusz Kusztal
2024-02-29 10:27       ` Power, Ciara
2024-03-01  6:15       ` [EXTERNAL] " Akhil Goyal
2024-03-01 15:19       ` [PATCH v5] " Arkadiusz Kusztal
2024-03-01 15:24         ` [EXTERNAL] " Akhil Goyal
2024-03-04  7:07           ` Akhil Goyal
2024-03-01 15:48         ` Ji, Kai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).