vDPA/ifcvf: get_config_size should return dev specific config size
authorZhu Lingshan <lingshan.zhu@intel.com>
Mon, 19 Apr 2021 06:33:26 +0000 (14:33 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 May 2021 08:55:54 +0000 (04:55 -0400)
commit5619003173bad626e7d6bd6241c1855b549f9311
tree5086e64f028df6dca8095c2d40b0ab601312cb36
parent6ad31d162a4e0227bd8e854255b37a23a4263900
vDPA/ifcvf: get_config_size should return dev specific config size

get_config_size() should return the size based on the decected
device type.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210419063326.3748-4-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_main.c