summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-08-24 17:21:14 -0400
committerDamjan Marion <dmarion@me.com>2018-08-28 18:05:16 +0000
commit9466c45ceed735b0fc2820f0444ba0dfea03a8f1 (patch)
tree3ee1b355492659ceb0201715188b03f11a6a1ed0 /src/vnet
parent4638e94ac3993b93144874edee247cf327a6d65f (diff)
32/64 shmem bihash interoperability
Move the binary api segment above 4gb Change-Id: I40e8aa7a97722a32397f5a538b5ff8344c50d408 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/fib/ip6_fib.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vnet/fib/ip6_fib.c b/src/vnet/fib/ip6_fib.c
index da2f1ea3368..22b47579d3e 100644
--- a/src/vnet/fib/ip6_fib.c
+++ b/src/vnet/fib/ip6_fib.c
@@ -571,12 +571,13 @@ format_ip6_fib_table_memory (u8 * s, va_list * args)
uword bytes_inuse;
bytes_inuse =
- ip6_main.ip6_table[IP6_FIB_TABLE_NON_FWDING].ip6_hash.alloc_arena_next
- - ip6_main.ip6_table[IP6_FIB_TABLE_NON_FWDING].ip6_hash.alloc_arena;
+ alloc_arena_next
+ (&(ip6_main.ip6_table[IP6_FIB_TABLE_NON_FWDING].ip6_hash))
+ - alloc_arena (&(ip6_main.ip6_table[IP6_FIB_TABLE_NON_FWDING].ip6_hash));
bytes_inuse +=
- ip6_main.ip6_table[IP6_FIB_TABLE_FWDING].ip6_hash.alloc_arena_next
- - ip6_main.ip6_table[IP6_FIB_TABLE_FWDING].ip6_hash.alloc_arena;
+ alloc_arena_next(&(ip6_main.ip6_table[IP6_FIB_TABLE_FWDING].ip6_hash))
+ - alloc_arena(&(ip6_main.ip6_table[IP6_FIB_TABLE_FWDING].ip6_hash));
s = format(s, "%=30s %=6d %=8ld\n",
"IPv6 unicast",