vDPA/ifcvf: get_vendor_id returns a device specific vendor id
authorZhu Lingshan <lingshan.zhu@intel.com>
Wed, 17 Mar 2021 09:49:27 +0000 (17:49 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 May 2021 08:55:52 +0000 (04:55 -0400)
commit0ecb1960788d0ce627e246303a31843c1f496bed
treef01a238bfc9b101b9eb9474013ff87a98b089c91
parent3a3e0fad16d40a2aa68ddf7eea4acdf48b22dd44
vDPA/ifcvf: get_vendor_id returns a device specific vendor id

In this commit, ifcvf_get_vendor_id() will return
a device specific vendor id of the probed pci device
than a hard code.

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