summaryrefslogtreecommitdiffstats
path: root/lib/kunit/hooks.c
diff options
context:
space:
mode:
authorKashyap Desai <kashyap.desai@broadcom.com>2023-06-09 13:01:45 +0200
committerLeon Romanovsky <leon@kernel.org>2023-06-12 09:10:17 +0200
commit159cf95e42a7ca7375646fab82c0056cbb71f9e9 (patch)
treefe47e5f59dfd62f398a43028d02a7d08dbbe0360 /lib/kunit/hooks.c
parentRDMA/bnxt_re: use shadow qd while posting non blocking rcfw command (diff)
downloadlinux-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/kunit/hooks.c')
0 files changed, 0 insertions, 0 deletions