[PATCH net-next 00/12] net: hns3: add some DFX info for HNS3 driver

From: Huazhong Tan
Date: Thu Apr 18 2019 - 23:08:00 EST


This patch-set adds some DFX information to HNS3 driver, for easily
debug some problems, and fixes some related bugs.

[patch 1/12 - 4/12] adds debug info about reset & interrupt events

[patch 5/12 - 7/12] adds debug info about TX time out & fixes
related bugs

[patch 8/12] adds support for setting netif message level

[patch 9/12 - 10/12] adds debugfs command to dump NCL & MAC info

[patch 11/12] adds VF's queue statistics info updating

[patch 12/12] adds a check for debugfs help function to decide which
commands are supportable

Huazhong Tan (4):
net: hns3: add reset statistics info for PF
net: hns3: add reset statistics for VF
net: hns3: add some debug information for hclge_check_event_cause
net: hns3: add some debug info for hclgevf_get_mbx_resp()

Jian Shen (3):
net: hns3: refine tx timeout count handle
net: hns3: fix loop condition of hns3_get_tx_timeo_queue_info()
net: hns3: dump more information when tx timeout happens

Weihang Li (2):
net: hns3: add support for dump ncl config by debugfs
net: hns3: Add handling of MAC tunnel interruption

Yonglong Liu (1):
net: hns3: Add support for netif message level settings

Yufeng Mo (1):
net: hns3: add function type check for debugfs help information

liuzhongzhu (1):
net: hns3: add queue's statistics update to service task

drivers/net/ethernet/hisilicon/hns3/hnae3.h | 6 +-
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 9 ++
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 104 ++++++++++++++++---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 5 +-
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 18 ++++
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 6 ++
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 110 +++++++++++++++++++++
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 51 ++++++++++
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 4 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 64 +++++++++++-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 24 ++++-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 38 ++++++-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 14 ++-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 9 +-
14 files changed, 437 insertions(+), 25 deletions(-)

--
2.7.4