Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Imported Upstream version 16.11
[deb_dpdk.git]
/
app
/
test
/
test_lpm6_perf.c
diff --git
a/app/test/test_lpm6_perf.c
b/app/test/test_lpm6_perf.c
index
be47d4a
..
0723081
100644
(file)
--- a/
app/test/test_lpm6_perf.c
+++ b/
app/test/test_lpm6_perf.c
@@
-42,7
+42,7
@@
#include <rte_lpm6.h>
#include "test.h"
#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)) { \
#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);
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);
lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
TEST_LPM_ASSERT(lpm != NULL);