net: hns3: add a hardware error detect type
authorYufeng Mo <moyufeng@huawei.com>
Fri, 25 Sep 2020 00:26:15 +0000 (08:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 03:19:24 +0000 (20:19 -0700)
commit6cd131dd10dbb91a65ac9cbcb67a0dabce08c5e5
tree364e0296a2d19de39f0cbe1fa3d031b78382f954
parent9d8d5a360b515bdc7be4beb89caa7b32fccce721
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>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c