]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: clear restting state when initializing HW device
authorPeng Li <lipeng321@huawei.com>
Thu, 13 Jun 2019 09:12:27 +0000 (17:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 02:26:16 +0000 (19:26 -0700)
commit6ac9afd9a24731f046363e73f3d8e27e44ddc78b
tree9cc267fcd9ccf5569652e808da401793f186fb69
parent50e4a29ded46217768fca9ac02b579617a9e8643
net: hns3: clear restting state when initializing HW device

IMP will set restting state for all function when PF FLR, driver
just clear the restting state in resetting progress, but don't do
it in initializing progress. As FLR is not created by driver,
it is necessary to clear restting state when initializing HW device.

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