Searched refs:vcq (Results 1 – 2 of 2) sorted by relevance
320 static void *get_cqe(struct mlx5_vdpa_cq *vcq, int n) in get_cqe() argument322 return mlx5_frag_buf_get_wqe(&vcq->buf.fbc, n); in get_cqe()325 static void cq_frag_buf_init(struct mlx5_vdpa_cq *vcq, struct mlx5_vdpa_cq_buf *buf) in cq_frag_buf_init() argument332 cqe = get_cqe(vcq, i); in cq_frag_buf_init()481 static int mlx5_vdpa_poll_one(struct mlx5_vdpa_cq *vcq) in mlx5_vdpa_poll_one() argument485 cqe64 = next_cqe_sw(vcq); in mlx5_vdpa_poll_one()489 vcq->mcq.cons_index++; in mlx5_vdpa_poll_one()543 struct mlx5_vdpa_cq *vcq = &mvq->cq; in cq_create() local551 err = mlx5_db_alloc(mdev, &vcq->db); in cq_create()555 vcq->mcq.set_ci_db = vcq->db.db; in cq_create()[all …]
243 struct pvrdma_cq *vcq = to_vcq(cq); in pvrdma_destroy_cq() local252 cmd->cq_handle = vcq->cq_handle; in pvrdma_destroy_cq()262 dev->cq_tbl[vcq->cq_handle] = NULL; in pvrdma_destroy_cq()265 pvrdma_free_cq(dev, vcq); in pvrdma_destroy_cq()