]> git.droids-corp.org - dpdk.git/commit
vdpa/ifc: support virtio block device
authorAndy Pei <andy.pei@intel.com>
Tue, 24 May 2022 02:48:05 +0000 (10:48 +0800)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Wed, 1 Jun 2022 09:50:09 +0000 (11:50 +0200)
commita60b747d0adb59300343078459f153e7793811ba
tree9853b2dccfe379481c7d1e8dbfbc8b3629fe3c75
parent9e89b06d027c6087624f36f288bd82c643c5a269
vdpa/ifc: support virtio block device

Re-use the vdpa/ifc code, distinguish blk and net device by pci_device_id.
Blk and net device are implemented with proper feature and ops.

Signed-off-by: Andy Pei <andy.pei@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
drivers/vdpa/ifc/base/ifcvf.h
drivers/vdpa/ifc/ifcvf_vdpa.c