diff options
author | Konstantin Taranov <kotaranov@microsoft.com> | 2024-06-07 12:08:17 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-06-09 12:46:44 +0200 |
commit | 2a1251e3dbb2995100b6f351c2452228895386a5 (patch) | |
tree | e991b7ab644b57a6c746ff68604c221531a83a31 /include/net/mana/gdma.h | |
parent | RDMA/iwcm: Fix a use-after-free related to destroying CM IDs (diff) | |
download | linux-2a1251e3dbb2995100b6f351c2452228895386a5.tar.xz linux-2a1251e3dbb2995100b6f351c2452228895386a5.zip |
RDMA/mana_ib: Process QP error events in mana_ib
Process QP fatal events from the error event queue.
For that, find the QP, using QPN from the event, and then call its
event_handler. To find the QPs, store created RC QPs in an xarray.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Link: https://lore.kernel.org/r/1717754897-19858-1-git-send-email-kotaranov@linux.microsoft.com
Reviewed-by: Wei Hu <weh@microsoft.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/net/mana/gdma.h')
-rw-r--r-- | include/net/mana/gdma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/mana/gdma.h b/include/net/mana/gdma.h index 27684135bb4d..44c797d5f899 100644 --- a/include/net/mana/gdma.h +++ b/include/net/mana/gdma.h @@ -60,6 +60,7 @@ enum gdma_eqe_type { GDMA_EQE_HWC_INIT_DONE = 131, GDMA_EQE_HWC_SOC_RECONFIG = 132, GDMA_EQE_HWC_SOC_RECONFIG_DATA = 133, + GDMA_EQE_RNIC_QP_FATAL = 176, }; enum { |