Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-iv
  • 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-iv
  • Repository
Switch branch/tag
  • linux-iv
  • drivers
  • net
  • ethernet
  • broadcom
  • bnxt
  • bnxt_sriov.c
Find file BlameHistoryPermalink
  • Jeffrey Huang's avatar
    bnxt_en: More robust SRIOV cleanup sequence. · 4bb6cdce
    Jeffrey Huang authored Nov 05, 2015
    
    
    Instead of always calling pci_sriov_disable() in remove_one(),
    the driver should detect whether VFs are currently assigned
    to the VMs. If the VFs are active in VMs, then it should not
    disable SRIOV as it is catastrophic to the VMs. Instead,
    it just leaves the VFs alone and continues to unload the PF.
    The user can then cleanup the VMs even after the PF driver
    has been unloaded.
    
    Signed-off-by: default avatarJeffrey Huang <huangjw@broadcom.com>
    Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4bb6cdce