]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 24 Nov 2022 13:24:38 +0000 (14:24 +0100)
commitc5ba043f26f330a87f965d923c66f050881c1001
tree7a309f7ebc8061627b26ebaa79c7d8045367ff46
parent09eba046e1d0c03a9d8f1a05816897dd5f35de92
RDMA/irdma: Align AE id codes to correct flush code and event

BugLink: https://bugs.launchpad.net/bugs/1996825
[ Upstream commit 7f51a961f8c6b84752a48e950074a8c4a0808d91 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
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