netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V7 net-next 0/7] Support some features for the HIBMCGE driver
@ 2024-12-12 14:23 Jijie Shao
  2024-12-12 14:23 ` [PATCH V7 net-next 1/7] net: hibmcge: Add debugfs supported in this module Jijie Shao
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Jijie Shao @ 2024-12-12 14:23 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, andrew+netdev, horms, gregkh
  Cc: shenjian15, wangpeiyang1, liuyonglong, chenhao418, sudongming1,
	xujunsheng, shiyongbang, libaihan, jonathan.cameron,
	shameerali.kolothum.thodi, salil.mehta, netdev, linux-kernel,
	shaojijie, hkelam

In this patch series, The HIBMCGE driver implements some functions
such as dump register, unicast MAC address filtering, debugfs and reset.

---
ChangeLog:
v6 -> v7:
  - Optimize the wrapper name, suggested by Jakub.
  - Delete table_overflow to simplify the code, suggested by Jakub.
  v6: https://lore.kernel.org/all/20241210134855.2864577-1-shaojijie@huawei.com/
v5 -> v6:
  - Drop debugfs_create_devm_dir() helper, suggested by Greg KH.
  v5: https://lore.kernel.org/all/20241206111629.3521865-1-shaojijie@huawei.com/
v4 -> v5:
  - Add debugfs_create_devm_dir() helper, suggested by Jakub.
  - Simplify reset logic by optimizing release and re-hold rtnl lock, suggested by Jakub.
  v4: https://lore.kernel.org/all/20241203150131.3139399-1-shaojijie@huawei.com/
v3 -> v4:
  - Support auto-neg pause, suggested by Andrew.
  v3: https://lore.kernel.org/all/20241111145558.1965325-1-shaojijie@huawei.com/
v2 -> v3:
  -  Not not dump in ethtool statistics which can be accessed via standard APIs,
     suggested by Jakub. The relevant patche is removed from this patch series,
     and the statistically relevant patches will be sent separately.
  v2: https://lore.kernel.org/all/20241026115740.633503-1-shaojijie@huawei.com/
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 (7):
  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   |  29 +++
 .../ethernet/hisilicon/hibmcge/hbg_debugfs.c  | 160 ++++++++++++++
 .../ethernet/hisilicon/hibmcge/hbg_debugfs.h  |  12 ++
 .../net/ethernet/hisilicon/hibmcge/hbg_err.c  | 134 ++++++++++++
 .../net/ethernet/hisilicon/hibmcge/hbg_err.h  |  13 ++
 .../ethernet/hisilicon/hibmcge/hbg_ethtool.c  | 181 ++++++++++++++++
 .../net/ethernet/hisilicon/hibmcge/hbg_hw.c   |  48 ++++-
 .../net/ethernet/hisilicon/hibmcge/hbg_hw.h   |   6 +-
 .../net/ethernet/hisilicon/hibmcge/hbg_main.c | 199 ++++++++++++++++--
 .../net/ethernet/hisilicon/hibmcge/hbg_mdio.c |  15 ++
 .../net/ethernet/hisilicon/hibmcge/hbg_reg.h  |  39 ++++
 12 files changed, 811 insertions(+), 28 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-12-16  3:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-12 14:23 [PATCH V7 net-next 0/7] Support some features for the HIBMCGE driver Jijie Shao
2024-12-12 14:23 ` [PATCH V7 net-next 1/7] net: hibmcge: Add debugfs supported in this module Jijie Shao
2024-12-15 21:44   ` Jakub Kicinski
2024-12-16  3:21     ` Jijie Shao
2024-12-12 14:23 ` [PATCH V7 net-next 2/7] net: hibmcge: Add irq_info file to debugfs Jijie Shao
2024-12-12 14:23 ` [PATCH V7 net-next 3/7] net: hibmcge: Add unicast frame filter supported in this module Jijie Shao
2024-12-12 14:23 ` [PATCH V7 net-next 4/7] net: hibmcge: Add register dump " Jijie Shao
2024-12-12 14:23 ` [PATCH V7 net-next 5/7] net: hibmcge: Add pauseparam " Jijie Shao
2024-12-12 14:23 ` [PATCH V7 net-next 6/7] net: hibmcge: Add reset " Jijie Shao
2024-12-12 14:23 ` [PATCH V7 net-next 7/7] net: hibmcge: Add nway_reset " Jijie Shao

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).