netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iproute2] ipntable: add missing ndts_table_fulls ntable stat
@ 2020-10-02  9:34 Eyal Birger
  2020-10-06 22:12 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Eyal Birger @ 2020-10-02  9:34 UTC (permalink / raw)
  To: netdev, stephen; +Cc: Eyal Birger

Used for tracking neighbour table overflows.

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
---
 ip/ipntable.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ip/ipntable.c b/ip/ipntable.c
index ddee4905..b5b06a3b 100644
--- a/ip/ipntable.c
+++ b/ip/ipntable.c
@@ -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();
 }
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [iproute2] ipntable: add missing ndts_table_fulls ntable stat
  2020-10-02  9:34 [iproute2] ipntable: add missing ndts_table_fulls ntable stat Eyal Birger
@ 2020-10-06 22:12 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2020-10-06 22:12 UTC (permalink / raw)
  To: Eyal Birger; +Cc: netdev

On Fri,  2 Oct 2020 12:34:28 +0300
Eyal Birger <eyal.birger@gmail.com> wrote:

> Used for tracking neighbour table overflows.
> 
> Signed-off-by: Eyal Birger <eyal.birger@gmail.com>

Looks good, wonder why it wasn't there already.

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-06 22:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-02  9:34 [iproute2] ipntable: add missing ndts_table_fulls ntable stat Eyal Birger
2020-10-06 22:12 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).