]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bnxt_en: Re-enable SRIOV during resume.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 14 Jun 2020 23:57:08 +0000 (19:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jun 2020 20:28:33 +0000 (13:28 -0700)
commit59ae210173ff86256fa0cdba4ea4d608c61e123d
tree60ad0a1e140c9cb2f1025c121a9dc92e2e7586da
parent2084ccf6259cc95e0575f0fafc93595d0219a9f6
bnxt_en: Re-enable SRIOV during resume.

If VFs are enabled, we need to re-configure them during resume because
firmware has been reset while resuming.  Otherwise, the VFs won't
work after resume.

Fixes: c16d4ee0e397 ("bnxt_en: Refactor logic to re-enable SRIOV after firmware reset detected.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c