From: Leon Romanovsky <leon@kernel.org>
To: Jijie Shao <shaojijie@huawei.com>
Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, shenjian15@huawei.com, wangjie125@huawei.com,
liuyonglong@huawei.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 4/4] net: hns3: fix wrong rpu tln reg issue
Date: Tue, 15 Aug 2023 21:26:27 +0300 [thread overview]
Message-ID: <20230815182627.GS22185@unreal> (raw)
In-Reply-To: <20230815060641.3551665-5-shaojijie@huawei.com>
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@huawei.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@nvidia.com>
next prev parent reply other threads:[~2023-08-15 18:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-15 6:06 [PATCH net-next 0/4] refactor registers information for ethtool -d Jijie Shao
2023-08-15 6:06 ` [PATCH net-next 1/4] net: hns3: move dump regs function to a separate file Jijie Shao
2023-08-15 18:25 ` Leon Romanovsky
2023-08-15 6:06 ` [PATCH net-next 2/4] net: hns3: Support tlv in regs data for HNS3 PF driver Jijie Shao
2023-08-15 18:26 ` Leon Romanovsky
2023-08-15 6:06 ` [PATCH net-next 3/4] net: hns3: Support tlv in regs data for HNS3 VF driver Jijie Shao
2023-08-15 18:26 ` Leon Romanovsky
2023-08-15 6:06 ` [PATCH net-next 4/4] net: hns3: fix wrong rpu tln reg issue Jijie Shao
2023-08-15 18:26 ` Leon Romanovsky [this message]
2023-08-16 9:00 ` [PATCH net-next 0/4] refactor registers information for ethtool -d patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230815182627.GS22185@unreal \
--to=leon@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liuyonglong@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=salil.mehta@huawei.com \
--cc=shaojijie@huawei.com \
--cc=shenjian15@huawei.com \
--cc=wangjie125@huawei.com \
--cc=yisen.zhuang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).