Lines Matching refs:mcq

890 	mlx5_core_destroy_cq(mdev, &cq->mcq);  in mlx5vf_destroy_cq()
895 static void mlx5vf_cq_event(struct mlx5_core_cq *mcq, enum mlx5_event type) in mlx5vf_cq_event() argument
900 set_tracker_error(container_of(mcq, struct mlx5vf_pci_core_device, in mlx5vf_cq_event()
901 tracker.cq.mcq)); in mlx5vf_cq_event()
936 static void mlx5vf_cq_complete(struct mlx5_core_cq *mcq, in mlx5vf_cq_complete() argument
940 container_of(mcq, struct mlx5vf_pci_core_device, in mlx5vf_cq_complete()
941 tracker.cq.mcq); in mlx5vf_cq_complete()
965 cq->mcq.set_ci_db = cq->db.db; in mlx5vf_create_cq()
966 cq->mcq.arm_db = cq->db.db + 1; in mlx5vf_create_cq()
967 cq->mcq.cqe_sz = cqe_size; in mlx5vf_create_cq()
996 cq->mcq.comp = mlx5vf_cq_complete; in mlx5vf_create_cq()
997 cq->mcq.event = mlx5vf_cq_event; in mlx5vf_create_cq()
998 err = mlx5_core_create_cq(mdev, &cq->mcq, in, inlen, out, sizeof(out)); in mlx5vf_create_cq()
1002 mlx5_cq_arm(&cq->mcq, MLX5_CQ_DB_REQ_NOT, tracker->uar->map, in mlx5vf_create_cq()
1003 cq->mcq.cons_index); in mlx5vf_create_cq()
1071 MLX5_SET(qpc, qpc, cqn_rcv, tracker->cq.mcq.cqn); in mlx5vf_create_rc_qp()
1529 cqe64 = (cq->mcq.cqe_sz == 64) ? cqe : cqe + 64; in get_sw_cqe()
1546 cqe = get_sw_cqe(cq, cq->mcq.cons_index); in mlx5vf_cq_poll_one()
1550 ++cq->mcq.cons_index; in mlx5vf_cq_poll_one()
1600 mlx5_cq_arm(&cq->mcq, MLX5_CQ_DB_REQ_NOT, tracker->uar->map, in mlx5vf_tracker_read_and_clear()
1601 cq->mcq.cons_index); in mlx5vf_tracker_read_and_clear()
1613 mlx5_cq_set_ci(&cq->mcq); in mlx5vf_tracker_read_and_clear()