[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180409151831.GD562@lunn.ch>
Date: Mon, 9 Apr 2018 17:18:31 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Murali Karicheri <m-karicheri2@...com>
Cc: Florian Fainelli <f.fainelli@...il.com>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: Enable and configure storm prevention in a network device
> > 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.
> >
> TI's CPSW hardware as well has similar capability to limit broadcast and
> multicast packets at the ingress. Isn't it a traffic policing at the Ingress
> rather than traffic shaping as the hardware drops the frames at the ingress
> if the rate exceeds a limit?
Hi Murali
It depends on the generation of Marvell switches. Older ones have just
egress traffic shaping. Newer ones also have ingress rate limiting.
Andrew
Powered by blists - more mailing lists