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

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Wed Jan 25 10:07:56 CET 2017



> -----Original Message-----
> From: Shreyansh Jain [mailto:shreyansh.jain at nxp.com]
> Sent: Wednesday, January 25, 2017 4:48 AM
> To: dev at dpdk.org
> Cc: Hemant Agrawal; thomas.monjalon at 6wind.com; Doherty, Declan; De
> Lara Guarch, Pablo; jblunck at infradead.org
> Subject: Re: [PATCH] cryptodev: decouple from PCI device
> 
> 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>

Applied to dpdk-next-crypto.
Thanks,

Pablo


More information about the dev mailing list