DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] common/qat: enable gen4 b devices
@ 2021-12-28  9:49 Arek Kusztal
  2022-01-10 10:17 ` Zhang, Roy Fan
  0 siblings, 1 reply; 3+ messages in thread
From: Arek Kusztal @ 2021-12-28  9:49 UTC (permalink / raw)
  To: dev; +Cc: gakhil, roy.fan.zhang, Arek Kusztal

This commit enables CPM2.0b devices in Intel QuickAssist
Technology PMD.

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
---
 doc/guides/cryptodevs/qat.rst          | 2 ++
 doc/guides/rel_notes/release_22_03.rst | 4 ++++
 drivers/common/qat/qat_device.c        | 4 ++++
 3 files changed, 10 insertions(+)

diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index 666a01df33..88a50b2816 100644
--- a/doc/guides/cryptodevs/qat.rst
+++ b/doc/guides/cryptodevs/qat.rst
@@ -377,6 +377,8 @@ to see the full table)
    +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+
    | Yes | No  | No  | 4   | 4xxx     | N/A           | qat_4xxx      | 4xxx       | 4940   | 4    | 4941   | 16     |
    +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+
+   | Yes | No  | No  | 4   | 401xxx   | N/A           | qat_401xxx    | 4xxx       | 4942   | 2    | 4943   | 16     |
+   +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+
 
 * Note: Symmetric mixed crypto algorithms feature on Gen 2 works only with 01.org driver version 4.9.0+
 
diff --git a/doc/guides/rel_notes/release_22_03.rst b/doc/guides/rel_notes/release_22_03.rst
index 6d99d1eaa9..49917d0a4f 100644
--- a/doc/guides/rel_notes/release_22_03.rst
+++ b/doc/guides/rel_notes/release_22_03.rst
@@ -55,6 +55,10 @@ New Features
      Also, make sure to start the actual text at the margin.
      =======================================================
 
+* **Added support for CPM2.0b devices to Intel QuickAssist Technology PMD.**
+
+  * CPM2.0b (4942) devices are now enabled for QAT.
+
 
 Removed Items
 -------------
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.30.2


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

* RE: [PATCH] common/qat: enable gen4 b devices
  2021-12-28  9:49 [PATCH] common/qat: enable gen4 b devices Arek Kusztal
@ 2022-01-10 10:17 ` Zhang, Roy Fan
  2022-02-08 20:56   ` Akhil Goyal
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Roy Fan @ 2022-01-10 10:17 UTC (permalink / raw)
  To: Kusztal, ArkadiuszX, dev; +Cc: gakhil

> -----Original Message-----
> From: Kusztal, ArkadiuszX <arkadiuszx.kusztal@intel.com>
> Sent: Tuesday, December 28, 2021 9:50 AM
> To: dev@dpdk.org
> Cc: gakhil@marvell.com; Zhang, Roy Fan <roy.fan.zhang@intel.com>; Kusztal,
> ArkadiuszX <arkadiuszx.kusztal@intel.com>
> Subject: [PATCH] common/qat: enable gen4 b devices
> 
> This commit enables CPM2.0b devices in Intel QuickAssist
> Technology PMD.
> 
> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> ---
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>

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

* RE: [PATCH] common/qat: enable gen4 b devices
  2022-01-10 10:17 ` Zhang, Roy Fan
@ 2022-02-08 20:56   ` Akhil Goyal
  0 siblings, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2022-02-08 20:56 UTC (permalink / raw)
  To: Zhang, Roy Fan, Kusztal, ArkadiuszX, dev

> > Subject: [PATCH] common/qat: enable gen4 b devices
> >
> > This commit enables CPM2.0b devices in Intel QuickAssist
> > Technology PMD.
> >
> > Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> > ---
> Acked-by: Fan Zhang <roy.fan.zhang@intel.com>

Applied to dpdk-next-crypto


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

end of thread, other threads:[~2022-02-08 20:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-28  9:49 [PATCH] common/qat: enable gen4 b devices Arek Kusztal
2022-01-10 10:17 ` Zhang, Roy Fan
2022-02-08 20:56   ` Akhil Goyal

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).