diff options
author | Michael Chan <michael.chan@broadcom.com> | 2020-06-14 19:57:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-15 13:28:33 -0700 |
commit | 6e2f83884c099de0e87b15a820736e522755d074 (patch) | |
tree | 55c7efe45a5bb8ea5fb58a47ea8b4bf00481a930 /tools/testing/selftests/bpf/progs/test_autoload.c | |
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>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions