Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c323 static void rx_post(struct mlx5_vdpa_qp *vqp, int n) in rx_post() argument
325 vqp->head += n; in rx_post()
326 vqp->db.db[0] = cpu_to_be32(vqp->head); in rx_post()
332 struct mlx5_vdpa_qp *vqp; in qp_prepare() local
336 vqp = fw ? &mvq->fwqp : &mvq->vqqp; in qp_prepare()
339 if (vqp->fw) { in qp_prepare()
354 MLX5_SET(qpc, qpc, log_page_size, vqp->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in qp_prepare()
360 mlx5_fill_page_frag_array(&vqp->frag_buf, pas); in qp_prepare()
363 static int rq_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_qp *vqp, u32 num_ent) in rq_buf_alloc() argument
366 num_ent * sizeof(struct mlx5_wqe_data_seg), &vqp->frag_buf, in rq_buf_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c512 struct pvrdma_qp *vqp = to_vqp(qp); in pvrdma_destroy_qp() local
514 _pvrdma_destroy_qp_work(to_vdev(qp->device), vqp->qp_handle); in pvrdma_destroy_qp()
515 pvrdma_free_qp(vqp); in pvrdma_destroy_qp()