commit | 6e2f83884c099de0e87b15a820736e522755d074 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Sun Jun 14 19:57:09 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 15 13:28:33 2020 -0700 |
tree | 55c7efe45a5bb8ea5fb58a47ea8b4bf00481a930 | |
parent | 59ae210173ff86256fa0cdba4ea4d608c61e123d [diff] |
bnxt_en: Fix AER reset logic on 57500 chips. AER reset should follow the same steps as suspend/resume. We need to free context memory during AER reset and allocate new context memory during recovery by calling bnxt_hwrm_func_qcaps(). We also need to call bnxt_reenable_sriov() to restore the VFs. Fixes: bae361c54fb6 ("bnxt_en: Improve AER slot reset.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>