[dpdk-dev] [PATCH] cryptodev: decouple from PCI device

Shreyansh Jain shreyansh.jain at nxp.com
Wed Jan 25 05:48:01 CET 2017


On Wednesday 18 January 2017 02:46 PM, Hemant Agrawal wrote:
> 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 at nxp.com>
> ---
>  drivers/crypto/qat/qat_qp.c            | 12 +++++++++---
>  drivers/crypto/qat/rte_qat_cryptodev.c |  6 +++---
>  lib/librte_cryptodev/rte_cryptodev.c   |  6 +++---
>  lib/librte_cryptodev/rte_cryptodev.h   |  4 ++--
>  4 files changed, 17 insertions(+), 11 deletions(-)
>

Next step would be to remove rte_pci_driver from eth_driver
and rte_cryptodev_driver and make it generic.

Reviewed-by: Shreyansh Jain <shreyansh.jain at nxp.com>



More information about the dev mailing list