net: hns3: add handling of hw ras errors using new set of commands
authorShiju Jose <shiju.jose@huawei.com>
Fri, 7 Dec 2018 21:08:04 +0000 (21:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2018 23:57:01 +0000 (15:57 -0800)
commit332fbf576579a78a769209a9e588dae0c8fc0bdb
tree6f31273bbf5e5440284fb9b19622d976b7d511e2
parent481a626a603d5e234618a19abbaa889405755f46
net: hns3: add handling of hw ras errors using new set of commands

1. This patch adds handling of hw ras errors using new set of
   common commands.
2. Updated the error message tables to match the register's name and
   error status returned by the commands.

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