]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7982463f96216696b72cdfee23dfd7e1628654c1
tree364e0296a2d19de39f0cbe1fa3d031b78382f954
parent6644001e8785e4097f7c06f72f5b7e2a6b551e81
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