RDMA/hns: fix mtr search failure when wqe offset is invalid
driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
Currently, the rq offset is invalid when the rq depth is zero
and sq depth not zero, this will lead the mtr searching fail.
This patch fixes it by adding the invalid wqe offset checking
when an empty mtt is found.
Fixes: 5c42b537063d ("RDMA/hns:Fix bug when wqe num is larger than 16384")
Feature or Bugfix:Bugfix
Signed-off-by: Nwangxi <wangxi11@huawei.com>
Signed-off-by: NXi Wang <wangxi11@huawei.com>
Reviewed-by: Noulijun <oulijun@huawei.com>
Reviewed-by: Nliuyixian <liuyixian@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录