]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_pci: support enabling VFs
authorTiwei Bie <tiwei.bie@intel.com>
Fri, 1 Jun 2018 04:02:39 +0000 (12:02 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Jun 2018 01:59:29 +0000 (04:59 +0300)
commit8809be2c0282d6f382e73f516049e9542f62ab04
treee1d6119d7345b602e538f1eb6be11ad432e4ee3c
parentcf5e4ae83de17027a68404087e87b677ce0a431a
virtio_pci: support enabling VFs

There is a new feature bit allocated in virtio spec to
support SR-IOV (Single Root I/O Virtualization):

https://github.com/oasis-tcs/virtio-spec/issues/11

This patch enables the support for this feature bit in
virtio driver.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_common.c
drivers/virtio/virtio_pci_modern.c
include/uapi/linux/virtio_config.h