Searched refs:buf_mtr (Results 1 – 3 of 3) sorted by relevance
237 ret = hns_roce_mtr_create(hr_dev, &srq->buf_mtr, &buf_attr, in alloc_srq_wqe_buf()250 hns_roce_mtr_destroy(hr_dev, &srq->buf_mtr); in free_srq_wqe_buf()
469 struct hns_roce_mtr buf_mtr; member
870 return hns_roce_buf_offset(srq->buf_mtr.kmem, n << srq->wqe_shift); in get_srq_wqe_buf()5733 ret = hns_roce_mtr_find(hr_dev, &srq->buf_mtr, 0, mtts_wqe, in hns_roce_v2_write_srqc()5741 dma_handle_wqe = hns_roce_get_mtr_ba(&srq->buf_mtr); in hns_roce_v2_write_srqc()5763 to_hr_hw_page_shift(srq->buf_mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_write_srqc()5765 to_hr_hw_page_shift(srq->buf_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()