提交 fe8eaf31 编写于 作者: W Weihang Li 提交者: Xie XiuQi

RDMA/hns: change cmd mod to polling mode

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

Use polling mode to adapt automated testcases
Signed-off-by: NWeihang Li <liweihang@hisilicon.com>
Reviewed-by: Nliuyixian <liuyixian@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 1a5e6e13
...@@ -6951,7 +6951,7 @@ static int hns_roce_hw_v2_get_cfg(struct hns_roce_dev *hr_dev, ...@@ -6951,7 +6951,7 @@ static int hns_roce_hw_v2_get_cfg(struct hns_roce_dev *hr_dev,
i + handle->rinfo.base_vector); i + handle->rinfo.base_vector);
/* cmd issue mode: 0 is poll, 1 is event */ /* cmd issue mode: 0 is poll, 1 is event */
hr_dev->cmd_mod = 1; hr_dev->cmd_mod = 0;
hr_dev->loop_idc = loopback; hr_dev->loop_idc = loopback;
hr_dev->reset_cnt = handle->ae_algo->ops->ae_dev_reset_cnt(handle); hr_dev->reset_cnt = handle->ae_algo->ops->ae_dev_reset_cnt(handle);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册