[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230815182627.GS22185@unreal>
Date: Tue, 15 Aug 2023 21:26:27 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Jijie Shao <shaojijie@...wei.com>
Cc: yisen.zhuang@...wei.com, salil.mehta@...wei.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, shenjian15@...wei.com, wangjie125@...wei.com,
liuyonglong@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 4/4] net: hns3: fix wrong rpu tln reg issue
On Tue, Aug 15, 2023 at 02:06:41PM +0800, Jijie Shao wrote:
> In the original RPU query command, the status register values of
> multiple RPU tunnels are accumulated by default, which is unreasonable.
> This patch Fix it by querying the specified tunnel ID.
> The tunnel number of the device can be obtained from firmware
> during initialization.
>
> Fixes: ddb54554fa51 ("net: hns3: add DFX registers information for ethtool -d")
> Signed-off-by: Jijie Shao <shaojijie@...wei.com>
> ---
> drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 +
> .../hisilicon/hns3/hns3pf/hclge_cmd.h | 4 +-
> .../hisilicon/hns3/hns3pf/hclge_main.c | 2 +
> .../hisilicon/hns3/hns3pf/hclge_regs.c | 66 ++++++++++++++++++-
> 4 files changed, 71 insertions(+), 2 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists