[dpdk-dev] [PATCH v2 1/5] test: fix unneeded routes table include from lpm test

Bruce Richardson bruce.richardson at intel.com
Thu Jul 14 18:06:18 CEST 2016


The large routing table header file in only needed by the performance
tests and not by the functional tests to remove the include of
test_lpm_routes.h from test_lpm.c.

Fixes: 62dac65a3265 ("app/test: isolate lpm performance cases")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 app/test/test_lpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_lpm.c b/app/test/test_lpm.c
index f6930fb..8d1bae9 100644
--- a/app/test/test_lpm.c
+++ b/app/test/test_lpm.c
@@ -36,9 +36,9 @@
 #include <stdlib.h>
 
 #include <rte_lpm.h>
+#include <rte_ip.h>
 
 #include "test.h"
-#include "test_lpm_routes.h"
 #include "test_xmmt_ops.h"
 
 #define TEST_LPM_ASSERT(cond) do {                                            \
-- 
2.5.5



More information about the dev mailing list