ipntable: add missing ndts_table_fulls ntable stat
Subsystems (2)
Used for tracking neighbour table overflows.
Signed-off-by Eyal Birger <[email protected]>
--- ip/ipntable.c | 5 +++++ 1 file changed, 5 insertions(+)
ip/ipntable.c +5 -0
@@ -517,6 +517,11 @@ static void print_ndtstats(const struct ndt_stats *ndts)print_u64 (PRINT_ANY ,"forced_gc_runs" ,"forced_gc_runs %llu " , ndts->ndts_forced_gc_runs); +print_string (PRINT_FP ,NULL ,"%s " , _SL_); + +print_u64 (PRINT_ANY ,"table_fulls" ,"table_fulls %llu " , + ndts->ndts_table_fulls); +print_nl (); }
Signature · 1 line
2.25.1
Stephen Hemminger
AppliedQuoted 3 lines · On Fri, 2 Oct 2020 12:34:28 +0300 Eyal Birger <[email protected]> wrote:
Used for tracking neighbour table overflows.
Signed-off-by Eyal Birger <[email protected]>
Looks good, wonder why it wasn't there already.
Applied.