diff options
author | Selvin Xavier <[email protected]> | 2024-09-10 21:08:30 -0700 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-09-13 08:29:34 +0300 |
commit | cc5b9b48d44756a87170f3901c6c2fd99e6b89b2 (patch) | |
tree | 06be2f545e30d8fe8f7163584cd5d82c42cbd049 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 94a9dc6ac8f7e6801c88d05c42ed9ceaa4b5f609 (diff) |
RDMA/bnxt_re: Recover the device when FW error is detected
If the FW crashes, L2 driver gets notified and it notifies
the RoCE driver. Currently driver doesn't re-initialize the
device. Add support for re-initialize the RoCE device.
RoCE device is removed and re-attached in the ulp_stop and
ulp_start respectively. The recovery logic expects the RoCE
driver to be registered with L2 driver while its being removed.
So the driver avoids unregistering with L2 driver in the
recovery path.
Signed-off-by: Chandramohan Akula <[email protected]>
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions