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

Akhil Goyal akhil.goyal at nxp.com
Tue Mar 13 13:33:45 CET 2018


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>



More information about the dev mailing list