summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/reass/ip6_full_reass.c
diff options
context:
space:
mode:
authorAnton Nikolaev <anikolaev@netgate.com>2021-02-17 14:45:40 +0500
committerDamjan Marion <dmarion@me.com>2021-04-01 13:06:27 +0000
commit74a4a70efaa4a3af998cae32ff3612ad7a7fa879 (patch)
tree9f0c384cacd58a7145000f1e8ead0596f518b938 /src/vnet/ip/reass/ip6_full_reass.c
parente4aa2f7fe8db24e0d61d009f30638bc0f1a7713c (diff)
ip: extend show cmd of ip reassembly configuration
Type: feature Add output of field maximum reassembly length with others ip reassembly configuration fields. This field can be configured via vpp API, but there was no output of this field in vpp cli. Output added for ipv4/ipv6 and full/shallow virtual nodes. Signed-off-by: Anton Nikolaev <anikolaev@netgate.com> Change-Id: Ibbd61aab26189d4a93d32e047d8f4e589fe9f8a5
Diffstat (limited to 'src/vnet/ip/reass/ip6_full_reass.c')
-rw-r--r--src/vnet/ip/reass/ip6_full_reass.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/ip/reass/ip6_full_reass.c b/src/vnet/ip/reass/ip6_full_reass.c
index fe5c6376882..8403bc5198e 100644
--- a/src/vnet/ip/reass/ip6_full_reass.c
+++ b/src/vnet/ip/reass/ip6_full_reass.c
@@ -1687,6 +1687,10 @@ show_ip6_full_reass (vlib_main_t * vm, unformat_input_t * input,
"Maximum configured concurrent full IP6 reassemblies per worker-thread: %lu\n",
(long unsigned) rm->max_reass_n);
vlib_cli_output (vm,
+ "Maximum configured amount of fragments "
+ "per full IP6 reassembly: %lu\n",
+ (long unsigned) rm->max_reass_len);
+ vlib_cli_output (vm,
"Maximum configured full IP6 reassembly timeout: %lums\n",
(long unsigned) rm->timeout_ms);
vlib_cli_output (vm,