Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_qp.c436 hr_qp->rq_inl_buf.wqe_cnt = 0; in set_rq_size()
469 hr_qp->rq_inl_buf.wqe_cnt = cnt; in set_rq_size()
471 hr_qp->rq_inl_buf.wqe_cnt = 0; in set_rq_size()
667 u32 wqe_cnt = hr_qp->rq_inl_buf.wqe_cnt; in alloc_rq_inline_buf()
688 hr_qp->rq_inl_buf.wqe_list = wqe_list; in alloc_rq_inline_buf()
701 if (hr_qp->rq_inl_buf.wqe_list) in free_rq_inline_buf()
702 kfree(hr_qp->rq_inl_buf.wqe_list[0].sg_list); in free_rq_inline_buf()
703 kfree(hr_qp->rq_inl_buf.wqe_list); in free_rq_inline_buf()
714 if (!udata && hr_qp->rq_inl_buf.wqe_cnt) { in alloc_qp_buf()
723 hr_qp->rq_inl_buf.wqe_list = NULL; in alloc_qp_buf()
Dhns_roce_device.h633 struct hns_roce_rinl_buf rq_inl_buf; member
Dhns_roce_hw_v2.c833 if (hr_qp->rq_inl_buf.wqe_cnt) { in fill_rq_wqe()
834 sge_list = hr_qp->rq_inl_buf.wqe_list[wqe_idx].sg_list; in fill_rq_wqe()
835 hr_qp->rq_inl_buf.wqe_list[wqe_idx].sge_cnt = (u32)wr->num_sge; in fill_rq_wqe()
3628 sge_list = qp->rq_inl_buf.wqe_list[wr_cnt].sg_list; in hns_roce_handle_recv_inl_wqe()
3629 sge_num = qp->rq_inl_buf.wqe_list[wr_cnt].sge_cnt; in hns_roce_handle_recv_inl_wqe()