diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-11-07 12:06:15 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-07 11:42:18 -0800 |
commit | 35d93a30040c3884d8752c35a3fc1200d8f96b1b (patch) | |
tree | c0fe19c3fb14cfd4752350e9d3527eb6d8108604 /arch/sh | |
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>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions