[dpdk-dev] [PATCH v4 06/16] test: include PCI bus header

Gaetan Rivet gaetan.rivet at 6wind.com
Thu Oct 12 10:17:06 CEST 2017


Devices and drivers are now defined within the bus-specific PCI header.
Update test applications.

Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
---
 test/test/test_kni.c    | 1 +
 test/test/virtual_pmd.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/test/test/test_kni.c b/test/test/test_kni.c
index 2450c9f..b956727 100644
--- a/test/test/test_kni.c
+++ b/test/test/test_kni.c
@@ -42,6 +42,7 @@
 #include <rte_string_fns.h>
 #include <rte_mempool.h>
 #include <rte_ethdev.h>
+#include <rte_bus_pci.h>
 #include <rte_cycles.h>
 #include <rte_kni.h>
 
diff --git a/test/test/virtual_pmd.c b/test/test/virtual_pmd.c
index 09daf6c..b57a949 100644
--- a/test/test/virtual_pmd.c
+++ b/test/test/virtual_pmd.c
@@ -34,6 +34,7 @@
 #include <rte_mbuf.h>
 #include <rte_ethdev.h>
 #include <rte_pci.h>
+#include <rte_bus_pci.h>
 #include <rte_malloc.h>
 #include <rte_memcpy.h>
 #include <rte_memory.h>
-- 
2.1.4



More information about the dev mailing list