[Bridge] [PATCH net-next 06/16] net: bridge: Add a tracepoint for MDB overflows

2023-01-26 Thread Petr Machata via Bridge
The following patch will add two more maximum MDB allowances to the global one, mcast_hash_max, that exists today. In all these cases, attempts to add MDB entries above the configured maximums through netlink, fail noisily and obviously. Such visibility is missing when adding entries through the co

Re: [Bridge] [PATCH net-next 06/16] net: bridge: Add a tracepoint for MDB overflows

2023-01-26 Thread Steven Rostedt
On Thu, 26 Jan 2023 18:01:14 +0100 Petr Machata wrote: > The following patch will add two more maximum MDB allowances to the global > one, mcast_hash_max, that exists today. In all these cases, attempts to add > MDB entries above the configured maximums through netlink, fail noisily and > obvious

Re: [Bridge] [PATCH net-next 06/16] net: bridge: Add a tracepoint for MDB overflows

2023-01-27 Thread Petr Machata via Bridge
Steven Rostedt writes: >> diff --git a/include/trace/events/bridge.h b/include/trace/events/bridge.h >> index 6b200059c2c5..00d5e2dcb3ad 100644 >> --- a/include/trace/events/bridge.h >> +++ b/include/trace/events/bridge.h >> @@ -122,6 +122,73 @@ TRACE_EVENT(br_fdb_update, >>__en

Re: [Bridge] [PATCH net-next 06/16] net: bridge: Add a tracepoint for MDB overflows

2023-01-30 Thread Petr Machata via Bridge
Steven Rostedt writes: > On Thu, 26 Jan 2023 18:01:14 +0100 > Petr Machata wrote: > >> +TP_printk("dev %s af %u src %pI4/%pI6c grp %pI4/%pI6c/%pM vid %u", >> + __get_str(dev), __entry->af, __entry->src4, __entry->src6, >> + __entry->grp4, __entry->grp6, __entry->g

Re: [Bridge] [PATCH net-next 06/16] net: bridge: Add a tracepoint for MDB overflows

2023-01-30 Thread Steven Rostedt
On Mon, 30 Jan 2023 16:50:32 +0100 Petr Machata wrote: > Steven Rostedt writes: > > > On Thu, 26 Jan 2023 18:01:14 +0100 > > Petr Machata wrote: > > > >> + TP_printk("dev %s af %u src %pI4/%pI6c grp %pI4/%pI6c/%pM vid %u", > >> +__get_str(dev), __entry->af, __entry->src4, __entr