[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7bLXOfAuBblWbLd@unreal>
Date: Thu, 5 Jan 2023 15:06:36 +0200
From: Leon Romanovsky <leonro@...dia.com>
To: Saeed Mahameed <saeed@...nel.org>
CC: Saeed Mahameed <saeedm@...dia.com>,
Jason Gunthorpe <jgg@...dia.com>, <linux-rdma@...r.kernel.org>,
<netdev@...r.kernel.org>, Jiri Pirko <jiri@...dia.com>
Subject: Re: [PATCH mlx5-next 1/8] net/mlx5e: Fix trap event handling
On Wed, Jan 04, 2023 at 08:17:49PM -0800, Saeed Mahameed wrote:
> From: Jiri Pirko <jiri@...dia.com>
>
> Current code does not return correct return value from event handler.
> Fix it by returning NOTIFY_* and propagate err over newly introduce ctx
> structure.
>
> Signed-off-by: Jiri Pirko <jiri@...dia.com>
> Signed-off-by: Saeed Mahameed <saeedm@...dia.com>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/devlink.c | 9 +++++++--
> drivers/net/ethernet/mellanox/mlx5/core/devlink.h | 5 +++++
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 12 ++++++++----
> 3 files changed, 20 insertions(+), 6 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists