]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: Use pci_sriov_configure_simple() to enable VFs
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 24 Apr 2018 21:47:27 +0000 (16:47 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Apr 2018 21:47:27 +0000 (16:47 -0500)
commitb0573c95bd2b3a1a584a68481e9cd969cb979814
tree827d43c22275513b2867a9e2ee2b6efd76410cff
parent0a02c675e8c1e2faf6ecdd81a20b723493ade458
nvme-pci: Use pci_sriov_configure_simple() to enable VFs

Instead of implementing our own version of a SR-IOV configuration stub in
the nvme driver, use the existing pci_sriov_configure_simple() function.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c