[dpdk-dev] [PATCH v8 23/25] pci: introduce PCI lib and bus
Thomas Monjalon
thomas at monjalon.net
Thu Oct 26 17:56:11 CEST 2017
26/10/2017 12:06, Gaetan Rivet:
> Libraries, drivers, unit tests and applications are updated to use the
> new rte_bus_pci.h header when necessary.
Few compilation fixes:
--- a/drivers/crypto/qat/qat_crypto.c
+++ b/drivers/crypto/qat/qat_crypto.c
@@ -60,6 +60,7 @@
#include <rte_crypto_sym.h>
#include <rte_byteorder.h>
#include <rte_pci.h>
+#include <rte_bus_pci.h>
#include <openssl/evp.h>
--- a/drivers/net/bnx2x/bnx2x.h
+++ b/drivers/net/bnx2x/bnx2x.h
@@ -18,6 +18,7 @@
#include <rte_byteorder.h>
#include <rte_spinlock.h>
+#include <rte_bus_pci.h>
#include <rte_io.h>
#if RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN
--- a/examples/ethtool/lib/rte_ethtool.c
+++ b/examples/ethtool/lib/rte_ethtool.c
@@ -37,6 +37,7 @@
#include <rte_ethdev.h>
#include <rte_ether.h>
#include <rte_pci.h>
+#include <rte_bus_pci.h>
#ifdef RTE_LIBRTE_IXGBE_PMD
#include <rte_pmd_ixgbe.h>
#endif
--- a/examples/ip_pipeline/init.c
+++ b/examples/ip_pipeline/init.c
@@ -49,6 +49,7 @@
#include <rte_ip.h>
#include <rte_eal.h>
#include <rte_malloc.h>
+#include <rte_bus_pci.h>
#include "app.h"
#include "pipeline.h"
--- a/examples/kni/main.c
+++ b/examples/kni/main.c
@@ -62,6 +62,7 @@
#include <rte_branch_prediction.h>
#include <rte_interrupts.h>
#include <rte_pci.h>
+#include <rte_bus_pci.h>
#include <rte_debug.h>
#include <rte_ether.h>
#include <rte_ethdev.h>
More information about the dev
mailing list