Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c367 static void rx_post(struct mlx5_vdpa_qp *vqp, int n) in rx_post() argument
369 vqp->head += n; in rx_post()
370 vqp->db.db[0] = cpu_to_be32(vqp->head); in rx_post()
376 struct mlx5_vdpa_qp *vqp; in qp_prepare() local
380 vqp = fw ? &mvq->fwqp : &mvq->vqqp; in qp_prepare()
383 if (vqp->fw) { in qp_prepare()
398 MLX5_SET(qpc, qpc, log_page_size, vqp->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in qp_prepare()
404 mlx5_fill_page_frag_array(&vqp->frag_buf, pas); in qp_prepare()
407 static int rq_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_qp *vqp, u32 num_ent) in rq_buf_alloc() argument
410 num_ent * sizeof(struct mlx5_wqe_data_seg), &vqp->frag_buf, in rq_buf_alloc()
[all …]
/linux-6.12.1/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c501 struct pvrdma_qp *vqp = to_vqp(qp); in pvrdma_destroy_qp() local
503 _pvrdma_destroy_qp_work(to_vdev(qp->device), vqp->qp_handle); in pvrdma_destroy_qp()
504 pvrdma_free_qp(vqp); in pvrdma_destroy_qp()