]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: stop mailbox handling when command queue need re-init
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 6 Apr 2019 07:43:33 +0000 (15:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2019 22:30:49 +0000 (15:30 -0700)
commitbc683762fe2dfb4fae6bc6f5c157161ce15f75e1
tree803b7fc09bd1a46cb8daee49f0281c1a571b8cb2
parent22bbe9425e55ca06e2c22a438f8ac9bc1e8b75bb
net: hns3: stop mailbox handling when command queue need re-init

If the command queue needs re-initialization, the mailbox handling
task should do nothing, otherwise this task will just get some error
print.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c