Home
last modified time | relevance | path

Searched refs:vcq (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c318 static void *get_cqe(struct mlx5_vdpa_cq *vcq, int n) in get_cqe() argument
320 return mlx5_frag_buf_get_wqe(&vcq->buf.fbc, n); in get_cqe()
323 static void cq_frag_buf_init(struct mlx5_vdpa_cq *vcq, struct mlx5_vdpa_cq_buf *buf) in cq_frag_buf_init() argument
330 cqe = get_cqe(vcq, i); in cq_frag_buf_init()
479 static int mlx5_vdpa_poll_one(struct mlx5_vdpa_cq *vcq) in mlx5_vdpa_poll_one() argument
483 cqe64 = next_cqe_sw(vcq); in mlx5_vdpa_poll_one()
487 vcq->mcq.cons_index++; in mlx5_vdpa_poll_one()
541 struct mlx5_vdpa_cq *vcq = &mvq->cq; in cq_create() local
549 err = mlx5_db_alloc(mdev, &vcq->db); in cq_create()
553 vcq->mcq.set_ci_db = vcq->db.db; in cq_create()
[all …]
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_cq.c243 struct pvrdma_cq *vcq = to_vcq(cq); in pvrdma_destroy_cq() local
252 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()