[dpdk-dev] [PATCH] eal: Fix device registration on FreeBSD

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Mar 27 12:01:51 CEST 2017


2017-03-27 11:34, Shreyansh Jain:
> On Wednesday 22 March 2017 12:02 AM, Ben Walker wrote:
> > The FreeBSD implementation wasn't registering new devices
> > with the device framework on start up. However, common
> > code attempts to unregister them on shutdown which causes
> > a SEGFAULT. This fix makes the FreeBSD code do the same
> > thing as the Linux code for registration.
> >
> > Signed-off-by: Ben Walker <benjamin.walker at intel.com>
> > ---
> >  lib/librte_eal/bsdapp/eal/eal_pci.c | 6 ++++--
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> I can't vouch for BSD as I don't have that environment to verify. But, 
> the patch looks fine to me as compared to Linux changes.
> 
> so, if my Ack makes sense:
> 
> Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>

Applied, thanks


More information about the dev mailing list