OSDN Git Service

net: hns3: add recovery for the H/W errors occurred before the HNS dev initialization
authorShiju Jose <shiju.jose@huawei.com>
Thu, 13 Jun 2019 09:12:24 +0000 (17:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 02:26:15 +0000 (19:26 -0700)
commite3b84ed27043d66a75cd229adc05426b6847dfa6
treeb329879dd17f259229b8054a6977b407d4d77f43
parente4193e24a52016d9088e796c313f6eb3c9c540e0
net: hns3: add recovery for the H/W errors occurred before the HNS dev initialization

This patch adds the recovery for the HNS H/W errors which occurred
before the driver initialization.

Reported-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c