cryptodev: set PCI info only when device is PCI
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 21 Jun 2017 06:28:22 +0000 (07:28 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 28 Jun 2017 17:59:22 +0000 (19:59 +0200)
commit5a7af3bb9881ff6a07ee61100409fcc5301f3705
tree29b0b7147e93e40b012fff526180f5ce6fdffb92
parent708d07847fd0a9f95d5ba51e22f6c3a68644a493
cryptodev: set PCI info only when device is PCI

Do not set PCI information in the device information structure
for any crypto device, just for the ones that are PCI, so
this is set internally in the PCI crypto PMDs (only QAT now).

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/crypto/qat/qat_crypto.c
lib/librte_cryptodev/rte_cryptodev.c