]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
ipntable: add missing ndts_table_fulls ntable stat
authorEyal Birger <eyal.birger@gmail.com>
Fri, 2 Oct 2020 09:34:28 +0000 (12:34 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 6 Oct 2020 22:07:10 +0000 (15:07 -0700)
Used for tracking neighbour table overflows.

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipntable.c

index ddee4905df088e306296ce77e0410672bea37423..b5b06a3b06fad31a0967247b45f74f7841fd1117 100644 (file)
@@ -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();
 }