[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180406143021.GK17495@lunn.ch>
Date: Fri, 6 Apr 2018 16:30:21 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: David Miller <davem@...emloft.net>, m-karicheri2@...com,
netdev@...r.kernel.org
Subject: Re: Enable and configure storm prevention in a network device
On Thu, Apr 05, 2018 at 03:35:06PM -0700, Florian Fainelli wrote:
> On 04/05/2018 01:20 PM, David Miller wrote:
> > From: Murali Karicheri <m-karicheri2@...com>
> > Date: Thu, 5 Apr 2018 16:14:49 -0400
> >
> >> Is there a standard way to implement and configure storm prevention
> >> in a Linux network device?
> >
> > What kind of "storm", an interrupt storm?
> >
>
> I would assume Murali is referring to L2 broadcast storms which is
> common in switches. There is not an API for that AFAICT and I am not
> sure what a proper API would look like.
tc?
The Marvell switches have leaky buckets, which can be used for
limiting broadcast and multicast packets, as well as traffic shaping
in general. Storm prevention is just a form of traffic shaping, so if
we have generic traffic shaping, it can be used for storm prevention.
Andrew
Powered by blists - more mailing lists