[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230815182558.GP22185@unreal>
Date: Tue, 15 Aug 2023 21:25:58 +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 1/4] net: hns3: move dump regs function to a
separate file
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@...wei.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@...dia.com>
Powered by blists - more mailing lists