diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-05-22 13:37:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-05-22 13:37:11 +0000 |
commit | c219dcd814551f531b0ee98b5c5d835491f51c85 (patch) | |
tree | 9759920062bf2a405f3c21ca01129bdab1148def | |
parent | 7d93a4e00022cc2a46b4580c8befaa629aae4bfc (diff) | |
parent | ddde35131f8a4dbd13068b8233d417518ae75f8f (diff) |
Merge "[HICN-197] Added further information about the hashtable when executing the commanf hicn show internals"
-rw-r--r-- | hicn-plugin/src/cli.c | 7 |
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", |