Commit b566ef60 authored by Weihang Li's avatar Weihang Li Committed by David S. Miller

net: hns3: add new ras error type for roce

This patch adds one ras error of bus related for roce, this error
including RRESP/BRESP and read poison error.
Signed-off-by: default avatarWeihang Li <liweihang@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6eaed433
...@@ -1321,7 +1321,10 @@ static const struct hclge_hw_type_id hclge_hw_type_id_st[] = { ...@@ -1321,7 +1321,10 @@ static const struct hclge_hw_type_id hclge_hw_type_id_st[] = {
}, { }, {
.type_id = ROCEE_OVF_ERR, .type_id = ROCEE_OVF_ERR,
.msg = "rocee_ovf_error" .msg = "rocee_ovf_error"
} }, {
.type_id = ROCEE_BUS_ERR,
.msg = "rocee_bus_error"
},
}; };
static void hclge_log_error(struct device *dev, char *reg, static void hclge_log_error(struct device *dev, char *reg,
......
...@@ -169,6 +169,7 @@ enum hclge_err_type_list { ...@@ -169,6 +169,7 @@ enum hclge_err_type_list {
/* add new ERROR TYPE for NIC here in order */ /* add new ERROR TYPE for NIC here in order */
ROCEE_NORMAL_ERR = 40, ROCEE_NORMAL_ERR = 40,
ROCEE_OVF_ERR = 41, ROCEE_OVF_ERR = 41,
ROCEE_BUS_ERR = 42,
/* add new ERROR TYPE for ROCEE here in order */ /* add new ERROR TYPE for ROCEE here in order */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment