Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-de
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-de
  • Repository
Switch branch/tag
  • linux-de
  • drivers
  • net
  • ethernet
  • intel
  • fm10k
  • fm10k_pf.c
Find file BlameHistoryPermalink
  • Jacob Keller's avatar
    fm10k: re-map all possible VF queues after a VFLR · fba341d5
    Jacob Keller authored Jun 03, 2015
    
    
    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.
    
    Signed-off-by: default avatarMatthew Vick <matthew.vick@intel.com>
    Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
    Tested-by: default avatarKrishneil Singh <Krishneil.k.singh@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    fba341d5