[dpdk-dev] [PATCH] lib/cryptodev: pass rte driver to REGISTER macro

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Wed Mar 14 12:52:47 CET 2018



> -----Original Message-----
> From: Akhil Goyal [mailto:akhil.goyal at nxp.com]
> Sent: Tuesday, March 13, 2018 12:34 PM
> To: Trahe, Fiona <fiona.trahe at intel.com>; dev at dpdk.org;
> jerin.jacob at caviumnetworks.com; Zhang, Roy Fan
> <roy.fan.zhang at intel.com>; Doherty, Declan <declan.doherty at intel.com>;
> jck at semihalf.com; tdu at semihalf.com; dima at marvell.com;
> nsamsono at marvell.com; jianbo.liu at arm.com; hemant.agrawal at nxp.com;
> ravi1.kumar at amd.com
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Subject: Re: [PATCH] lib/cryptodev: pass rte driver to REGISTER macro
> 
> On 3/9/2018 11:14 PM, Fiona Trahe wrote:
> > Pass an rte_driver to the RTE_PMD_REGISTER_CRYPTO_DRIVER macro
> rather
> > than an unspecified container which holds an rte_driver.
> > All the macro actually needs is the rte_driver, not the container
> > holding it.
> > This paves the way for a later patch in which a driver will be
> > registered which does not naturally derive from a container and so
> > avoids having to create an arbitrary container to pass in the
> > rte_driver.
> >
> > This patch changes the cryptodev lib macro and all the pmds which use
> > it.
> >
> > Signed-off-by: Fiona Trahe <fiona.trahe at intel.com>
> > ---
> 
> Reviewed-by: Akhil Goyal <akhil.goyal at nxp.com>

Applied to dpdk-next-crypto.
Thanks,

Pablo



More information about the dev mailing list