Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c365 hr_qp->rq_inl_buf.wqe_cnt = 0; in set_rq_size()
397 hr_qp->rq_inl_buf.wqe_cnt = cnt; in set_rq_size()
399 hr_qp->rq_inl_buf.wqe_cnt = 0; in set_rq_size()
602 u32 wqe_cnt = hr_qp->rq_inl_buf.wqe_cnt; in alloc_rq_inline_buf()
624 hr_qp->rq_inl_buf.wqe_list = wqe_list; in alloc_rq_inline_buf()
637 if (hr_qp->rq_inl_buf.wqe_list) in free_rq_inline_buf()
638 kfree(hr_qp->rq_inl_buf.wqe_list[0].sg_list); in free_rq_inline_buf()
639 kfree(hr_qp->rq_inl_buf.wqe_list); in free_rq_inline_buf()
650 if (!udata && hr_qp->rq_inl_buf.wqe_cnt) { in alloc_qp_buf()
659 hr_qp->rq_inl_buf.wqe_list = NULL; in alloc_qp_buf()
Dhns_roce_device.h666 struct hns_roce_rinl_buf rq_inl_buf; member
Dhns_roce_hw_v2.c783 if (hr_qp->rq_inl_buf.wqe_cnt) { in hns_roce_v2_post_recv()
784 sge_list = hr_qp->rq_inl_buf.wqe_list[wqe_idx].sg_list; in hns_roce_v2_post_recv()
785 hr_qp->rq_inl_buf.wqe_list[wqe_idx].sge_cnt = in hns_roce_v2_post_recv()
3159 sge_list = (*cur_qp)->rq_inl_buf.wqe_list[wr_cnt].sg_list; in hns_roce_handle_recv_inl_wqe()
3160 sge_num = (*cur_qp)->rq_inl_buf.wqe_list[wr_cnt].sge_cnt; in hns_roce_handle_recv_inl_wqe()