summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/irdma/defs.h
diff options
context:
space:
mode:
authorSindhu-Devale <sindhu.devale@intel.com>2022-09-07 14:13:23 -0500
committerLeon Romanovsky <leon@kernel.org>2022-09-20 13:19:52 +0300
commit7f51a961f8c6b84752a48e950074a8c4a0808d91 (patch)
tree40e9d5d313f498c88164d0d2476cc1db069d73e3 /drivers/infiniband/hw/irdma/defs.h
parente866025b3b1557f9bf6ab1770f297fe6d90e0417 (diff)
downloadlinux-stable-7f51a961f8c6b84752a48e950074a8c4a0808d91.tar.gz
linux-stable-7f51a961f8c6b84752a48e950074a8c4a0808d91.tar.bz2
linux-stable-7f51a961f8c6b84752a48e950074a8c4a0808d91.zip
RDMA/irdma: Align AE id codes to correct flush code and event
A number of asynchronous event (AE) ids were not aligned to the correct flush_code and event_type. Fix these up so that the correct IBV error and event codes are returned to application. Also, add handling for new AE ids like IRDMA_AE_INVALID_REQUEST to return the correct WC error code. Fixes: 44d9e52977a1 ("RDMA/irdma: Implement device initialization definitions") Signed-off-by: Sindhu-Devale <sindhu.devale@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Link: https://lore.kernel.org/r/20220907191324.1173-2-shiraz.saleem@intel.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/irdma/defs.h')
-rw-r--r--drivers/infiniband/hw/irdma/defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/irdma/defs.h b/drivers/infiniband/hw/irdma/defs.h
index e03e03082a5f..c1906cab5c8a 100644
--- a/drivers/infiniband/hw/irdma/defs.h
+++ b/drivers/infiniband/hw/irdma/defs.h
@@ -314,6 +314,7 @@ enum irdma_cqp_op_type {
#define IRDMA_AE_IB_REMOTE_ACCESS_ERROR 0x020d
#define IRDMA_AE_IB_REMOTE_OP_ERROR 0x020e
#define IRDMA_AE_WQE_LSMM_TOO_LONG 0x0220
+#define IRDMA_AE_INVALID_REQUEST 0x0223
#define IRDMA_AE_DDP_INVALID_MSN_GAP_IN_MSN 0x0301
#define IRDMA_AE_DDP_UBE_DDP_MESSAGE_TOO_LONG_FOR_AVAILABLE_BUFFER 0x0303
#define IRDMA_AE_DDP_UBE_INVALID_DDP_VERSION 0x0304