Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c320 static void *get_cqe(struct mlx5_vdpa_cq *vcq, int n) in get_cqe() argument
322 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() argument
332 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() argument
485 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() local
551 err = mlx5_db_alloc(mdev, &vcq->db); in cq_create()
555 vcq->mcq.set_ci_db = vcq->db.db; in cq_create()
[all …]
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
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()