summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-10-30 16:50:47 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-31 22:42:38 +0300
commit5faaf0752a0c43735b7c508dcf3c4c7b36a032db (patch)
tree65781ebbf6ce0ffc419490d22ee74815559c25db /arch/x86
parentb2f74dbaf12bf59ff35d451005b3cdee78232ff0 (diff)
downloadlinux-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/x86')
0 files changed, 0 insertions, 0 deletions