bnxt_en: Add ULP call to notify async events
authorMichael Chan <michael.chan@broadcom.com>
Tue, 7 Jan 2025 02:45:49 +0000 (08:15 +0530)
committerLeon Romanovsky <leon@kernel.org>
Tue, 14 Jan 2025 08:39:46 +0000 (03:39 -0500)
commit184fe6f2382babdc63f07315c8accea258476070
tree4a652c7170ac2814bd8650a5918da2f88bb48fe9
parent235f238402194a78ac5fb882a46717eac817e5d1
bnxt_en: Add ULP call to notify async events

When the driver receives an async event notification from the Firmware,
we make the new ulp_async_notifier() call to inform the RDMA driver that
a firmware async event has been received. RDMA driver can then take
necessary actions based on the event type.

In the next patch, we will implement the ulp_async_notifier() callbacks
in the RDMA driver.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://patch.msgid.link/20250107024553.2926983-2-kalesh-anakkur.purayil@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h