net: hns3: Add enable and process common ecc errors
authorShiju Jose <shiju.jose@huawei.com>
Fri, 19 Oct 2018 19:15:29 +0000 (20:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 02:31:13 +0000 (19:31 -0700)
commit6d67ee9a273bbb5d3f7d66eedb924aee21c2b2cd
tree66ab0688612e0cc76ae6bdb94525d73e11b93eab
parent997141950380931073e13f7db8daf0c27b79af16
net: hns3: Add enable and process common ecc errors

This patch adds enable and processing of ecc errors from
common HNS blocks, CMDQ(Command Queue),
IMP(Integrated Management Processor) and TQP(Task Queue Pair).

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