Alvaro Karsz 2c4e4a22a3 virtio-vdpa: add VIRTIO_F_NOTIFICATION_DATA feature support
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:
16 bits vqn and 16 bits next available index for split virtqueues.
16 bits vqs, 15 least significant bits of next available index
and 1 bit next_wrap for packed virtqueues.

This patch follows a patch [1] by Viktor Prutyanov which adds support
for the MMIO, channel I/O and modern PCI transports.

Signed-off-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Message-Id: <20230413081855.36643-3-alvaro.karsz@solid-run.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
2023-04-21 03:02:35 -04:00
..
2023-04-14 15:15:32 +02:00
2023-03-16 16:54:38 +09:00
2023-04-10 13:35:54 -07:00
2023-04-13 15:21:56 -07:00
2023-03-21 10:47:06 -07:00
2023-02-25 09:19:23 -08:00
2023-02-24 12:58:55 -08:00
2023-03-24 15:38:13 -07:00
2023-02-24 12:58:55 -08:00
2023-04-07 13:53:16 -07:00
2023-04-13 20:47:58 +02:00
2023-04-12 17:26:00 -07:00
2023-02-24 12:58:55 -08:00
2023-04-15 11:06:49 -07:00
2023-02-28 16:05:01 -08:00
2023-02-21 12:13:58 -08:00
2023-03-28 13:30:55 +02:00
2023-04-01 14:09:51 -07:00
2023-02-24 12:58:55 -08:00
2023-02-25 11:30:21 -08:00
2023-02-23 15:09:31 -08:00
2023-02-25 11:00:06 -08:00
2023-03-31 12:35:03 -07:00
2023-02-27 09:47:26 -08:00
2023-02-25 11:48:02 -08:00
2023-04-13 15:21:56 -07:00
2023-04-11 11:59:49 -07:00
2023-02-24 12:58:55 -08:00
2023-02-27 10:04:49 -08:00
2023-04-06 10:13:23 -07:00
2023-03-24 19:17:22 -07:00
2023-03-27 01:42:01 +01:00
2023-02-27 10:04:49 -08:00
2023-02-26 12:10:28 -08:00
2023-03-03 09:15:50 -08:00
2023-04-15 10:49:47 -07:00
2023-03-01 09:44:22 -08:00
2023-02-24 17:29:52 -08:00
2023-04-13 15:21:56 -07:00
2023-03-09 10:06:28 +01:00
2023-04-08 12:17:46 -07:00
2023-04-21 03:02:33 -04:00
2023-04-13 20:47:58 +02:00
2023-03-02 11:12:01 -08:00
2023-03-17 10:45:49 -07:00
2023-02-26 11:53:25 -08:00