[Intel-wired-lan] [PATCH V2] ixgbe: Save VF info and take references

Miller, Darin J darin.j.miller at intel.com
Wed Nov 4 01:30:36 UTC 2015

-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Mark D Rustad
Sent: Friday, October 30, 2015 3:30 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH V2] 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 at intel.com>
Changes in V2:
- Added check for a status register of 0xffff as suggested by Don Dutile
  at RedHat.
 drivers/net/ethernet/intel/ixgbe/ixgbe.h       |    1 
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c  |   31 +++++----------
 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c |   50 +++++++++++++++++++++++-
 3 files changed, 59 insertions(+), 23 deletions(-)

Tested-by: Darin Miller <darin.j.miller at intel.com>

More information about the Intel-wired-lan mailing list