Lines Matching refs:qplib_cq
1476 qplqp->scq = &cq->qplib_cq; in bnxt_re_init_qp_attr()
1482 qplqp->rcq = &cq->qplib_cq; in bnxt_re_init_qp_attr()
3068 nq = cq->qplib_cq.nq; in bnxt_re_destroy_cq()
3075 bnxt_qplib_destroy_cq(&rdev->qplib_res, &cq->qplib_cq); in bnxt_re_destroy_cq()
3111 cq->qplib_cq.cq_handle = (u64)(unsigned long)(&cq->qplib_cq); in bnxt_re_create_cq()
3117 cq->qplib_cq.sg_info.pgsize = PAGE_SIZE; in bnxt_re_create_cq()
3118 cq->qplib_cq.sg_info.pgshft = PAGE_SHIFT; in bnxt_re_create_cq()
3133 cq->qplib_cq.sg_info.umem = cq->umem; in bnxt_re_create_cq()
3134 cq->qplib_cq.dpi = &uctx->dpi; in bnxt_re_create_cq()
3144 cq->qplib_cq.dpi = &rdev->dpi_privileged; in bnxt_re_create_cq()
3146 cq->qplib_cq.max_wqe = entries; in bnxt_re_create_cq()
3147 cq->qplib_cq.coalescing = &rdev->cq_coalescing; in bnxt_re_create_cq()
3148 cq->qplib_cq.nq = bnxt_re_get_nq(rdev); in bnxt_re_create_cq()
3149 cq->qplib_cq.cnq_hw_ring_id = cq->qplib_cq.nq->ring_id; in bnxt_re_create_cq()
3151 rc = bnxt_qplib_create_cq(&rdev->qplib_res, &cq->qplib_cq); in bnxt_re_create_cq()
3158 cq->cq_period = cq->qplib_cq.period; in bnxt_re_create_cq()
3169 hash_add(rdev->cq_hash, &cq->hash_entry, cq->qplib_cq.id); in bnxt_re_create_cq()
3178 resp.cqid = cq->qplib_cq.id; in bnxt_re_create_cq()
3179 resp.tail = cq->qplib_cq.hwq.cons; in bnxt_re_create_cq()
3180 resp.phase = cq->qplib_cq.period; in bnxt_re_create_cq()
3185 bnxt_qplib_destroy_cq(&rdev->qplib_res, &cq->qplib_cq); in bnxt_re_create_cq()
3205 bnxt_qplib_resize_cq_complete(&rdev->qplib_res, &cq->qplib_cq); in bnxt_re_resize_cq_complete()
3207 cq->qplib_cq.max_wqe = cq->resize_cqe; in bnxt_re_resize_cq_complete()
3237 cq->qplib_cq.id); in bnxt_re_resize_cq()
3244 cq->qplib_cq.id, cqe); in bnxt_re_resize_cq()
3270 memcpy(&sg_info, &cq->qplib_cq.sg_info, sizeof(sg_info)); in bnxt_re_resize_cq()
3271 orig_dpi = cq->qplib_cq.dpi; in bnxt_re_resize_cq()
3273 cq->qplib_cq.sg_info.umem = cq->resize_umem; in bnxt_re_resize_cq()
3274 cq->qplib_cq.sg_info.pgsize = PAGE_SIZE; in bnxt_re_resize_cq()
3275 cq->qplib_cq.sg_info.pgshft = PAGE_SHIFT; in bnxt_re_resize_cq()
3276 cq->qplib_cq.dpi = &uctx->dpi; in bnxt_re_resize_cq()
3278 rc = bnxt_qplib_resize_cq(&rdev->qplib_res, &cq->qplib_cq, entries); in bnxt_re_resize_cq()
3281 cq->qplib_cq.id); in bnxt_re_resize_cq()
3295 memcpy(&cq->qplib_cq.sg_info, &sg_info, sizeof(sg_info)); in bnxt_re_resize_cq()
3296 cq->qplib_cq.dpi = orig_dpi; in bnxt_re_resize_cq()
3826 ncqe = bnxt_qplib_poll_cq(&cq->qplib_cq, cqe, budget, &lib_qp); in bnxt_re_poll_cq()
3840 ncqe += bnxt_qplib_process_flush_list(&cq->qplib_cq, in bnxt_re_poll_cq()
3953 !(bnxt_qplib_is_cq_empty(&cq->qplib_cq))) { in bnxt_re_req_notify_cq()
3957 bnxt_qplib_req_notify_cq(&cq->qplib_cq, type); in bnxt_re_req_notify_cq()
4405 if (tmp_cq->qplib_cq.id == cq_id) { in bnxt_re_search_for_cq()