Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_qp.c472 hr_qp->rq_inl_buf.wqe_cnt = 0; in set_rq_size()
508 hr_qp->rq_inl_buf.wqe_cnt = cnt; in set_rq_size()
510 hr_qp->rq_inl_buf.wqe_cnt = 0; in set_rq_size()
711 u32 wqe_cnt = hr_qp->rq_inl_buf.wqe_cnt; in alloc_rq_inline_buf()
732 hr_qp->rq_inl_buf.wqe_list = wqe_list; in alloc_rq_inline_buf()
745 if (hr_qp->rq_inl_buf.wqe_list) in free_rq_inline_buf()
746 kfree(hr_qp->rq_inl_buf.wqe_list[0].sg_list); in free_rq_inline_buf()
747 kfree(hr_qp->rq_inl_buf.wqe_list); in free_rq_inline_buf()
758 if (!udata && hr_qp->rq_inl_buf.wqe_cnt) { in alloc_qp_buf()
767 hr_qp->rq_inl_buf.wqe_list = NULL; in alloc_qp_buf()
Dhns_roce_device.h661 struct hns_roce_rinl_buf rq_inl_buf; member
Dhns_roce_hw_v2.c831 if (hr_qp->rq_inl_buf.wqe_cnt) { in fill_rq_wqe()
832 sge_list = hr_qp->rq_inl_buf.wqe_list[wqe_idx].sg_list; in fill_rq_wqe()
833 hr_qp->rq_inl_buf.wqe_list[wqe_idx].sge_cnt = (u32)wr->num_sge; in fill_rq_wqe()
3408 sge_list = qp->rq_inl_buf.wqe_list[wr_cnt].sg_list; in hns_roce_handle_recv_inl_wqe()
3409 sge_num = qp->rq_inl_buf.wqe_list[wr_cnt].sge_cnt; in hns_roce_handle_recv_inl_wqe()