提交 9346c2de 编写于 作者: Y YufengMo 提交者: Xie XiuQi

net: hns3: add management table after IMP reset

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

In the current process, the management table is missing after the
IM reset. This patch adds the management table to the reset process.

Feature or Bugfix:Bugfix
Signed-off-by: NYufengMo <moyufeng@huawei.com>
Reviewed-by: Nlipeng <lipeng321@huawei.com>
Reviewed-by: NYunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 c03aa9dd
......@@ -9303,6 +9303,12 @@ static int hclge_reset_ae_dev(struct hnae3_ae_dev *ae_dev)
return ret;
}
ret = init_mgr_tbl(hdev);
if (ret) {
dev_err(&pdev->dev, "manager table init fail, ret =%d\n", ret);
return ret;
}
ret = hclge_init_fd_config(hdev);
if (ret) {
dev_err(&pdev->dev, "fd table init fail, ret=%d\n", ret);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册