summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Taranov <kotaranov@microsoft.com>2024-06-07 03:08:17 -0700
committerLeon Romanovsky <leon@kernel.org>2024-06-09 13:46:44 +0300
commit2a1251e3dbb2995100b6f351c2452228895386a5 (patch)
treee991b7ab644b57a6c746ff68604c221531a83a31 /include
parentaee2424246f9f1dadc33faa78990c1e2eb7826e4 (diff)
downloadlwn-2a1251e3dbb2995100b6f351c2452228895386a5.tar.gz
lwn-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')
-rw-r--r--include/net/mana/gdma.h1
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 {