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

Stephen Hemminger stephen at networkplumber.org
Wed Jan 25 05:54:18 CET 2017


On Wed, 25 Jan 2017 10:18:01 +0530
Shreyansh Jain <shreyansh.jain at nxp.com> wrote:

> 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>
> 

Agreed. 


More information about the dev mailing list