diff options
author | Anton Nikolaev <anikolaev@netgate.com> | 2021-02-17 14:45:40 +0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-04-01 13:06:27 +0000 |
commit | 74a4a70efaa4a3af998cae32ff3612ad7a7fa879 (patch) | |
tree | 9f0c384cacd58a7145000f1e8ead0596f518b938 /src/vnet/ip/reass/ip6_sv_reass.c | |
parent | e4aa2f7fe8db24e0d61d009f30638bc0f1a7713c (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_sv_reass.c')
-rw-r--r-- | src/vnet/ip/reass/ip6_sv_reass.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/ip/reass/ip6_sv_reass.c b/src/vnet/ip/reass/ip6_sv_reass.c index 201e5e9a466..e09173df5ec 100644 --- a/src/vnet/ip/reass/ip6_sv_reass.c +++ b/src/vnet/ip/reass/ip6_sv_reass.c @@ -1158,6 +1158,10 @@ show_ip6_sv_reass (vlib_main_t * vm, unformat_input_t * input, "Maximum configured concurrent shallow virtual IP6 reassemblies per worker-thread: %lu\n", (long unsigned) rm->max_reass_n); vlib_cli_output (vm, + "Maximum configured amount of fragments per shallow " + "virtual IP6 reassembly: %lu\n", + (long unsigned) rm->max_reass_len); + vlib_cli_output (vm, "Maximum configured shallow virtual IP6 reassembly timeout: %lums\n", (long unsigned) rm->timeout_ms); vlib_cli_output (vm, |