]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
net: hns3: Add enable and process hw errors from IGU, EGU and NCSI
[mirror_ubuntu-bionic-kernel.git] / drivers / net / ethernet / hisilicon / hns3 / hns3pf / hclge_cmd.h
index 8525f18f3f5a34b2f90aa5a38fd049c82d69708f..97c90aa8345c666f211c13c1967842422e3be1d4 100644 (file)
@@ -212,6 +212,15 @@ enum hclge_opcode_type {
 
        /* Error INT commands */
        HCLGE_COMMON_ECC_INT_CFG        = 0x1505,
+       HCLGE_IGU_EGU_TNL_INT_QUERY     = 0x1802,
+       HCLGE_IGU_EGU_TNL_INT_EN        = 0x1803,
+       HCLGE_IGU_EGU_TNL_INT_CLR       = 0x1804,
+       HCLGE_IGU_COMMON_INT_QUERY      = 0x1805,
+       HCLGE_IGU_COMMON_INT_EN         = 0x1806,
+       HCLGE_IGU_COMMON_INT_CLR        = 0x1807,
+       HCLGE_NCSI_INT_QUERY            = 0x2400,
+       HCLGE_NCSI_INT_EN               = 0x2401,
+       HCLGE_NCSI_INT_CLR              = 0x2402,
 };
 
 #define HCLGE_TQP_REG_OFFSET           0x80000