Searched refs:buf_mtr (Results 1 – 3 of 3) sorted by relevance
93 ret = hns_roce_mtr_find(hr_dev, &srq->buf_mtr, 0, mtts_wqe, in alloc_srqc()200 err = hns_roce_mtr_create(hr_dev, &srq->buf_mtr, &buf_attr, in alloc_srq_buf()212 hns_roce_mtr_destroy(hr_dev, &srq->buf_mtr); in free_srq_buf()
498 struct hns_roce_mtr buf_mtr; member
820 return hns_roce_buf_offset(srq->buf_mtr.kmem, n << srq->wqe_shift); in get_srq_wqe()5217 to_hr_hw_page_shift(srq->buf_mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_write_srqc()5221 to_hr_hw_page_shift(srq->buf_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()