From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [PATCH net-next v2 06/10] net: dsa: lan9303: added sysfs node swe_bcst_throt Date: Thu, 27 Jul 2017 15:32:02 +0200 Message-ID: <20170727133202.GA1875@nanopsycho> References: <20170725161553.30147-1-privat@egil-hjelmeland.no> <20170725161553.30147-7-privat@egil-hjelmeland.no> <20170726171423.GQ12049@lunn.ch> <20170727132625.GA18666@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Egil Hjelmeland , corbet@lwn.net, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, davem@davemloft.net, kernel@pengutronix.de, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Andrew Lunn Return-path: Content-Disposition: inline In-Reply-To: <20170727132625.GA18666@lunn.ch> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Thu, Jul 27, 2017 at 03:26:25PM CEST, andrew@lunn.ch wrote: >> Yes, this setting can be used to reduce effect of broadcast storms. > >So one way to solve this is to teach the software bridge about >broadcast storm control. Put some rate limiting into its broadcast >flood handling. Then add a switchdev call which passes this down into >the switch. > >Or look at doing it via TC. It is just a filter selecting broadcast >traffic and applying some shaping, which is what TC is all about. Ack. This is probably the way to do this. Definitelly no sysfs knob... > >Generic solutions which can be used by all switches are likely to be >accepted. > > Andrew