diff options
author | Kashyap Desai <kashyap.desai@broadcom.com> | 2023-06-09 13:01:45 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-06-12 09:10:17 +0200 |
commit | 159cf95e42a7ca7375646fab82c0056cbb71f9e9 (patch) | |
tree | fe47e5f59dfd62f398a43028d02a7d08dbbe0360 /lib/cmdline_kunit.c | |
parent | RDMA/bnxt_re: use shadow qd while posting non blocking rcfw command (diff) | |
download | linux-159cf95e42a7ca7375646fab82c0056cbb71f9e9.tar.xz linux-159cf95e42a7ca7375646fab82c0056cbb71f9e9.zip |
RDMA/bnxt_re: Simplify the function that sends the FW commands
- Use __send_message_basic_sanity helper function.
- Do not retry posting same command if there is a queue full detection.
- ENXIO is used to indicate controller recovery.
- In the case of ERR_DEVICE_DETACHED state, the driver should not post
commands to the firmware, but also return fabricated written code.
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1686308514-11996-9-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'lib/cmdline_kunit.c')
0 files changed, 0 insertions, 0 deletions