commit | bb3d866882c280a85e8950d4d72af1e294d2e69c | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Mon Jul 06 19:25:59 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 06 12:33:28 2020 -0700 |
tree | 918681ef717a22600660656f67d1866e170d0fc5 | |
parent | 2294ca7a47d7094706450d641b243fa3a61843a3 [diff] |
net: hns3: check reset pending after FLR prepare If there is a PF reset pending before FLR prepare, FLR's preparatory work will not fail, but the FLR rebuild procedure will fail for this pending. So this PF reset pending should be handled in the FLR preparatory. Fixes: 8627bdedc435 ("net: hns3: refactor the precedure of PF FLR") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>