commit | 7f39febf2e08a227e9696d2ebac2637d9ed98efc | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Sat Jan 04 10:49:31 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 06 13:26:25 2020 -0800 |
tree | 9168fcedacb3b0edaf58d52b51c30258bc389c7d | |
parent | 7061867b59e0e5231b64655356c67ec31f44bc01 [diff] |
net: hns3: modify an unsuitable reset level for hardware error According to hardware user manual, when hardware reports error 'roc_pkt_without_key_port', the driver should assert function reset to do the recovery. So this patch uses HNAE3_FUNC_RESET to replace HNAE3_GLOBAL_RESET. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>