commit | 31bb229d6f4a603a351d670ac078dff8ba3af398 | [log] [tgz] |
---|---|---|
author | Peng Li <lipeng321@huawei.com> | Thu Jun 13 17:12:27 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 14 19:26:16 2019 -0700 |
tree | 9cc267fcd9ccf5569652e808da401793f186fb69 | |
parent | 9e0254ddea78cf947bf6650a3ec8e50ab132e8a1 [diff] |
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>