diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2020-09-25 03:26:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-25 06:19:24 +0300 |
commit | 6cd131dd10dbb91a65ac9cbcb67a0dabce08c5e5 (patch) | |
tree | 364e0296a2d19de39f0cbe1fa3d031b78382f954 /drivers/net/ethernet/hisilicon/hns3/hnae3.h | |
parent | 9d8d5a360b515bdc7be4beb89caa7b32fccce721 (diff) | |
download | linux-6cd131dd10dbb91a65ac9cbcb67a0dabce08c5e5.tar.xz |
net: hns3: add a hardware error detect type
In hns3_process_hw_error(), the hardware error detection of the
ROCEE AXI RESP error type is added. When this error occurs,
the client needs to be notified of this error and take
corresponding operation.
Signed-off-by: Yufeng Mo <moyufeng@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/hnae3.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h index 088550db2de7..55843ada384e 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h +++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h @@ -152,6 +152,7 @@ enum hnae3_hw_error_type { HNAE3_PPU_POISON_ERROR, HNAE3_CMDQ_ECC_ERROR, HNAE3_IMP_RD_POISON_ERROR, + HNAE3_ROCEE_AXI_RESP_ERROR, }; enum hnae3_reset_type { |