Skip to contentSkip to conversation

ipntable: add missing ndts_table_fulls ntable stat

iproute2 Applied Eyal Birger 2 participants 2 messages Oct 2, 2020 – Oct 6, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Used for tracking neighbour table overflows.

---
 ip/ipntable.c | 5 +++++
 1 file changed, 5 insertions(+)
ip/ipntable.c +5 -0
index ddee4905..b5b06a3b 100644
@@ -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