kernel_samsung_a53x/drivers/infiniband/hw/bnxt_re
Kalesh AP 094a5374a3 RDMA/bnxt_re: Return more meaningful error
[ Upstream commit 98647df0178df215b8239c5c365537283b2852a6 ]

When the HWRM command fails, driver currently returns -EFAULT(Bad
address). This does not look correct.

Modified to return -EIO(I/O error).

Fixes: cc1ec769b87c ("RDMA/bnxt_re: Fixing the Control path command and response handling")
Fixes: 65288a22ddd8 ("RDMA/bnxt_re: use shadow qd while posting non blocking rcfw command")
Link: https://patch.msgid.link/r/1728373302-19530-5-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:58 +01:00
..
bnxt_re.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw_counters.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw_counters.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ib_verbs.c bnxt_re: Fix imm_data endianness 2024-11-23 23:20:11 +01:00
ib_verbs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.c RDMA/bnxt_re: Correct module description string 2024-11-18 12:11:41 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qplib_fp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qplib_fp.h RDMA/bnxt_re: Fix incorrect AVID type in WQE structure 2024-11-23 23:21:58 +01:00
qplib_rcfw.c RDMA/bnxt_re: Return more meaningful error 2024-11-23 23:21:58 +01:00
qplib_rcfw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qplib_res.c RDMA/bnxt_re: Add a check for memory allocation 2024-11-23 23:21:58 +01:00
qplib_res.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qplib_sp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qplib_sp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
roce_hsi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00