X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest%2Ftest_lpm6_perf.c;fp=app%2Ftest%2Ftest_lpm6_perf.c;h=30be430f7c519911db77cf80abc4e91f5fb45c8b;hb=7595afa4d30097c1177b69257118d8ad89a539be;hp=0723081bb5f8c1194d8c2e2093c22d92d1e9ecdd;hpb=ce3d555e43e3795b5d9507fcfc76b7a0a92fd0d6;p=deb_dpdk.git diff --git a/app/test/test_lpm6_perf.c b/test/test/test_lpm6_perf.c similarity index 98% rename from app/test/test_lpm6_perf.c rename to test/test/test_lpm6_perf.c index 0723081b..30be430f 100644 --- a/app/test/test_lpm6_perf.c +++ b/test/test/test_lpm6_perf.c @@ -86,7 +86,7 @@ test_lpm6_perf(void) struct rte_lpm6_config config; uint64_t begin, total_time; unsigned i, j; - uint8_t next_hop_add = 0xAA, next_hop_return = 0; + uint32_t next_hop_add = 0xAA, next_hop_return = 0; int status = 0; int64_t count = 0; @@ -148,7 +148,7 @@ test_lpm6_perf(void) count = 0; uint8_t ip_batch[NUM_IPS_ENTRIES][16]; - int16_t next_hops[NUM_IPS_ENTRIES]; + int32_t next_hops[NUM_IPS_ENTRIES]; for (i = 0; i < NUM_IPS_ENTRIES; i++) memcpy(ip_batch[i], large_ips_table[i].ip, 16);