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
bus/pci: fix UIO resource access from secondary process
[dpdk.git]
/
app
/
test
/
test_lpm6_data.h
diff --git
a/app/test/test_lpm6_data.h
b/app/test/test_lpm6_data.h
index
565138a
..
c3894f7
100644
(file)
--- a/
app/test/test_lpm6_data.h
+++ b/
app/test/test_lpm6_data.h
@@
-1029,8
+1029,7
@@
static struct rules_tbl_entry large_route_table[] = {
{{234, 149, 220, 106, 0, 144, 214, 128, 35, 102, 0, 0, 0, 0, 0, 0}, 79, 106},
};
{{234, 149, 220, 106, 0, 144, 214, 128, 35, 102, 0, 0, 0, 0, 0, 0}, 79, 106},
};
-#define NUM_ROUTE_ENTRIES \
- (sizeof(large_route_table) / sizeof(large_route_table[0]))
+#define NUM_ROUTE_ENTRIES RTE_DIM(large_route_table)
#define NUM_IPS_ENTRIES (NUM_ROUTE_ENTRIES * 100)
#define NUM_IPS_ENTRIES (NUM_ROUTE_ENTRIES * 100)