git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lpm6: extend next hop field
[dpdk.git]
/
test
/
test
/
test_lpm6_perf.c
diff --git
a/test/test/test_lpm6_perf.c
b/test/test/test_lpm6_perf.c
index
0723081
..
30be430
100644
(file)
--- a/
test/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;
struct rte_lpm6_config config;
uint64_t begin, total_time;
unsigned i, j;
- uint
8
_t next_hop_add = 0xAA, next_hop_return = 0;
+ uint
32
_t next_hop_add = 0xAA, next_hop_return = 0;
int status = 0;
int64_t count = 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];
count = 0;
uint8_t ip_batch[NUM_IPS_ENTRIES][16];
- int
16
_t next_hops[NUM_IPS_ENTRIES];
+ int
32
_t next_hops[NUM_IPS_ENTRIES];
for (i = 0; i < NUM_IPS_ENTRIES; i++)
memcpy(ip_batch[i], large_ips_table[i].ip, 16);
for (i = 0; i < NUM_IPS_ENTRIES; i++)
memcpy(ip_batch[i], large_ips_table[i].ip, 16);