summaryrefslogtreecommitdiff
path: root/examples/ethtool
diff options
context:
space:
mode:
authorGaetan Rivet <gaetan.rivet@6wind.com>2017-10-26 12:06:08 +0200
committerThomas Monjalon <thomas@monjalon.net>2017-10-26 23:17:31 +0200
commitc752998b5e2eb5c827ffbecc5bd03ea28b14314f (patch)
tree512827085d17cbfef20d469ea10d8c033118aa15 /examples/ethtool
parent3df742a9175a22df2e723927a1ec90efead240d9 (diff)
downloaddpdk-c752998b5e2eb5c827ffbecc5bd03ea28b14314f.zip
dpdk-c752998b5e2eb5c827ffbecc5bd03ea28b14314f.tar.gz
dpdk-c752998b5e2eb5c827ffbecc5bd03ea28b14314f.tar.xz
pci: introduce library and driver
The PCI lib defines the types and methods allowing to use PCI elements. The PCI bus implements a bus driver for PCI devices by constructing rte_bus elements using the PCI lib. Move the relevant code out of the EAL to its expected place. Libraries, drivers, unit tests and applications are updated to use the new rte_bus_pci.h header when necessary. Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Diffstat (limited to 'examples/ethtool')
-rw-r--r--examples/ethtool/lib/rte_ethtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ethtool/lib/rte_ethtool.c b/examples/ethtool/lib/rte_ethtool.c
index 6e30ed8..cbaac73 100644
--- 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