Lines Matching refs:qplib_srq

1230 		qplqp->srq = &srq->qplib_srq;  in bnxt_re_init_rq_attr()
1720 struct bnxt_qplib_srq *qplib_srq = &srq->qplib_srq; in bnxt_re_destroy_srq() local
1723 if (qplib_srq->cq) in bnxt_re_destroy_srq()
1724 nq = qplib_srq->cq->nq; in bnxt_re_destroy_srq()
1729 bnxt_qplib_destroy_srq(&rdev->qplib_res, qplib_srq); in bnxt_re_destroy_srq()
1743 struct bnxt_qplib_srq *qplib_srq = &srq->qplib_srq; in bnxt_re_init_user_srq() local
1752 bytes = (qplib_srq->max_wqe * qplib_srq->wqe_size); in bnxt_re_init_user_srq()
1760 qplib_srq->sg_info.umem = umem; in bnxt_re_init_user_srq()
1761 qplib_srq->sg_info.pgsize = PAGE_SIZE; in bnxt_re_init_user_srq()
1762 qplib_srq->sg_info.pgshft = PAGE_SHIFT; in bnxt_re_init_user_srq()
1763 qplib_srq->srq_handle = ureq.srq_handle; in bnxt_re_init_user_srq()
1764 qplib_srq->dpi = &cntx->dpi; in bnxt_re_init_user_srq()
1802 srq->qplib_srq.pd = &pd->qplib_pd; in bnxt_re_create_srq()
1803 srq->qplib_srq.dpi = &rdev->dpi_privileged; in bnxt_re_create_srq()
1810 srq->qplib_srq.max_wqe = entries; in bnxt_re_create_srq()
1812 srq->qplib_srq.max_sge = srq_init_attr->attr.max_sge; in bnxt_re_create_srq()
1814 srq->qplib_srq.wqe_size = bnxt_re_get_rwqe_size(dev_attr->max_srq_sges); in bnxt_re_create_srq()
1815 srq->qplib_srq.threshold = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
1817 srq->qplib_srq.eventq_hw_ring_id = rdev->nq[0].ring_id; in bnxt_re_create_srq()
1826 rc = bnxt_qplib_create_srq(&rdev->qplib_res, &srq->qplib_srq); in bnxt_re_create_srq()
1835 resp.srqid = srq->qplib_srq.id; in bnxt_re_create_srq()
1837 hash_add(rdev->srq_hash, &srq->hash_entry, srq->qplib_srq.id); in bnxt_re_create_srq()
1849 &srq->qplib_srq); in bnxt_re_create_srq()
1883 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq()
1886 srq->qplib_srq.threshold = srq_attr->srq_limit; in bnxt_re_modify_srq()
1887 rc = bnxt_qplib_modify_srq(&rdev->qplib_res, &srq->qplib_srq); in bnxt_re_modify_srq()
1912 tsrq.qplib_srq.id = srq->qplib_srq.id; in bnxt_re_query_srq()
1913 rc = bnxt_qplib_query_srq(&rdev->qplib_res, &tsrq.qplib_srq); in bnxt_re_query_srq()
1918 srq_attr->max_wr = srq->qplib_srq.max_wqe; in bnxt_re_query_srq()
1919 srq_attr->max_sge = srq->qplib_srq.max_sge; in bnxt_re_query_srq()
1920 srq_attr->srq_limit = tsrq.qplib_srq.threshold; in bnxt_re_query_srq()
1942 rc = bnxt_qplib_post_srq_recv(&srq->qplib_srq, &wqe); in bnxt_re_post_srq_recv()
4338 if (tmp_srq->qplib_srq.id == srq_id) { in bnxt_re_search_for_srq()