[dpdk-dev] [PATCH] app/test: allow building with bonding net driver disabled

Thomas Monjalon thomas at monjalon.net
Mon May 11 21:42:39 CEST 2020


04/05/2020 21:26, Lukasz Wojciechowski:
> W dniu 01.05.2020 o 17:05, Bruce Richardson pisze:
> > The autotest application build was partially enabled for building with
> > the net/bond driver disabled, but a number of items were missed, leading
> > to build errors when the driver was disabled, e.g. by simply doing
> > "-Ddisable_drivers=net/*" when calling meson.
> >
> >    ../app/test/test_link_bonding.c:25:10: fatal error: rte_eth_bond.h: \
> > 	No such file or directory
> >
> > With this fix in place, it's possible to build DPDK with meson with all
> > non-bus, non-mempool drivers disabled i.e. using meson option
> >
> > -Ddisable_drivers=baseband/*,compress/*,crypto/*,event/*,net/*,raw/*,vdpa/*
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---
> * confirmed issue without patch and build flag: -Ddisable_drivers=net/* 
> fails to build
> * with patch applied test app still builds without flags
> * with patch applied test app builds with 
> -Ddisable_drivers=baseband/*,compress/*,crypto/*,event/*,net/*,raw/*,vdpa/*
> 
> Acked-by: Lukasz Wojciechowski <l.wojciechow at partner.samsung.com>
> Tested-by: Lukasz Wojciechowski <l.wojciechow at partner.samsung.com>

Applied, thanks




More information about the dev mailing list