[dpdk-dev] [PATCH] examples: remove dependency on PCI

Bruce Richardson bruce.richardson at intel.com
Fri Nov 3 15:08:15 CET 2017


On Fri, Nov 03, 2017 at 01:46:27PM +0000, Bruce Richardson wrote:
> All PCI functionality should be hidden from apps via the PCI bus driver,
> the EAL and individual device drivers. Therefore remove the inclusion of
> rte_pci.h from sample apps.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Note, this patch will also fix the build of many sample apps on the
next-build tree. Currently, building samples as part of a full DPDK
build will error out on many examples, as they are not set to depend
upon libpci. An alternative for next-build is to add pci as a
standard dependency for sample apps, but as a fix, it's quick, tidy and
sadly wrong! :-)

Therefore, please consider this patch for 17.11rc3.

Thanks,
/Bruce


More information about the dev mailing list