diff options
author | 2020-06-14 19:57:09 -0400 | |
---|---|---|
committer | 2020-06-15 13:28:33 -0700 | |
commit | 6e2f83884c099de0e87b15a820736e522755d074 (patch) | |
tree | 55c7efe45a5bb8ea5fb58a47ea8b4bf00481a930 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | bnxt_en: Re-enable SRIOV during resume. (diff) | |
download | wireguard-linux-6e2f83884c099de0e87b15a820736e522755d074.tar.xz wireguard-linux-6e2f83884c099de0e87b15a820736e522755d074.zip |
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/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions