Re: [PATCH net-next v2 06/10] net: dsa: lan9303: added sysfs node swe_bcst_throt
From: Jiri Pirko
Date: Thu Jul 27 2017 - 09:32:16 EST
Thu, Jul 27, 2017 at 03:26:25PM CEST, andrew@xxxxxxx 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