Commit b6103bb8 authored by Jie Wang's avatar Jie Wang Committed by Jiantao Xiao
Browse files

net: hns3: add cmdq check for vf periodic service task

mainline inclusion
from mainline-v6.6-rc3
commit bd3caddf
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I83ZCY
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bd3caddf299a640efb66c6022efed7fe744db626



----------------------------------------------------------------------

When the vf cmdq is disabled, there is no need to keep these task running.
So this patch skip these task when the cmdq is disabled.

Fixes: ff200099 ("net: hns3: remove unnecessary work in hclgevf_main")
Signed-off-by: default avatarJie Wang <wangjie125@huawei.com>
Signed-off-by: default avatarJijie Shao <shaojijie@huawei.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarJiantao Xiao <xiaojiantao1@h-partners.com>
parent 6e315326
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment