[dpdk-dev] [PATCH] drivers/bus: fill driver reference after NXP probing

Thomas Monjalon thomas at monjalon.net
Thu Sep 27 14:40:32 CEST 2018


26/09/2018 10:12, Shreyansh Jain:
> On Wednesday 26 September 2018 12:52 AM, Thomas Monjalon wrote:
> > The probing functions of NXP buses were missing to set
> > the driver used for successfully probing a device.
> > 
> > The NXP driver and the generic rte_driver are now set
> > in the device structures.
> > 
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> > ---
> 
> A part of this was already being done in the drv->probe(), though it was 
>   not complete (dpaa2_dev->driver = dpaa2_drv; was not being done).
> 
> --->8---net/dpaa2/dpaa2_ethdev.c--
> 2008
> 2009         eth_dev->device = &dpaa2_dev->device;
> 2010         eth_dev->device->driver = &dpaa2_drv->driver;
> 2011
> --->8---

I guess we could remove the driver assignment in NXP drivers,
after this patch applied.

> Thank you!
> 
> Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>

Applied




More information about the dev mailing list