mbox series

[net-next,0/7] Support some enhances features for the HIBMCGE driver

Message ID 20250213035529.2402283-1-shaojijie@huawei.com (mailing list archive)
Headers show
Series Support some enhances features for the HIBMCGE driver | expand

Message

Jijie Shao Feb. 13, 2025, 3:55 a.m. UTC
In this patch set, we mainly implement some enhanced features.
It mainly includes the statistics, self test, diagnosis, and ioctl to
improve fault locating efficiency,
abnormal irq and MAC link exception handling feature
to enhance driver robustness,
and rx checksum offload feature to improve performance 
(tx checksum feature has been implemented).

Jijie Shao (7):
  net: hibmcge: Add dump statistics supported in this module
  net: hibmcge: Add self test supported in this module
  net: hibmcge: Add rx checksum offload supported in this module
  net: hibmcge: Add abnormal irq handling feature in this module
  net: hibmcge: Add mac link exception handling feature in this module
  net: hibmcge: Add BMC diagnose feature in this module
  net: hibmcge: Add ioctl supported in this module

 .../net/ethernet/hisilicon/hibmcge/Makefile   |   2 +-
 .../ethernet/hisilicon/hibmcge/hbg_common.h   | 129 +++++
 .../ethernet/hisilicon/hibmcge/hbg_debugfs.c  |   7 +-
 .../ethernet/hisilicon/hibmcge/hbg_diagnose.c | 348 +++++++++++++
 .../ethernet/hisilicon/hibmcge/hbg_diagnose.h |  11 +
 .../net/ethernet/hisilicon/hibmcge/hbg_err.c  |  84 +++-
 .../net/ethernet/hisilicon/hibmcge/hbg_err.h  |   2 +
 .../ethernet/hisilicon/hibmcge/hbg_ethtool.c  | 474 ++++++++++++++++++
 .../ethernet/hisilicon/hibmcge/hbg_ethtool.h  |   5 +
 .../net/ethernet/hisilicon/hibmcge/hbg_hw.c   |  35 +-
 .../net/ethernet/hisilicon/hibmcge/hbg_hw.h   |   3 +-
 .../net/ethernet/hisilicon/hibmcge/hbg_irq.c  |  55 +-
 .../net/ethernet/hisilicon/hibmcge/hbg_main.c | 117 +++++
 .../net/ethernet/hisilicon/hibmcge/hbg_mdio.c |  23 +-
 .../net/ethernet/hisilicon/hibmcge/hbg_mdio.h |   2 +
 .../net/ethernet/hisilicon/hibmcge/hbg_reg.h  | 106 ++++
 .../net/ethernet/hisilicon/hibmcge/hbg_txrx.c | 182 ++++++-
 17 files changed, 1553 insertions(+), 32 deletions(-)
 create mode 100644 drivers/net/ethernet/hisilicon/hibmcge/hbg_diagnose.c
 create mode 100644 drivers/net/ethernet/hisilicon/hibmcge/hbg_diagnose.h