OSDN Git Service

ixgbe: Save VF info and take references
authorMark Rustad <mark.d.rustad@intel.com>
Fri, 30 Oct 2015 22:29:34 +0000 (15:29 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Dec 2015 10:32:14 +0000 (02:32 -0800)
commit988d13073fe122f0b6a2b80b5f2aa1b0717f9edb
tree1d7008bc8d074ebd69901f329f17c387c63814b4
parent48b44612738793252c97c548f3d0bd56543d5273
ixgbe: Save VF info and take references

Save VF device pointers and take references to speed accesses used
to monitor the device behavior to avoid slot resets. The saved
information avoids lock contention during the search used to access
each of the VFs.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Darin Miller <darin.j.miller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c