]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa: add get_config_size callback in vdpa_config_ops
authorStefano Garzarella <sgarzare@redhat.com>
Mon, 15 Mar 2021 16:34:44 +0000 (17:34 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 May 2021 08:55:53 +0000 (04:55 -0400)
commit06099aa5a55320a97f76f695e47d85d7be3216b3
tree27fbf1922674767f6d4f0b63486b9c6c3f85e940
parentf747ede4f0c94a6facf27dd7b37ccdcdd2ac67a3
vdpa: add get_config_size callback in vdpa_config_ops

This new callback is used to get the size of the configuration space
of vDPA devices.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20210315163450.254396-9-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vdpa/ifcvf/ifcvf_main.c
drivers/vdpa/mlx5/net/mlx5_vnet.c
drivers/vdpa/vdpa_sim/vdpa_sim.c
drivers/vdpa/virtio_pci/vp_vdpa.c
include/linux/vdpa.h