diff options
author | Zhu Lingshan <lingshan.zhu@intel.com> | 2021-04-19 14:33:24 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-05-03 04:55:54 -0400 |
commit | 26bfea1309f5d4faad33383d2d82a3463f518982 (patch) | |
tree | ccedc2b43fcf759c13d5e207a168b2d0e35755de /drivers/platform/surface/aggregator/controller.c | |
parent | 899c4d187f6a5c11d8eae33506fa0736dbabc39f (diff) |
vDPA/ifcvf: deduce VIRTIO device ID when probe
This commit deduces VIRTIO device ID as device type when probe,
then ifcvf_vdpa_get_device_id() can simply return the ID.
ifcvf_vdpa_get_features() and ifcvf_vdpa_get_config_size()
can work properly based on the device ID.
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/20210419063326.3748-2-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions