RDMA/bnxt_re: Pass the context for ulp_irq_stop
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Thu, 9 Jan 2025 18:18:12 +0000 (10:18 -0800)
committerLeon Romanovsky <leon@kernel.org>
Tue, 14 Jan 2025 11:22:10 +0000 (06:22 -0500)
commit57e6464c221c7ffaeae784bcaa8171ffac179d3e
treeb3ecd7c204708b5cfa0930aa4079a51cb50033cd
parent51dc5312dcd929efea7647c0c0e75afa461531b5
RDMA/bnxt_re: Pass the context for ulp_irq_stop

ulp_irq_stop() can be invoked from a context where FW is healthy or
when FW is in a reset state. In the latter case, ULP must stop all
interactions with HW/FW and also with application and stack. Added a
new parameter to the ulp_irq_stop() function to achieve that.

Reviewed-by: Vikas Gupta <vikas.gupta@broadcom.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: Chandramohan Akula <chandramohan.akula@broadcom.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1736446693-6692-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/main.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h