Searched refs:hr_buf (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 272 (1 << page_shift) * 2, &buf->hr_buf, in hns_roce_ib_alloc_cq_buf() 282 ret = hns_roce_mtt_init(hr_dev, buf->hr_buf.npages, in hns_roce_ib_alloc_cq_buf() 283 buf->hr_buf.page_shift, &buf->hr_mtt); in hns_roce_ib_alloc_cq_buf() 287 ret = hns_roce_buf_write_mtt(hr_dev, &buf->hr_mtt, &buf->hr_buf); in hns_roce_ib_alloc_cq_buf() 298 &buf->hr_buf); in hns_roce_ib_alloc_cq_buf() 307 &buf->hr_buf); in hns_roce_ib_free_cq_buf() 350 ret = hns_roce_ib_get_cq_umem(hr_dev, context, &hr_cq->hr_buf, in hns_roce_ib_create_cq() 384 ret = hns_roce_ib_alloc_cq_buf(hr_dev, &hr_cq->hr_buf, in hns_roce_ib_create_cq() 397 ret = hns_roce_cq_alloc(hr_dev, cq_entries, &hr_cq->hr_buf.hr_mtt, uar, in hns_roce_ib_create_cq() 437 hns_roce_mtt_cleanup(hr_dev, &hr_cq->hr_buf.hr_mtt); in hns_roce_ib_create_cq() [all …]
|
D | hns_roce_qp.c | 698 &hr_qp->hr_buf, page_shift)) { in hns_roce_create_qp_common() 706 ret = hns_roce_mtt_init(hr_dev, hr_qp->hr_buf.npages, in hns_roce_create_qp_common() 707 hr_qp->hr_buf.page_shift, &hr_qp->mtt); in hns_roce_create_qp_common() 714 &hr_qp->hr_buf); in hns_roce_create_qp_common() 818 hns_roce_buf_free(hr_dev, hr_qp->buff_size, &hr_qp->hr_buf); in hns_roce_create_qp_common() 1064 return hns_roce_buf_offset(&hr_qp->hr_buf, offset); in get_wqe() 1081 return hns_roce_buf_offset(&hr_qp->hr_buf, hr_qp->sge.offset + in get_send_extend_sge()
|
D | hns_roce_device.h | 396 struct hns_roce_buf hr_buf; member 402 struct hns_roce_cq_buf hr_buf; member 527 struct hns_roce_buf hr_buf; member
|
D | hns_roce_hw_v1.c | 2015 return hns_roce_buf_offset(&hr_cq->hr_buf.hr_buf, in get_cqe() 3968 hns_roce_buf_free(hr_dev, hr_qp->buff_size, &hr_qp->hr_buf); in hns_roce_v1_destroy_qp() 4034 hns_roce_mtt_cleanup(hr_dev, &hr_cq->hr_buf.hr_mtt); in hns_roce_v1_destroy_cq() 4041 hns_roce_buf_free(hr_dev, cq_buf_size, &hr_cq->hr_buf.hr_buf); in hns_roce_v1_destroy_cq()
|
D | hns_roce_hw_v2.c | 73 shift = qp->hr_buf.page_shift; in set_extend_sge() 1822 return hns_roce_buf_offset(&hr_cq->hr_buf.hr_buf, in get_cqe_v2() 3888 hns_roce_buf_free(hr_dev, hr_qp->buff_size, &hr_qp->hr_buf); in hns_roce_v2_destroy_qp_common()
|