]> git.droids-corp.org - dpdk.git/commitdiff
common/qat: enable GEN4 b devices
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Tue, 28 Dec 2021 09:49:54 +0000 (09:49 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Sat, 12 Feb 2022 09:26:38 +0000 (10:26 +0100)
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>
doc/guides/cryptodevs/qat.rst
doc/guides/rel_notes/release_22_03.rst
drivers/common/qat/qat_device.c

index 666a01df33ea3926bf833b3a0ced7c2cf6ae7db5..88a50b28168eed65ce56d3d4fb3e5f14e7c3abe8 100644 (file)
@@ -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+
 
index 6ca70ffe32b0c88b8caad1a90b15c64167b6d046..93b6de59652a9f1e0e7d6fc2bde1637bd4f346a2 100644 (file)
@@ -131,6 +131,10 @@ New Features
   * Added AES-XCBC support in lookaside protocol (IPsec) for CN9K & CN10K.
   * Added AES-CMAC support in CN9K & CN10K.
 
+* **Added support for CPM2.0b devices to Intel QuickAssist Technology PMD.**
+
+  * CPM2.0b (4942) devices are now enabled for QAT crypto PMD.
+
 * **Added an API to retrieve event port id of ethdev Rx adapter.**
 
   The new API ``rte_event_eth_rx_adapter_event_port_get()`` was added.
index 437996f2e8147e9ac3ff5501b9d57711a0a0b017..1f870d689a1a586dca34e7b8ca09214e9fd9c25b 100644 (file)
@@ -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: