Home
last modified time | relevance | path

Searched refs:rsv_sge (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_srq.c284 hr_srq->rsv_sge = 1; in proc_srq_sge()
308 srq->max_gs = roundup_pow_of_two(attr->max_sge + srq->rsv_sge); in set_srq_basic_param()
311 attr->max_sge = srq->max_gs - srq->rsv_sge; in set_srq_basic_param()
H A Dhns_roce_qp.c489 hr_qp->rq.rsv_sge = 1; in proc_rq_sge()
527 hr_qp->rq.rsv_sge); in set_rq_size()
535 cap->max_recv_sge = hr_qp->rq.max_gs - hr_qp->rq.rsv_sge; in set_rq_size()
H A Dhns_roce_device.h353 u32 rsv_sge; member
459 u32 rsv_sge; member
H A Dhns_roce_hw_v2.c820 fill_recv_sge_to_wqe(wr, wqe, max_sge, hr_qp->rq.rsv_sge); in fill_rq_wqe()
846 max_sge = hr_qp->rq.max_gs - hr_qp->rq.rsv_sge; in hns_roce_v2_post_recv()
1147 max_sge = srq->max_gs - srq->rsv_sge; in hns_roce_v2_post_srq_recv()
1162 fill_recv_sge_to_wqe(wr, wqe, max_sge, srq->rsv_sge); in hns_roce_v2_post_srq_recv()
5873 qp_attr->cap.max_recv_sge = hr_qp->rq.max_gs - hr_qp->rq.rsv_sge; in hns_roce_v2_query_qp()
6231 attr->max_sge = srq->max_gs - srq->rsv_sge; in hns_roce_v2_query_srq()