[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200330161841.33269a07@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 30 Mar 2020 16:18:41 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Ido Schimmel <idosch@...sch.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, jiri@...lanox.com,
roopa@...ulusnetworks.com, nikolay@...ulusnetworks.com,
andrew@...n.ch, f.fainelli@...il.com, vivien.didelot@...il.com,
mlxsw@...lanox.com, Ido Schimmel <idosch@...lanox.com>
Subject: Re: [PATCH net-next v3 04/15] devlink: Add packet trap group
parameters support
On Mon, 30 Mar 2020 22:38:21 +0300 Ido Schimmel wrote:
> From: Ido Schimmel <idosch@...lanox.com>
>
> Packet trap groups are used to aggregate logically related packet traps.
> Currently, these groups allow user space to batch operations such as
> setting the trap action of all member traps.
>
> In order to prevent the CPU from being overwhelmed by too many trapped
> packets, it is desirable to bind a packet trap policer to these groups.
> For example, to limit all the packets that encountered an exception
> during routing to 10Kpps.
>
> Allow device drivers to bind default packet trap policers to packet trap
> groups when the latter are registered with devlink.
>
> The next patch will enable user space to change this default binding.
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Reviewed-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists