aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-05-22 13:37:11 +0000
committerGerrit Code Review <gerrit@fd.io>2019-05-22 13:37:11 +0000
commitc219dcd814551f531b0ee98b5c5d835491f51c85 (patch)
tree9759920062bf2a405f3c21ca01129bdab1148def
parent7d93a4e00022cc2a46b4580c8befaa629aae4bfc (diff)
parentddde35131f8a4dbd13068b8233d417518ae75f8f (diff)
Merge "[HICN-197] Added further information about the hashtable when executing the commanf hicn show internals"
-rw-r--r--hicn-plugin/src/cli.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/hicn-plugin/src/cli.c b/hicn-plugin/src/cli.c
index 3905e0af1..54344bd7b 100644
--- a/hicn-plugin/src/cli.c
+++ b/hicn-plugin/src/cli.c
@@ -439,9 +439,14 @@ done:
{
vlib_cli_output (vm, "Plugin features: cs:%d\n", HICN_FEATURE_CS);
vlib_cli_output (vm,
- "Removed CS entries (and freed vlib buffers) %d, Removed PIT entries %d",
+ "Removed CS entries (and freed vlib buffers) %d, Removed PIT entries %d\n",
hicn_main.pitcs.pcs_cs_dealloc,
hicn_main.pitcs.pcs_pit_dealloc);
+ vlib_cli_output (vm,
+ "Bucke count %d, Overflow buckets count %d, used %d\n",
+ hicn_main.pitcs.pcs_table->ht_bucket_count,
+ hicn_main.pitcs.pcs_table->ht_overflow_bucket_count,
+ hicn_main.pitcs.pcs_table->ht_overflow_buckets_used);
}
return (ret == HICN_ERROR_NONE) ? 0 : clib_error_return (0, "%s\n",