X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_lpm6_perf.c;h=0723081bb5f8c1194d8c2e2093c22d92d1e9ecdd;hb=ca41215c051a1f4f6f96e947ccb671dab3509cbf;hp=be47d4a18de70f0b2c3405fe04183a3b63393451;hpb=26e09db6cb5fd9bbf0feb928561af9932694574b;p=dpdk.git diff --git a/app/test/test_lpm6_perf.c b/app/test/test_lpm6_perf.c index be47d4a18d..0723081bb5 100644 --- a/app/test/test_lpm6_perf.c +++ b/app/test/test_lpm6_perf.c @@ -42,7 +42,7 @@ #include #include "test.h" -#include "test_lpm6_routes.h" +#include "test_lpm6_data.h" #define TEST_LPM_ASSERT(cond) do { \ if (!(cond)) { \ @@ -100,6 +100,11 @@ test_lpm6_perf(void) print_route_distribution(large_route_table, (uint32_t) NUM_ROUTE_ENTRIES); + /* Only generate IPv6 address of each item in large IPS table, + * here next_hop is not needed. + */ + generate_large_ips_table(0); + lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config); TEST_LPM_ASSERT(lpm != NULL);