Skip to content

Commit 332fbf5

Browse files
shijujose4davem330
authored andcommitted
net: hns3: add handling of hw ras errors using new set of commands
1. This patch adds handling of hw ras errors using new set of common commands. 2. Updated the error message tables to match the register's name and error status returned by the commands. Signed-off-by: Shiju Jose <shiju.jose@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 481a626 commit 332fbf5

3 files changed

Lines changed: 331 additions & 170 deletions

File tree

‎drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ enum hclge_opcode_type {
217217
/* Error INT commands */
218218
HCLGE_TM_SCH_ECC_INT_EN = 0x0829,
219219
HCLGE_COMMON_ECC_INT_CFG = 0x1505,
220+
HCLGE_QUERY_RAS_INT_STS_BD_NUM = 0x1510,
221+
HCLGE_QUERY_CLEAR_MPF_RAS_INT = 0x1511,
222+
HCLGE_QUERY_CLEAR_PF_RAS_INT = 0x1512,
220223
HCLGE_IGU_EGU_TNL_INT_EN = 0x1803,
221224
HCLGE_IGU_COMMON_INT_EN = 0x1806,
222225
HCLGE_TM_QCN_MEM_INT_CFG = 0x1A14,

0 commit comments

Comments
 (0)