[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YMEBcqqY5PopjRKq@shredder>
Date: Wed, 9 Jun 2021 20:59:14 +0300
From: Ido Schimmel <idosch@...sch.org>
To: Oleksandr Mazur <oleksandr.mazur@...ision.eu>
Cc: jiri@...dia.com, davem@...emloft.net, kuba@...nel.org,
Vadym Kochan <vkochan@...vell.com>,
Taras Chornyi <tchornyi@...vell.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, nikolay@...dia.com, roopa@...dia.com
Subject: Re: [PATCH net-next 10/11] net: marvell: prestera: add storm control
(rate limiter) implementation
On Wed, Jun 09, 2021 at 06:16:00PM +0300, Oleksandr Mazur wrote:
> Storm control (BUM) provides a mechanism to limit rate of ingress
> port traffic (matched by type). Devlink port parameter API is used:
> driver registers a set of per-port parameters that can be accessed to both
> get/set per-port per-type rate limit.
> Add new FW command - RATE_LIMIT_MODE_SET.
This should be properly modeled in the bridge driver and offloaded to
capable drivers via switchdev. Modeling it as a driver-specific devlink
parameter is wrong.
Powered by blists - more mailing lists