crypto/qat: add PCI device struct
authorFiona Trahe <fiona.trahe@intel.com>
Wed, 13 Jun 2018 12:14:02 +0000 (14:14 +0200)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 27 Jun 2018 23:25:33 +0000 (01:25 +0200)
commitb2c862d80e93be569b4a7aafeb0b7849d68692c8
treea93d2cec97fc0944829c55d386ddad6451e36855
parent571ffe236ff10e193910f7fe4cbd980eef14076a
crypto/qat: add PCI device struct

- Added struct qat_pci_device to use internally in QAT PMD
   to avoid dependencies on rte_cryptodev or rte_compressdev
 - Added a global array of these
 - Restructured probe/release to separate QAT common init/clear
   from crypto pmd create/destroy.
 - In QAT common part allocated a qat_pci_device and populated it
 - Removed meaningless check in probe for RTE_PROC_PRIMARY

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_device.c
drivers/crypto/qat/qat_device.h
drivers/crypto/qat/rte_qat_cryptodev.c