]> asedeno.scripts.mit.edu Git - linux.git/commit
net: ena: Use pci_sriov_configure_simple() to enable VFs
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 24 Apr 2018 21:47:22 +0000 (16:47 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Apr 2018 21:47:22 +0000 (16:47 -0500)
commit115ddc491922c3c133551e9cff2d3bfaed02a27e
treec6df62a6d10a707ca0eceaffd29f7ee638d78a48
parenta8ccf8a666639ca9184e8b23d515d9fbe722a27d
net: ena: Use pci_sriov_configure_simple() to enable VFs

Instead of implementing our own version of a SR-IOV configuration stub in
the ena 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: Greg Rose <gvrose8192@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/net/ethernet/amazon/ena/ena_netdev.c