search for: qp_creat

Displaying 2 results from an estimated 2 matches for "qp_creat".

Did you mean: qp_create
2020 Jul 21
0
[PATCH V2 vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...rol which VF is used for VDPA and which function > is used for regular networking. > > Reviewed-by: Parav Pandit<parav at mellanox.com> > Signed-off-by: Eli Cohen<eli at mellanox.com> > --- > Changes from V0: > 1. Fix include path usage > 2. Fix use after free in qp_create() > 3. Consistently use mvq->initialized to check if a vq was initialized. > 4. Remove unused local variable. > 5. Defer modifyig vq to ready to driver ok > 6. suspend hardware vq in set_vq_ready(0) > 7. Remove reservation for control VQ since it multi queue is not supported in t...
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...wqe_data_seg), &vqp->frag_buf, > + ndev->mvdev.mdev->priv.numa_node); > +} > + > +static void rq_buf_free(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_qp *vqp) > +{ > + mlx5_frag_buf_free(ndev->mvdev.mdev, &vqp->frag_buf); > +} > + > +static int qp_create(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_virtqueue *mvq, > + struct mlx5_vdpa_qp *vqp) > +{ > + struct mlx5_core_dev *mdev = ndev->mvdev.mdev; > + int inlen = MLX5_ST_SZ_BYTES(create_qp_in); > + u32 out[MLX5_ST_SZ_DW(create_qp_out)] = {}; > + void *qpc; > + void *...