diff options
author | Alvaro Karsz <alvaro.karsz@solid-run.com> | 2023-04-13 11:18:55 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-21 10:02:35 +0300 |
commit | 2c4e4a22a3b090e06191f8544d21e0e1d72ce518 (patch) | |
tree | b569024d76ab4f73f878d37af81b04f209669ae7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | af8ececda185078c096852edb4e1d7a2349e6856 (diff) | |
download | linux-2c4e4a22a3b090e06191f8544d21e0e1d72ce518.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions