diff options
author | Guangbin Huang <huangguangbin2@huawei.com> | 2020-09-29 17:32:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-29 13:14:24 -0700 |
commit | dbaae5bb4617f8d754ba3a2bef137948a774f3e8 (patch) | |
tree | 3844d008d6f59e5151449013921b93af1c7baa1d /drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | |
parent | b4442ec547287a624478339d832b1dd90bba14ee (diff) |
net: hns3: dump tqp enable status in debugfs
Adds debugfs to dump tqp enable status.
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_enet.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h index 35b0375a0b59..1c81dea0da1e 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h @@ -43,6 +43,8 @@ enum hns3_nic_state { #define HNS3_RING_TX_RING_EBD_OFFSET_REG 0x00070 #define HNS3_RING_TX_RING_BD_ERR_REG 0x00074 #define HNS3_RING_EN_REG 0x00090 +#define HNS3_RING_RX_EN_REG 0x00098 +#define HNS3_RING_TX_EN_REG 0x000D4 #define HNS3_RX_HEAD_SIZE 256 |