summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2021-08-26 19:21:56 +0800
committerJakub Kicinski <kuba@kernel.org>2021-08-26 07:24:16 -0700
commita96d9330b02a3d051ae689bc2c5e7d3a2ba25594 (patch)
treefc9dc484762e5c1731e171f1467bd41501e4d317 /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
parent1a6d281946c330cee2855f6d0cd796616e54601f (diff)
net: hns3: add waiting time before cmdq memory is released
After the cmdq registers are cleared, the firmware may take time to clear out possible left over commands in the cmdq. Driver must release cmdq memory only after firmware has completed processing of left over commands. Fixes: 232d0d55fca6 ("net: hns3: uninitialize command queue while unloading PF driver") Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c')
0 files changed, 0 insertions, 0 deletions