Lines Matching refs:mcq
830 struct mlx4_ib_cq *mcq; in create_rq() local
930 mcq = to_mcq(init_attr->send_cq); in create_rq()
931 list_add_tail(&qp->cq_send_list, &mcq->send_qp_list); in create_rq()
932 mcq = to_mcq(init_attr->recv_cq); in create_rq()
933 list_add_tail(&qp->cq_recv_list, &mcq->recv_qp_list); in create_rq()
962 struct mlx4_ib_cq *mcq; in create_qp_common() local
1204 mcq = to_mcq(init_attr->send_cq); in create_qp_common()
1205 list_add_tail(&qp->cq_send_list, &mcq->send_qp_list); in create_qp_common()
1206 mcq = to_mcq(init_attr->recv_cq); in create_qp_common()
1207 list_add_tail(&qp->cq_recv_list, &mcq->recv_qp_list); in create_qp_common()
1269 } else if (send_cq->mcq.cqn < recv_cq->mcq.cqn) { in mlx4_ib_lock_cqs()
1284 } else if (send_cq->mcq.cqn < recv_cq->mcq.cqn) { in mlx4_ib_unlock_cqs()
2324 context->cqn_send = cpu_to_be32(send_cq->mcq.cqn); in __mlx4_ib_modify_qp()
2325 context->cqn_recv = cpu_to_be32(recv_cq->mcq.cqn); in __mlx4_ib_modify_qp()
4371 struct mlx4_ib_cq *mcq = to_mcq(cq); in handle_drain_completion() local
4377 if (!mcq->mcq.reset_notify_added) in handle_drain_completion()
4378 mcq->mcq.reset_notify_added = 1; in handle_drain_completion()
4401 mcq->mcq.comp(&mcq->mcq); in handle_drain_completion()