]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Reconfigure SR-IOV Init
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 24 Aug 2011 02:37:55 +0000 (02:37 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:08:41 +0000 (22:08 +0800)
commitf833204c0d9ca7896360635c05d435b71590b414
treee66d3a511f5472a152c9f48958890a1889c6f46f
parent8b640519702f2bd2bdf19c84d52cf29d3be314e2
ixgbe: Reconfigure SR-IOV Init

Use the PCI device flag indicating if a VF is assigned to a guest VM
to guard against destroying VFs upon driver removal.  Implement
additional feature to detect if VFs already exist when the driver
is loaded and if so configure them and set the driver state to
SR-IOV enabled.

(cherry picked from commit c6bda30a06d925b68d86e61c289d3ce980d4a36c)
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_sriov.c
drivers/net/ixgbe/ixgbe_sriov.h
drivers/net/ixgbe/ixgbe_type.h