Searched refs:vcq (Results 1 – 2 of 2) sorted by relevance
244 struct pvrdma_cq *vcq = to_vcq(cq); in pvrdma_destroy_cq() local253 cmd->cq_handle = vcq->cq_handle; in pvrdma_destroy_cq()263 dev->cq_tbl[vcq->cq_handle] = NULL; in pvrdma_destroy_cq()266 pvrdma_free_cq(dev, vcq); in pvrdma_destroy_cq()
338 static void *get_cqe(struct mlx5_vdpa_cq *vcq, int n) in get_cqe() argument340 return mlx5_frag_buf_get_wqe(&vcq->buf.fbc, n); in get_cqe()343 static void cq_frag_buf_init(struct mlx5_vdpa_cq *vcq, struct mlx5_vdpa_cq_buf *buf) in cq_frag_buf_init() argument350 cqe = get_cqe(vcq, i); in cq_frag_buf_init()499 static int mlx5_vdpa_poll_one(struct mlx5_vdpa_cq *vcq) in mlx5_vdpa_poll_one() argument503 cqe64 = next_cqe_sw(vcq); in mlx5_vdpa_poll_one()507 vcq->mcq.cons_index++; in mlx5_vdpa_poll_one()561 struct mlx5_vdpa_cq *vcq = &mvq->cq; in cq_create() local569 err = mlx5_db_alloc(mdev, &vcq->db); in cq_create()573 vcq->mcq.set_ci_db = vcq->db.db; in cq_create()[all …]