Bug 845396

Summary: ixgbe's VF existence check incorrect
Product: Red Hat Enterprise Linux 6 Reporter: Don Dutile (Red Hat) <ddutile>
Component: kernelAssignee: Andy Gospodarek <agospoda>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.3CC: agospoda, dbayly, ddutile, moli, peterm
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 845397 (view as bug list) Environment:
Last Closed: 2013-04-23 17:35:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 845397    

Description Don Dutile (Red Hat) 2012-08-02 23:32:09 UTC
Description of problem:
When ixgbe's Physical Function(PF) probe is executed and it's SRIOV functionality is enabled, it does a check to see if VF devices already exist in the system due to a previous driver load/unload with VFs enabled.  The existence check is incorrect, and can erroneously match on VFs that are attached to other ixgbe PFs, and not the VF associated with the probe'd PF.

Version-Release number of selected component (if applicable):


How reproducible:
Always with multipel ixgbe's in different PCI busses, but same PCI slot numbers, e.g. ixgbe at 07:00.0, ixgbe at 04:00.0

Steps to Reproduce:
1. Boot system
2. rmmod ixgbe; modprobe ixgbe=max_vfs=2
3. Ensure all 10GigE links are configured to a 10Gig switch
  
Actual results:
VFs associated with second ixgbe won't configure in, since the VF-matching check will match the first PF's VFs as being the second PF's VFs, incorrectly.

Expected results:
All VFs configure and work.

Additional info:
Need to backport this upstream commit to rhel6.3:
commit 9297127b9cdd8d30c829ef5fd28b7cc0323a7bcd
Author: Alexander Duyck <alexander.h.duyck>
Date:   Wed May 23 02:58:40 2012 +0000

    ixgbe: Change how we check for pre-existing and assigned VFs

Comment 2 RHEL Program Management 2012-12-14 08:52:54 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.