[Intel-wired-lan] [rc3] fm10k: re-map all possible VF queues after a VFLR

Singh, Krishneil K krishneil.k.singh at intel.com
Wed Sep 2 02:11:54 UTC 2015


-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Jacob Keller
Sent: Tuesday, June 9, 2015 4:32 PM
To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
Subject: [Intel-wired-lan] [rc3] fm10k: re-map all possible VF queues after a VFLR

From: Keller Jacob <jacob.e.keller at intel.com>

During initialization, the VF counts its rings by walking the TQDLOC registers. This works only if the TQMAP/RQMAP registers are set to map all of the out-of-bound rings back to the first one. This allows the VF to cleanly detect when it has run out of queues. Update the PF code so that it resets the empty TQMAP/RQMAP registers post-VFLR to prevent innocent VF drivers from triggering malicious driver events.

-rc3
* Use corrected index, instead of 1

Signed-off-by: Matthew Vick <matthew.vick at intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
---

Tested-By: Krishneil Singh <krishneil.k.singh at intel.com>

_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan at lists.osuosl.org
http://lists.osuosl.org/mailman/listinfo/intel-wired-lan


More information about the Intel-wired-lan mailing list