linux/drivers/vdpa
Max Gurtovoy 0c853c2c29 vdpa: add vdpa simulator for block device
This will allow running vDPA for virtio block protocol.

It's a preliminary implementation with a simple request handling:
for each request, only the status (last byte) is set.
It's always set to VIRTIO_BLK_S_OK.

Also input validation is missing and will be added in the next commits.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
[sgarzare: various cleanups/fixes]
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20210315163450.254396-12-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-05-03 04:55:53 -04:00
..
ifcvf vdpa: add get_config_size callback in vdpa_config_ops 2021-05-03 04:55:53 -04:00
mlx5 vdpa: add get_config_size callback in vdpa_config_ops 2021-05-03 04:55:53 -04:00
vdpa_sim vdpa: add vdpa simulator for block device 2021-05-03 04:55:53 -04:00
virtio_pci vdpa: add get_config_size callback in vdpa_config_ops 2021-05-03 04:55:53 -04:00
Kconfig vdpa: add vdpa simulator for block device 2021-05-03 04:55:53 -04:00
Makefile vdpa: introduce virtio pci driver 2021-05-03 04:55:51 -04:00
vdpa.c vdpa: Follow kdoc comment style 2021-05-03 04:55:51 -04:00