Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
IP6-MFIB: replace the radix tree with bihash (VPP-1526)
[vpp.git]
/
src
/
vpp
/
stats
/
stats_to_be_deprecated.c
diff --git
a/src/vpp/stats/stats_to_be_deprecated.c
b/src/vpp/stats/stats_to_be_deprecated.c
index
7097427
..
08117a1
100644
(file)
--- a/
src/vpp/stats/stats_to_be_deprecated.c
+++ b/
src/vpp/stats/stats_to_be_deprecated.c
@@
-2005,7
+2005,7
@@
do_ip6_fib_counters (stats_main_t * sm)
u32 items_this_message;
vl_api_ip6_fib_counter_t *ctrp = 0;
u32 start_at_fib_index = 0;
u32 items_this_message;
vl_api_ip6_fib_counter_t *ctrp = 0;
u32 start_at_fib_index = 0;
-
BVT (clib_bihash) *
h = &im6->ip6_table[IP6_FIB_TABLE_FWDING].ip6_hash;
+
clib_bihash_24_8_t *
h = &im6->ip6_table[IP6_FIB_TABLE_FWDING].ip6_hash;
add_routes_in_fib_arg_t _a, *a = &_a;
int i;
add_routes_in_fib_arg_t _a, *a = &_a;
int i;
@@
-2049,7
+2049,7
@@
again:
if (clib_setjmp (&sm->jmp_buf, 0) == 0)
{
start_at_fib_index = fib - im6->fibs;
if (clib_setjmp (&sm->jmp_buf, 0) == 0)
{
start_at_fib_index = fib - im6->fibs;
-
BV (clib_bihash_foreach_key_value_pair)
(h, add_routes_in_fib, a);
+
clib_bihash_foreach_key_value_pair_24_8
(h, add_routes_in_fib, a);
}
else
{
}
else
{