summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2018-01-17 03:21:05 -0500
committerDavid S. Miller <davem@davemloft.net>2018-01-17 14:48:25 -0500
commit80fcaf46c09262a71f32bb577c976814c922f864 (patch)
tree67e70abbb61b0d903f4cc121ce60c2d3b5549fdf /drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
parent86e953db0114f396f916344395160aa267bf2627 (diff)
bnxt_en: Restore MSIX after disabling SRIOV.
After SRIOV has been enabled and disabled, the MSIX vectors assigned to the VFs have to be re-initialized. Otherwise they cannot be re-used by the PF. For example, increasing the number of PF rings after disabling SRIOV may fail if the PF uses MSIX vectors previously assigned to the VFs. To fix this, we add logic in bnxt_restore_pf_fw_resources() to close the NIC, clear and re-init MSIX, and re-open the NIC. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c')
0 files changed, 0 insertions, 0 deletions