Lines Matching refs:wqe_cnt
450 hr_qp->rq.wqe_cnt = 0; in set_rq_size()
480 hr_qp->rq.wqe_cnt = cnt; in set_rq_size()
640 hr_qp->sq.wqe_cnt = cnt; in set_user_sq_size()
657 buf_size = to_hr_hem_entries_size(hr_qp->sq.wqe_cnt, in set_wqe_buf_attr()
679 buf_size = to_hr_hem_entries_size(hr_qp->rq.wqe_cnt, in set_wqe_buf_attr()
717 hr_qp->sq.wqe_cnt = cnt; in set_kernel_sq_size()
979 sq_wrid = kcalloc(hr_qp->sq.wqe_cnt, sizeof(u64), GFP_KERNEL); in alloc_kernel_wrid()
985 if (hr_qp->rq.wqe_cnt) { in alloc_kernel_wrid()
986 rq_wrid = kcalloc(hr_qp->rq.wqe_cnt, sizeof(u64), GFP_KERNEL); in alloc_kernel_wrid()
1451 if (likely(cur + nreq < hr_wq->wqe_cnt)) in hns_roce_wq_overflow()
1459 return cur + nreq >= hr_wq->wqe_cnt; in hns_roce_wq_overflow()