From 259310f3a9841124f03ec7747025651f5c2c22c1 Mon Sep 17 00:00:00 2001 From: Fiona Trahe Date: Mon, 3 Apr 2017 15:13:21 +0100 Subject: [PATCH] crypto/qat: support device D15xx Add support for Intel QuickAssist Technology device D15xx Signed-off-by: Fiona Trahe Acked-by: Deepak Kumar Jain Acked-by: John McNamara --- doc/guides/cryptodevs/qat.rst | 9 ++++++--- drivers/crypto/qat/rte_qat_cryptodev.c | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst index 0c4730d90d..39f03222ee 100644 --- a/doc/guides/cryptodevs/qat.rst +++ b/doc/guides/cryptodevs/qat.rst @@ -36,6 +36,7 @@ hardware accelerator devices: * ``Intel QuickAssist Technology DH895xCC`` * ``Intel QuickAssist Technology C62x`` * ``Intel QuickAssist Technology C3xxx`` +* ``Intel QuickAssist Technology D15xx`` Features @@ -123,12 +124,14 @@ available kernel drivers and device ids are : +----------+--------+---------------+------------+--------+---------+--------+------------+ | C3xxx | 4.5+ | qat_c3xxx | c3xxx | 19e2 | 1 | 19e3 | 16 | +----------+--------+---------------+------------+--------+---------+--------+------------+ + | D15xx | p | qat_d15xx | d15xx | 6f54 | 1 | 6f55 | 16 | + +----------+--------+---------------+------------+--------+---------+--------+------------+ The ``Driver`` column indicates either the Linux kernel version in which support for this device was introduced or a driver available on Intel's 01.org website. There are both linux and 01.org kernel drivers available for some -devices. +devices. p = release pending. If you are running on a kernel which includes a driver for your device, see `Installation using kernel.org driver`_ below. Otherwise see @@ -328,8 +331,8 @@ adjust the unbind command below:: done; \ done -For Intel(R) QuickAssist Technology C3xxx device -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +For Intel(R) QuickAssist Technology C3xxx or D15xx device +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The unbind command below assumes ``BDFs`` of ``01:01.00-01:02.07``, if your VFs are different adjust the unbind command below:: diff --git a/drivers/crypto/qat/rte_qat_cryptodev.c b/drivers/crypto/qat/rte_qat_cryptodev.c index 06b85aa293..353df69c78 100644 --- a/drivers/crypto/qat/rte_qat_cryptodev.c +++ b/drivers/crypto/qat/rte_qat_cryptodev.c @@ -88,6 +88,9 @@ static const struct rte_pci_id pci_id_qat_map[] = { { RTE_PCI_DEVICE(0x8086, 0x19e3), }, + { + RTE_PCI_DEVICE(0x8086, 0x6f55), + }, {.device_id = 0}, }; -- 2.20.1