linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
liuzhongzhu 27cf979a15 net: hns3: Add "status register" information query function
This patch prints status register information by module.

debugfs command:
echo dump reg [mode name] > cmd

Sample Command:
root@(none)# echo dump reg bios common > cmd
 BP_CPU_STATE: 0x0
 DFX_MSIX_INFO_NIC_0: 0xc000
 DFX_MSIX_INFO_NIC_1: 0xf
 DFX_MSIX_INFO_NIC_2: 0x2
 DFX_MSIX_INFO_NIC_3: 0x2
 DFX_MSIX_INFO_ROC_0: 0xc000
 DFX_MSIX_INFO_ROC_1: 0x0
 DFX_MSIX_INFO_ROC_2: 0x0
 DFX_MSIX_INFO_ROC_3: 0x0
root@(none)#

Signed-off-by: liuzhongzhu <liuzhongzhu@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-15 10:54:18 -08:00
..
hns3pf net: hns3: Add "status register" information query function 2018-12-15 10:54:18 -08:00
hns3vf net: hns3: Support "ethtool -d" for HNS3 VF driver 2018-12-03 15:26:33 -08:00
hclge_mbx.h net: hns3: Add mtu setting support for vf 2018-11-17 21:57:29 -08:00
hnae3.c net: hns3: Fix client initialize state issue when roce client initialize failed 2018-09-19 21:20:22 -07:00
hnae3.h net: hns3: add handling of hw errors reported through MSIX 2018-12-07 15:57:01 -08:00
hns3_dcbnl.c net: hns3: use HNS3_NIC_STATE_RESETTING to indicate resetting 2018-11-07 11:42:17 -08:00
hns3_debugfs.c net: hns3: Add "status register" information query function 2018-12-15 10:54:18 -08:00
hns3_enet.c net: hns3: rename process_hw_error function 2018-12-07 15:57:01 -08:00
hns3_enet.h net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00
hns3_ethtool.c net: core: dev: Add extack argument to dev_open() 2018-12-06 13:26:06 -08:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00