Lines Matching refs:mcq

936 	mlx5_core_destroy_cq(mdev, &cq->mcq);  in mlx5vf_destroy_cq()
941 static void mlx5vf_cq_event(struct mlx5_core_cq *mcq, enum mlx5_event type) in mlx5vf_cq_event() argument
946 set_tracker_error(container_of(mcq, struct mlx5vf_pci_core_device, in mlx5vf_cq_event()
947 tracker.cq.mcq)); in mlx5vf_cq_event()
982 static void mlx5vf_cq_complete(struct mlx5_core_cq *mcq, in mlx5vf_cq_complete() argument
986 container_of(mcq, struct mlx5vf_pci_core_device, in mlx5vf_cq_complete()
987 tracker.cq.mcq); in mlx5vf_cq_complete()
1011 cq->mcq.set_ci_db = cq->db.db; in mlx5vf_create_cq()
1012 cq->mcq.arm_db = cq->db.db + 1; in mlx5vf_create_cq()
1013 cq->mcq.cqe_sz = cqe_size; in mlx5vf_create_cq()
1042 cq->mcq.comp = mlx5vf_cq_complete; in mlx5vf_create_cq()
1043 cq->mcq.event = mlx5vf_cq_event; in mlx5vf_create_cq()
1044 err = mlx5_core_create_cq(mdev, &cq->mcq, in, inlen, out, sizeof(out)); in mlx5vf_create_cq()
1048 mlx5_cq_arm(&cq->mcq, MLX5_CQ_DB_REQ_NOT, tracker->uar->map, in mlx5vf_create_cq()
1049 cq->mcq.cons_index); in mlx5vf_create_cq()
1117 MLX5_SET(qpc, qpc, cqn_rcv, tracker->cq.mcq.cqn); in mlx5vf_create_rc_qp()
1575 cqe64 = (cq->mcq.cqe_sz == 64) ? cqe : cqe + 64; in get_sw_cqe()
1592 cqe = get_sw_cqe(cq, cq->mcq.cons_index); in mlx5vf_cq_poll_one()
1596 ++cq->mcq.cons_index; in mlx5vf_cq_poll_one()
1646 mlx5_cq_arm(&cq->mcq, MLX5_CQ_DB_REQ_NOT, tracker->uar->map, in mlx5vf_tracker_read_and_clear()
1647 cq->mcq.cons_index); in mlx5vf_tracker_read_and_clear()
1659 mlx5_cq_set_ci(&cq->mcq); in mlx5vf_tracker_read_and_clear()