virtio: introduce a vDPA based transport
authorJason Wang <jasowang@redhat.com>
Thu, 26 Mar 2020 14:01:22 +0000 (22:01 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 1 Apr 2020 16:06:26 +0000 (12:06 -0400)
commitc043b4a8cf3b16fbdcaec1126841431c33b16e98
treebb943ba36b674ee24274f4ef5a0bd62e7ef17fb3
parent961e9c84077f6c8579d7a628cbe94a675cb67ae4
virtio: introduce a vDPA based transport

This patch introduces a vDPA transport for virtio. This is used to
use kernel virtio driver to drive the vDPA device that is capable
of populating virtqueue directly.

A new virtio-vdpa driver will be registered to the vDPA bus, when a
new virtio-vdpa device is probed, it will register the device with
vdpa based config ops. This means it is a software transport between
vDPA driver and vDPA device. The transport was implemented through
bus_ops of vDPA parent.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200326140125.19794-7-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/Kconfig
drivers/virtio/Makefile
drivers/virtio/virtio_vdpa.c [new file with mode: 0644]