Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_qp.c642 struct hns_roce_rinl_wqe *wqe_list; in alloc_rq_inline_buf() local
647 wqe_list = kcalloc(wqe_cnt, sizeof(struct hns_roce_rinl_wqe), in alloc_rq_inline_buf()
650 if (!wqe_list) in alloc_rq_inline_buf()
654 wqe_list[0].sg_list = kcalloc(wqe_cnt, (max_recv_sge * in alloc_rq_inline_buf()
657 if (!wqe_list[0].sg_list) in alloc_rq_inline_buf()
662 wqe_list[i].sg_list = &wqe_list[0].sg_list[i * max_recv_sge]; in alloc_rq_inline_buf()
664 hr_qp->rq_inl_buf.wqe_list = wqe_list; in alloc_rq_inline_buf()
670 kfree(wqe_list); in alloc_rq_inline_buf()
678 kfree(hr_qp->rq_inl_buf.wqe_list[0].sg_list); in free_rq_inline_buf()
679 kfree(hr_qp->rq_inl_buf.wqe_list); in free_rq_inline_buf()
Dhns_roce_hw_v2.c672 sge_list = hr_qp->rq_inl_buf.wqe_list[ind].sg_list; in hns_roce_v2_post_recv()
673 hr_qp->rq_inl_buf.wqe_list[ind].sge_cnt = in hns_roce_v2_post_recv()
2670 sge_list = (*cur_qp)->rq_inl_buf.wqe_list[wr_cnt].sg_list; in hns_roce_handle_recv_inl_wqe()
2671 sge_num = (*cur_qp)->rq_inl_buf.wqe_list[wr_cnt].sge_cnt; in hns_roce_handle_recv_inl_wqe()
4714 kfree(hr_qp->rq_inl_buf.wqe_list[0].sg_list); in hns_roce_v2_destroy_qp_common()
4715 kfree(hr_qp->rq_inl_buf.wqe_list); in hns_roce_v2_destroy_qp_common()
Dhns_roce_device.h647 struct hns_roce_rinl_wqe *wqe_list; member