]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:40:21 +0000 (16:40 -0700)
commitda0f5773e762344da14a1c777e9a06b471de07ca
tree8fe6920dbfde1f07cc15816e38e79db6554ab676
parent67f8296acd8eb1b35791190a3a9c328a07c88033
ixgbe: Save VF info and take references

Orabug: 23177316

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>
(cherry picked from commit 988d13073fe122f0b6a2b80b5f2aa1b0717f9edb)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c