Re: [PATCH v2] virtio-vdpa: add VIRTIO_F_NOTIFICATION_DATA feature support

2023-04-11 Thread Michael S. Tsirkin
On Tue, Apr 11, 2023 at 01:25:53PM +0800, Jason Wang wrote: > On Sun, Apr 9, 2023 at 3:07 PM Alvaro Karsz > wrote: > > > > Add VIRTIO_F_NOTIFICATION_DATA support for vDPA transport. > > If this feature is negotiated, the driver passes extra data when kicking > > a virtqueue. > > > > A device that

Re: [PATCH v2] virtio-vdpa: add VIRTIO_F_NOTIFICATION_DATA feature support

2023-04-10 Thread Jason Wang
On Sun, Apr 9, 2023 at 3:07 PM Alvaro Karsz wrote: > > Add VIRTIO_F_NOTIFICATION_DATA support for vDPA transport. > If this feature is negotiated, the driver passes extra data when kicking > a virtqueue. > > A device that offers this feature needs to implement the > kick_vq_with_data callback. > >

[PATCH v2] virtio-vdpa: add VIRTIO_F_NOTIFICATION_DATA feature support

2023-04-09 Thread Alvaro Karsz
Add VIRTIO_F_NOTIFICATION_DATA support for vDPA transport. If this feature is negotiated, the driver passes extra data when kicking a virtqueue. A device that offers this feature needs to implement the kick_vq_with_data callback. kick_vq_with_data receives the vDPA device and data. data includes: