linux-stable/drivers/vdpa/ifcvf
Zhu Lingshan 30326f9577 vDPA/ifcvf: introduce get_dev_type() which returns virtio dev id
This commit introduces a new function get_dev_type() which returns
the virtio device id of a device, to avoid duplicated code.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210812032454.24486-2-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-09-05 16:23:07 -04:00
..
ifcvf_base.c vDPA/ifcvf: record virtio notify base 2021-07-03 04:50:51 -04:00
ifcvf_base.h vDPA/ifcvf: reuse pre-defined macros for device ids and vendor ids 2021-07-03 04:50:51 -04:00
ifcvf_main.c vDPA/ifcvf: introduce get_dev_type() which returns virtio dev id 2021-09-05 16:23:07 -04:00
Makefile