net: hns3: Add enable and process hw errors of TM scheduler
[muen/linux.git] / drivers / net / ethernet / hisilicon / hns3 / hns3pf / hclge_cmd.h
index f23cf785d88e9b38d76b396c2fb7a05b8b53073a..872cd4bdd70d73ac232c43861d07c52dc64383b5 100644 (file)
@@ -211,6 +211,12 @@ enum hclge_opcode_type {
        HCLGE_OPC_LED_STATUS_CFG        = 0xB000,
 
        /* Error INT commands */
+       HCLGE_TM_SCH_ECC_INT_EN         = 0x0829,
+       HCLGE_TM_SCH_ECC_ERR_RINT_CMD   = 0x082d,
+       HCLGE_TM_SCH_ECC_ERR_RINT_CE    = 0x082f,
+       HCLGE_TM_SCH_ECC_ERR_RINT_NFE   = 0x0830,
+       HCLGE_TM_SCH_ECC_ERR_RINT_FE    = 0x0831,
+       HCLGE_TM_SCH_MBIT_ECC_INFO_CMD  = 0x0833,
        HCLGE_COMMON_ECC_INT_CFG        = 0x1505,
        HCLGE_IGU_EGU_TNL_INT_QUERY     = 0x1802,
        HCLGE_IGU_EGU_TNL_INT_EN        = 0x1803,
@@ -218,6 +224,8 @@ enum hclge_opcode_type {
        HCLGE_IGU_COMMON_INT_QUERY      = 0x1805,
        HCLGE_IGU_COMMON_INT_EN         = 0x1806,
        HCLGE_IGU_COMMON_INT_CLR        = 0x1807,
+       HCLGE_TM_QCN_MEM_INT_CFG        = 0x1A14,
+       HCLGE_TM_QCN_MEM_INT_INFO_CMD   = 0x1A17,
        HCLGE_PPP_CMD0_INT_CMD          = 0x2100,
        HCLGE_PPP_CMD1_INT_CMD          = 0x2101,
        HCLGE_NCSI_INT_QUERY            = 0x2400,