Lines Matching refs:qplib_cq
1394 qplqp->scq = &cq->qplib_cq; in bnxt_re_init_qp_attr()
1400 qplqp->rcq = &cq->qplib_cq; in bnxt_re_init_qp_attr()
2931 nq = cq->qplib_cq.nq; in bnxt_re_destroy_cq()
2933 bnxt_qplib_destroy_cq(&rdev->qplib_res, &cq->qplib_cq); in bnxt_re_destroy_cq()
2966 cq->qplib_cq.cq_handle = (u64)(unsigned long)(&cq->qplib_cq); in bnxt_re_create_cq()
2972 cq->qplib_cq.sg_info.pgsize = PAGE_SIZE; in bnxt_re_create_cq()
2973 cq->qplib_cq.sg_info.pgshft = PAGE_SHIFT; in bnxt_re_create_cq()
2988 cq->qplib_cq.sg_info.umem = cq->umem; in bnxt_re_create_cq()
2989 cq->qplib_cq.dpi = &uctx->dpi; in bnxt_re_create_cq()
2999 cq->qplib_cq.dpi = &rdev->dpi_privileged; in bnxt_re_create_cq()
3007 cq->qplib_cq.max_wqe = entries; in bnxt_re_create_cq()
3008 cq->qplib_cq.cnq_hw_ring_id = nq->ring_id; in bnxt_re_create_cq()
3009 cq->qplib_cq.nq = nq; in bnxt_re_create_cq()
3011 rc = bnxt_qplib_create_cq(&rdev->qplib_res, &cq->qplib_cq); in bnxt_re_create_cq()
3018 cq->cq_period = cq->qplib_cq.period; in bnxt_re_create_cq()
3029 resp.cqid = cq->qplib_cq.id; in bnxt_re_create_cq()
3030 resp.tail = cq->qplib_cq.hwq.cons; in bnxt_re_create_cq()
3031 resp.phase = cq->qplib_cq.period; in bnxt_re_create_cq()
3036 bnxt_qplib_destroy_cq(&rdev->qplib_res, &cq->qplib_cq); in bnxt_re_create_cq()
3054 bnxt_qplib_resize_cq_complete(&rdev->qplib_res, &cq->qplib_cq); in bnxt_re_resize_cq_complete()
3056 cq->qplib_cq.max_wqe = cq->resize_cqe; in bnxt_re_resize_cq_complete()
3086 cq->qplib_cq.id); in bnxt_re_resize_cq()
3093 cq->qplib_cq.id, cqe); in bnxt_re_resize_cq()
3119 memcpy(&sg_info, &cq->qplib_cq.sg_info, sizeof(sg_info)); in bnxt_re_resize_cq()
3120 orig_dpi = cq->qplib_cq.dpi; in bnxt_re_resize_cq()
3122 cq->qplib_cq.sg_info.umem = cq->resize_umem; in bnxt_re_resize_cq()
3123 cq->qplib_cq.sg_info.pgsize = PAGE_SIZE; in bnxt_re_resize_cq()
3124 cq->qplib_cq.sg_info.pgshft = PAGE_SHIFT; in bnxt_re_resize_cq()
3125 cq->qplib_cq.dpi = &uctx->dpi; in bnxt_re_resize_cq()
3127 rc = bnxt_qplib_resize_cq(&rdev->qplib_res, &cq->qplib_cq, entries); in bnxt_re_resize_cq()
3130 cq->qplib_cq.id); in bnxt_re_resize_cq()
3144 memcpy(&cq->qplib_cq.sg_info, &sg_info, sizeof(sg_info)); in bnxt_re_resize_cq()
3145 cq->qplib_cq.dpi = orig_dpi; in bnxt_re_resize_cq()
3675 ncqe = bnxt_qplib_poll_cq(&cq->qplib_cq, cqe, budget, &lib_qp); in bnxt_re_poll_cq()
3689 ncqe += bnxt_qplib_process_flush_list(&cq->qplib_cq, in bnxt_re_poll_cq()
3799 !(bnxt_qplib_is_cq_empty(&cq->qplib_cq))) { in bnxt_re_req_notify_cq()
3803 bnxt_qplib_req_notify_cq(&cq->qplib_cq, type); in bnxt_re_req_notify_cq()