]> Git Repo - linux.git/commit
net: hns3: add cmdq check for vf periodic service task
authorJie Wang <[email protected]>
Mon, 18 Sep 2023 07:48:36 +0000 (15:48 +0800)
committerPaolo Abeni <[email protected]>
Tue, 19 Sep 2023 10:13:08 +0000 (12:13 +0200)
commitbd3caddf299a640efb66c6022efed7fe744db626
tree6ca11728f39158674a74f344a2b788b2e20e4fa4
parent8070274b472e2e9f5f67a990f5e697634c415708
net: hns3: add cmdq check for vf periodic service task

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: ff200099d271 ("net: hns3: remove unnecessary work in hclgevf_main")
Signed-off-by: Jie Wang <[email protected]>
Signed-off-by: Jijie Shao <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
This page took 0.056772 seconds and 4 git commands to generate.