]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/irdma: Align AE id codes to correct flush code and event
authorSindhu-Devale <sindhu.devale@intel.com>
Wed, 7 Sep 2022 19:13:23 +0000 (14:13 -0500)
committerLeon Romanovsky <leon@kernel.org>
Tue, 20 Sep 2022 10:19:52 +0000 (13:19 +0300)
commit9f51864152e3b67934b037992cb1ccaa50cb90fd
tree40e9d5d313f498c88164d0d2476cc1db069d73e3
parent316e024426f4b8bd118cf9eda22a8d9d54a99252
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: af082231803d ("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>
drivers/infiniband/hw/irdma/defs.h
drivers/infiniband/hw/irdma/hw.c
drivers/infiniband/hw/irdma/type.h
drivers/infiniband/hw/irdma/user.h
drivers/infiniband/hw/irdma/utils.c
drivers/infiniband/hw/irdma/verbs.c