[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200330162023.0c8e8283@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 30 Mar 2020 16:20:23 -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 05/15] devlink: Allow setting of packet trap
group parameters
On Mon, 30 Mar 2020 22:38:22 +0300 Ido Schimmel wrote:
> From: Ido Schimmel <idosch@...lanox.com>
>
> The previous patch allowed device drivers to publish their default
> binding between packet trap policers and packet trap groups. However,
> some users might not be content with this binding and would like to
> change it.
>
> In case user space passed a packet trap policer identifier when setting
> a packet trap group, invoke the appropriate device driver callback and
> pass the new policer identifier.
>
> v2:
> * Check for presence of 'DEVLINK_ATTR_TRAP_POLICER_ID' in
> devlink_trap_group_set() and bail if not present
> * Add extack error message in case trap group was partially modified
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Acked-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists