commit | 35d93a30040c3884d8752c35a3fc1200d8f96b1b | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Wed Nov 07 12:06:15 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 07 11:42:18 2018 -0800 |
tree | c0fe19c3fb14cfd4752350e9d3527eb6d8108604 | |
parent | 0742ed7c240ceadc4472ab5a80bcb2a5f05e7ff8 [diff] |
net: hns3: adjust the process of PF reset When doing PF reset, the driver needs to do some preparatory work before asserting PF reset. Since when hardware is resetting, it is necessary to stop tx/rx queue, clear hardware table, etc, otherwise hardware may run into unrecoverable state if there is still IO running when the hardware is resetting. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>