aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2017-10-25 20:47:56 +0800
committerDave Wallace <dwallacelf@gmail.com>2017-10-26 20:16:13 +0000
commit8184ebd1dae921489cb494e32f026886a1990b6a (patch)
tree9ca16747911880b5ceab38fdb3376426e0851ce0 /src/vnet
parent5ba86f72439a627f2084bcafb221ad77f4990168 (diff)
Consolidate short_help for classify table with memory-size
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>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/classify/vnet_classify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/classify/vnet_classify.c b/src/vnet/classify/vnet_classify.c
index 57d8674884c..f2fe23b3231 100644
--- a/src/vnet/classify/vnet_classify.c
+++ b/src/vnet/classify/vnet_classify.c
@@ -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,
};