net: hns3: add handling of hw errors of MAC
authorShiju Jose <shiju.jose@huawei.com>
Fri, 7 Dec 2018 21:08:07 +0000 (21:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2018 23:57:01 +0000 (15:57 -0800)
commit7838f908e251497502092e625f2053398c23516b
treefa4bd3e61f613b38459f0e7ef5f18347ef17f1f5
parentf6162d44126ce0f601f92afc770648b73924eb6c
net: hns3: add handling of hw errors of MAC

This patch adds enable and handling of hw errors of
the MAC block.

Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h