cryptodev: decouple from PCI device
authorHemant Agrawal <hemant.agrawal@nxp.com>
Wed, 18 Jan 2017 09:16:10 +0000 (14:46 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 30 Jan 2017 16:23:33 +0000 (17:23 +0100)
commit3b84878c4bd44aaae79ea049fb1ee99b68f67c39
treebb87fbdf7dba9caa529e58bb1e450f70af39778a
parentb815872e70b90e1d498cd3a0bf001b8546bcff63
cryptodev: decouple from PCI device

This makes struct rte_cryptodev independent of struct rte_pci_device by
replacing it with a pointer to the generic struct rte_device.

This is inline with the recent changes in ethdev

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: John Griffin <john.griffin@intel.com>
Reviewed-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/crypto/qat/qat_qp.c
drivers/crypto/qat/rte_qat_cryptodev.c
lib/librte_cryptodev/rte_cryptodev.c
lib/librte_cryptodev/rte_cryptodev.h