All of lore.kernel.org
 help / color / mirror / Atom feed
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 1/4] net: hns3: move dump regs function to a separate file
Date: Tue, 15 Aug 2023 21:25:58 +0300	[thread overview]
Message-ID: <20230815182558.GP22185@unreal> (raw)
In-Reply-To: <20230815060641.3551665-2-shaojijie@huawei.com>

On Tue, Aug 15, 2023 at 02:06:38PM +0800, Jijie Shao wrote:
> The dump register function is being refactored.
> The first step in refactoring is put the dump regs function
> into a separate file.
> 
> Signed-off-by: Jijie Shao <shaojijie@huawei.com>
> ---
>  drivers/net/ethernet/hisilicon/hns3/Makefile  |   4 +-
>  .../hisilicon/hns3/hns3pf/hclge_debugfs.c     |   1 +
>  .../hisilicon/hns3/hns3pf/hclge_main.c        | 558 +----------------
>  .../hisilicon/hns3/hns3pf/hclge_main.h        |   2 -
>  .../hisilicon/hns3/hns3pf/hclge_regs.c        | 567 ++++++++++++++++++
>  .../hisilicon/hns3/hns3pf/hclge_regs.h        |  17 +
>  .../hisilicon/hns3/hns3vf/hclgevf_main.c      | 121 +---
>  .../hisilicon/hns3/hns3vf/hclgevf_main.h      |   1 +
>  .../hisilicon/hns3/hns3vf/hclgevf_regs.c      | 127 ++++
>  .../hisilicon/hns3/hns3vf/hclgevf_regs.h      |  13 +
>  10 files changed, 731 insertions(+), 680 deletions(-)
>  create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
>  create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.h
>  create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.c
>  create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.h
> 

Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>

  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 [this message]
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
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=20230815182558.GP22185@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.