Imported Upstream version 16.11
[deb_dpdk.git] / app / test / test_lpm6.c
index 0fd0ef7..61134f7 100644 (file)
@@ -40,7 +40,7 @@
 #include <rte_lpm6.h>
 
 #include "test.h"
-#include "test_lpm6_routes.h"
+#include "test_lpm6_data.h"
 
 #define TEST_LPM_ASSERT(cond) do {                                            \
        if (!(cond)) {                                                        \
@@ -1597,6 +1597,9 @@ test25(void)
                TEST_LPM_ASSERT(status == 0);
        }
 
+       /* generate large IPS table and expected next_hops */
+       generate_large_ips_table(1);
+
        for (i = 0; i < 100000; i++) {
                memcpy(ip, large_ips_table[i].ip, 16);
                next_hop_expected = large_ips_table[i].next_hop;