> -----Original Message----- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Tuesday, March 13, 2018 12:34 PM > To: Trahe, Fiona <fiona.tr...@intel.com>; dev@dpdk.org; > jerin.ja...@caviumnetworks.com; Zhang, Roy Fan > <roy.fan.zh...@intel.com>; Doherty, Declan <declan.dohe...@intel.com>; > j...@semihalf.com; t...@semihalf.com; d...@marvell.com; > nsams...@marvell.com; jianbo....@arm.com; hemant.agra...@nxp.com; > ravi1.ku...@amd.com > Cc: De Lara Guarch, Pablo <pablo.de.lara.gua...@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.tr...@intel.com> > > --- > > Reviewed-by: Akhil Goyal <akhil.go...@nxp.com>
Applied to dpdk-next-crypto. Thanks, Pablo