diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-10-30 16:50:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-31 22:42:38 +0300 |
commit | 5faaf0752a0c43735b7c508dcf3c4c7b36a032db (patch) | |
tree | 65781ebbf6ce0ffc419490d22ee74815559c25db /arch/csky | |
parent | b2f74dbaf12bf59ff35d451005b3cdee78232ff0 (diff) | |
download | linux-5faaf0752a0c43735b7c508dcf3c4c7b36a032db.tar.xz |
net: hns3: remove unnecessary queue reset in the hns3_uninit_all_ring()
It is not necessary to reset the queue in the hns3_uninit_all_ring(),
since the queue is stopped in the down operation, and will be reset
in the up operation. And the judgment of the HCLGE_STATE_RST_HANDLING
flag in the hclge_reset_tqp() is not correct, because we need to reset
tqp during pf reset, otherwise it may cause queue not being reset to
working state problem.
Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/csky')
0 files changed, 0 insertions, 0 deletions