Lines Matching refs:cq
96 struct ib_cq *cq; member
344 static void cq_comp_handler(struct ib_cq *cq, void *cq_context) in cq_comp_handler() argument
351 ib_req_notify_cq(rdma->cq, IB_CQ_NEXT_COMP); in cq_comp_handler()
352 while ((ret = ib_poll_cq(cq, 1, &wc)) > 0) { in cq_comp_handler()
394 if (rdma->cq && !IS_ERR(rdma->cq)) in rdma_destroy_trans()
395 ib_destroy_cq(rdma->cq); in rdma_destroy_trans()
708 rdma->cq = ib_create_cq(rdma->cm_id->device, cq_comp_handler, in rdma_create_trans()
711 if (IS_ERR(rdma->cq)) in rdma_create_trans()
713 ib_req_notify_cq(rdma->cq, IB_CQ_NEXT_COMP); in rdma_create_trans()
741 qp_attr.send_cq = rdma->cq; in rdma_create_trans()
742 qp_attr.recv_cq = rdma->cq; in rdma_create_trans()