[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 0/8] virtio,vhost: Add VIRTIO_F_NOTIFICATION_DATA support
From: |
Eugenio Perez Martin |
Subject: |
Re: [RFC 0/8] virtio,vhost: Add VIRTIO_F_NOTIFICATION_DATA support |
Date: |
Fri, 1 Mar 2024 21:32:29 +0100 |
Hi Wentao / Rick / Xinying Yu,
Would it work for you to test this series on your use cases, so we
make sure everything works as expected?
Thanks!
On Fri, Mar 1, 2024 at 2:44 PM Jonah Palmer <jonah.palmer@oracle.com> wrote:
>
> The goal of these patches are to add support to a variety of virtio and
> vhost devices for the VIRTIO_F_NOTIFICATION_DATA transport feature. This
> feature indicates that a driver will pass extra data (instead of just a
> virtqueue's index) when notifying the corresponding device.
>
> The data passed in by the driver when this feature is enabled varies in
> format depending on if the device is using a split or packed virtqueue
> layout:
>
> Split VQ
> - Upper 16 bits: last_avail_idx
> - Lower 16 bits: virtqueue index
>
> Packed VQ
> - Upper 16 bits: 1-bit wrap counter & 15-bit last_avail_idx
> - Lower 16 bits: virtqueue index
>
> Also, due to the limitations of ioeventfd not being able to carry the
> extra provided by the driver, ioeventfd is left disabled for any devices
> using this feature.
>
> A significant aspect of this effort has been to maintain compatibility
> across different backends. As such, the feature is offered by backend
> devices only when supported, with fallback mechanisms where backend
> support is absent.
>
Hi Wentao,
- [RFC 3/8] virtio-mmio: Handle extra notification data, (continued)
- [RFC 3/8] virtio-mmio: Handle extra notification data, Jonah Palmer, 2024/03/01
- [RFC 6/8] virtio-ccw: Lock ioeventfd state with VIRTIO_F_NOTIFICATION_DATA, Jonah Palmer, 2024/03/01
- [RFC 5/8] virtio-ccw: Handle extra notification data, Jonah Palmer, 2024/03/01
- [RFC 7/8] vhost/vhost-user: Add VIRTIO_F_NOTIFICATION_DATA to vhost feature bits, Jonah Palmer, 2024/03/01
- [RFC 8/8] virtio: Add VIRTIO_F_NOTIFICATION_DATA property definition, Jonah Palmer, 2024/03/01
- Re: [RFC 0/8] virtio,vhost: Add VIRTIO_F_NOTIFICATION_DATA support,
Eugenio Perez Martin <=