Consolidate short_help for classify table with memory-size 06/9006/3
authorHongjun Ni <hongjun.ni@intel.com>
Wed, 25 Oct 2017 12:47:56 +0000 (20:47 +0800)
committerDave Wallace <dwallacelf@gmail.com>
Thu, 26 Oct 2017 20:16:13 +0000 (20:16 +0000)
When creating 32K classify sessions, VPP crashes.
Default heap size is 2MB.
Need to configure it when requiring large number sessions.

Change-Id: I16678ee4a9e0ba61cbd2d3b38c43d10c59325968
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
src/vnet/classify/vnet_classify.c

index 57d8674..f2fe23b 100644 (file)
@@ -1546,6 +1546,7 @@ VLIB_CLI_COMMAND (classify_table, static) = {
   "classify table [miss-next|l2-miss_next|acl-miss-next <next_index>]"
   "\n mask <mask-value> buckets <nn> [skip <n>] [match <n>]"
   "\n [current-data-flag <n>] [current-data-offset <n>] [table <n>]"
+  "\n [memory-size <nn>[M][G]] [next-table <n>]"
   "\n [del] [del-chain]",
   .function = classify_table_command_fn,
 };