diff options
author | Neale Ranns <nranns@cisco.com> | 2016-10-02 21:20:15 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-10-03 19:15:01 +0000 |
commit | 6c3ebcc2bfd36a5835a99225ad667e4403293ffb (patch) | |
tree | 2ffe666ec31629b3580c1cc51d166d17a15340d8 /vnet/vnet/adj/adj.h | |
parent | 5499b1968e1d12b736dd3e30b8fb2b69a300128f (diff) |
FIB Memory Usage Diagnostics
add two new CLI commands:
show fib memory
show dpo memory
to display the memory usage of the FIB and DPO object types respectively.
Change-Id: I759e149a0b6fbb58d59c139362221dc33531cffa
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'vnet/vnet/adj/adj.h')
-rw-r--r-- | vnet/vnet/adj/adj.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnet/vnet/adj/adj.h b/vnet/vnet/adj/adj.h index 3a1236497e1..002dab359ab 100644 --- a/vnet/vnet/adj/adj.h +++ b/vnet/vnet/adj/adj.h @@ -77,9 +77,9 @@ extern void adj_child_remove(adj_index_t adj_index, /** * @brief - * The global adjacnecy heap. Exposed for fast/inline data-plane access + * The global adjacnecy pool. Exposed for fast/inline data-plane access */ -extern ip_adjacency_t *adj_heap; +extern ip_adjacency_t *adj_pool; /** * @brief @@ -94,7 +94,7 @@ extern vlib_combined_counter_main_t adjacency_counters; static inline ip_adjacency_t * adj_get (adj_index_t adj_index) { - return (vec_elt_at_index(adj_heap, adj_index)); + return (vec_elt_at_index(adj_pool, adj_index)); } #endif |