linux/drivers/vdpa
Stefano Garzarella c124a95e30 vdpa_sim: add set_config callback in vdpasim_dev_attr
The set_config callback can be used by the device to parse the
config structure modified by the driver.

The callback will be invoked, if set, in vdpasim_set_config() after
copying bytes from caller buffer into vdpasim->config buffer.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20201215144256.155342-14-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-12-18 16:14:29 -05:00
..
ifcvf vdpa: ifcvf: Use dma_set_mask_and_coherent to simplify code 2020-12-18 16:14:28 -05:00
mlx5 vdpa/mlx5: Fix error return in map_direct_mr() 2020-10-30 04:02:34 -04:00
vdpa_sim vdpa_sim: add set_config callback in vdpasim_dev_attr 2020-12-18 16:14:29 -05:00
Kconfig vdpa: remove unnecessary 'default n' in Kconfig entries 2020-12-18 16:14:28 -05:00
Makefile vdpa/mlx5: Add support library for mlx5 VDPA implementation 2020-08-05 19:00:23 -04:00
vdpa.c vdpa: remove hard coded virtq num 2020-08-05 18:39:18 -04:00