Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c354 struct mlx5_vdpa_virtqueue *mvq, u32 num_ent) in qp_prepare() argument
360 vqp = fw ? &mvq->fwqp : &mvq->vqqp; in qp_prepare()
380 MLX5_SET(qpc, qpc, cqn_rcv, mvq->cq.mcq.cqn); in qp_prepare()
399 static int qp_create(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_virtqueue *mvq, in qp_create() argument
410 vqp = &mvq->vqqp; in qp_create()
411 err = rq_buf_alloc(ndev, vqp, mvq->num_ent); in qp_create()
427 qp_prepare(ndev, vqp->fw, in, mvq, mvq->num_ent); in qp_create()
445 rx_post(vqp, mvq->num_ent); in qp_create()
491 static void mlx5_vdpa_handle_completions(struct mlx5_vdpa_virtqueue *mvq, int num) in mlx5_vdpa_handle_completions() argument
493 struct mlx5_vdpa_net *ndev = mvq->ndev; in mlx5_vdpa_handle_completions()
[all …]