[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241026115740.633503-1-shaojijie@huawei.com>
Date: Sat, 26 Oct 2024 19:57:32 +0800
From: Jijie Shao <shaojijie@...wei.com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <andrew+netdev@...n.ch>, <horms@...nel.org>
CC: <shenjian15@...wei.com>, <wangpeiyang1@...wei.com>,
<liuyonglong@...wei.com>, <chenhao418@...wei.com>, <sudongming1@...wei.com>,
<xujunsheng@...wei.com>, <shiyongbang@...wei.com>, <libaihan@...wei.com>,
<jonathan.cameron@...wei.com>, <shameerali.kolothum.thodi@...wei.com>,
<salil.mehta@...wei.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <shaojijie@...wei.com>
Subject: [PATCH V2 net-next 0/8] Support some features for the HIBMCGE driver
In this patch series, The HIBMCGE driver implements some functions
such as statistics query, dump register, unicast MAC address filtering,
debugfs and reset.
---
ChangeLog:
v1 -> v2:
- Remove debugfs file 'dev_specs' because the dump register
does the same thing, suggested by Andrew.
- Move 'tx timeout cnt' from debugfs to ethtool -S, suggested by Andrew.
- Ignore the error code of the debugfs initialization failure, suggested by Andrew.
- Add a new patch for debugfs file 'irq_info', suggested by Andrew.
- Add somme comments for filtering, suggested by Andrew.
- Not pass back ASCII text in dump register, suggested by Andrew.
v1: https://lore.kernel.org/all/20241023134213.3359092-1-shaojijie@huawei.com/
---
Jijie Shao (8):
net: hibmcge: Add dump statistics supported in this module
net: hibmcge: Add debugfs supported in this module
net: hibmcge: Add irq_info file to debugfs
net: hibmcge: Add unicast frame filter supported in this module
net: hibmcge: Add register dump supported in this module
net: hibmcge: Add pauseparam supported in this module
net: hibmcge: Add reset supported in this module
net: hibmcge: Add nway_reset supported in this module
.../net/ethernet/hisilicon/hibmcge/Makefile | 3 +-
.../ethernet/hisilicon/hibmcge/hbg_common.h | 135 +++++++
.../ethernet/hisilicon/hibmcge/hbg_debugfs.c | 167 ++++++++
.../ethernet/hisilicon/hibmcge/hbg_debugfs.h | 12 +
.../net/ethernet/hisilicon/hibmcge/hbg_err.c | 140 +++++++
.../net/ethernet/hisilicon/hibmcge/hbg_err.h | 13 +
.../ethernet/hisilicon/hibmcge/hbg_ethtool.c | 357 ++++++++++++++++++
.../ethernet/hisilicon/hibmcge/hbg_ethtool.h | 1 +
.../net/ethernet/hisilicon/hibmcge/hbg_hw.c | 48 ++-
.../net/ethernet/hisilicon/hibmcge/hbg_hw.h | 6 +-
.../net/ethernet/hisilicon/hibmcge/hbg_main.c | 276 ++++++++++++--
.../net/ethernet/hisilicon/hibmcge/hbg_reg.h | 136 +++++++
.../net/ethernet/hisilicon/hibmcge/hbg_txrx.c | 171 ++++++++-
13 files changed, 1434 insertions(+), 31 deletions(-)
create mode 100644 drivers/net/ethernet/hisilicon/hibmcge/hbg_debugfs.c
create mode 100644 drivers/net/ethernet/hisilicon/hibmcge/hbg_debugfs.h
create mode 100644 drivers/net/ethernet/hisilicon/hibmcge/hbg_err.c
create mode 100644 drivers/net/ethernet/hisilicon/hibmcge/hbg_err.h
--
2.33.0
Powered by blists - more mailing lists