[dpdk-dev] [PATCH] pktgen-stats/latency: fix RTE version in lib includes

Georgios Katsikas george.dit at gmail.com
Sat Dec 9 00:40:50 CET 2017


---
 app/pktgen-latency.c | 2 +-
 app/pktgen-stats.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/pktgen-latency.c b/app/pktgen-latency.c
index 9c83748..7cfc1d5 100644
--- a/app/pktgen-latency.c
+++ b/app/pktgen-latency.c
@@ -13,7 +13,7 @@
 
 #include "pktgen.h"
 
-#if RTE_VERSION >= RTE_VERSION_NUM(17, 5, 0, 0)
+#if RTE_VERSION >= RTE_VERSION_NUM(17, 11, 0, 0)
 #include <rte_bus_pci.h>
 #endif
 
diff --git a/app/pktgen-stats.c b/app/pktgen-stats.c
index 3ac5f4e..6e2d533 100644
--- a/app/pktgen-stats.c
+++ b/app/pktgen-stats.c
@@ -13,7 +13,7 @@
 
 #include "pktgen.h"
 
-#if RTE_VERSION >= RTE_VERSION_NUM(17, 5, 0, 0)
+#if RTE_VERSION >= RTE_VERSION_NUM(17, 11, 0, 0)
 #include <rte_bus_pci.h>
 #endif
 
-- 
2.7.4



More information about the dev mailing list