search for: vq_state_not_ready

Displaying 4 results from an estimated 4 matches for "vq_state_not_ready".

2020 Jul 16
0
[PATCH vhost next 06/10] vdpa: Add means to communicate vq status on get_vq_state
On 2020/7/16 ??3:23, Eli Cohen wrote: > Currently, get_vq_state() is used only to pass the available index value > of a vq. Extend the struct to return status on the VQ to the caller. > For now, define VQ_STATE_NOT_READY. In the future it will be extended to > include other infomration. > > Modify current vdpa driver to update this field. > > Reviewed-by: Parav Pandit <parav at mellanox.com> > Signed-off-by: Eli Cohen <eli at mellanox.com> What's the difference between this and g...
2020 Jul 16
0
[PATCH vhost next 06/10] vdpa: Add means to communicate vq status on get_vq_state
...hu, Jul 16, 2020 at 04:11:00PM +0800, Jason Wang wrote: >> On 2020/7/16 ??3:23, Eli Cohen wrote: >>> Currently, get_vq_state() is used only to pass the available index value >>> of a vq. Extend the struct to return status on the VQ to the caller. >>> For now, define VQ_STATE_NOT_READY. In the future it will be extended to >>> include other infomration. >>> >>> Modify current vdpa driver to update this field. >>> >>> Reviewed-by: Parav Pandit<parav at mellanox.com> >>> Signed-off-by: Eli Cohen<eli at mellanox.com>...
2020 Jul 20
0
[PATCH vhost next 06/10] vdpa: Add means to communicate vq status on get_vq_state
...0800, Jason Wang wrote: >>>> On 2020/7/16 ??3:23, Eli Cohen wrote: >>>>> Currently, get_vq_state() is used only to pass the available index value >>>>> of a vq. Extend the struct to return status on the VQ to the caller. >>>>> For now, define VQ_STATE_NOT_READY. In the future it will be extended to >>>>> include other infomration. >>>>> >>>>> Modify current vdpa driver to update this field. >>>>> >>>>> Reviewed-by: Parav Pandit<parav at mellanox.com> >>>>> Sign...
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...goto not_ready; > + > + err = query_virtqueue(ndev, mvq, &attr); > + if (err) { > + mlx5_vdpa_warn(mvdev, "failed to query virtqueue\n"); > + goto not_ready; > + } > + state->avail_index = attr.available_index; > + > +not_ready: > + state->state = VQ_STATE_NOT_READY; > +} > + > +static u32 mlx5_vdpa_get_vq_align(struct vdpa_device *vdev) > +{ > + return PAGE_SIZE; > +} > + > +enum { MLX5_VIRTIO_NET_F_GUEST_CSUM = 1 << 9, > + MLX5_VIRTIO_NET_F_CSUM = 1 << 10, > + MLX5_VIRTIO_NET_F_HOST_TSO6 = 1 << 11, > + MLX5_...