summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/reass/ip4_sv_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/ip4_sv_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/ip4_sv_reass.c')
-rw-r--r--src/vnet/ip/reass/ip4_sv_reass.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/ip/reass/ip4_sv_reass.c b/src/vnet/ip/reass/ip4_sv_reass.c
index e9582638047..28ebc4d0dc0 100644
--- a/src/vnet/ip/reass/ip4_sv_reass.c
+++ b/src/vnet/ip/reass/ip4_sv_reass.c
@@ -1334,6 +1334,10 @@ show_ip4_reass (vlib_main_t * vm,
"Maximum configured concurrent shallow virtual IP4 reassemblies per worker-thread: %lu\n",
(long unsigned) rm->max_reass_n);
vlib_cli_output (vm,
+ "Maximum configured amount of fragments per shallow "
+ "virtual IP4 reassembly: %lu\n",
+ (long unsigned) rm->max_reass_len);
+ vlib_cli_output (vm,
"Maximum configured shallow virtual IP4 reassembly timeout: %lums\n",
(long unsigned) rm->timeout_ms);
vlib_cli_output (vm,