Home
last modified time | relevance | path

Searched refs:wqe_list (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c671 struct hns_roce_rinl_wqe *wqe_list; in alloc_rq_inline_buf() local
675 wqe_list = kcalloc(wqe_cnt, sizeof(struct hns_roce_rinl_wqe), in alloc_rq_inline_buf()
677 if (!wqe_list) in alloc_rq_inline_buf()
681 wqe_list[0].sg_list = kcalloc(wqe_cnt, (max_recv_sge * in alloc_rq_inline_buf()
684 if (!wqe_list[0].sg_list) in alloc_rq_inline_buf()
689 wqe_list[i].sg_list = &wqe_list[0].sg_list[i * max_recv_sge]; in alloc_rq_inline_buf()
691 hr_qp->rq_inl_buf.wqe_list = wqe_list; in alloc_rq_inline_buf()
696 kfree(wqe_list); in alloc_rq_inline_buf()
704 if (hr_qp->rq_inl_buf.wqe_list) in free_rq_inline_buf()
705 kfree(hr_qp->rq_inl_buf.wqe_list[0].sg_list); in free_rq_inline_buf()
[all …]
Dhns_roce_device.h580 struct hns_roce_rinl_wqe *wqe_list; member
Dhns_roce_hw_v2.c803 sge_list = hr_qp->rq_inl_buf.wqe_list[wqe_idx].sg_list; in fill_rq_wqe()
804 hr_qp->rq_inl_buf.wqe_list[wqe_idx].sge_cnt = (u32)wr->num_sge; in fill_rq_wqe()
3599 sge_list = qp->rq_inl_buf.wqe_list[wr_cnt].sg_list; in hns_roce_handle_recv_inl_wqe()
3600 sge_num = qp->rq_inl_buf.wqe_list[wr_cnt].sge_cnt; in hns_roce_handle_recv_inl_wqe()