linux-imx/drivers/infiniband/hw/bnxt_re
Jack Wang 08e4d9209a bnxt_re: Fix imm_data endianness
[ Upstream commit 95b087f87b ]

When map a device between servers with MLX and BCM RoCE nics, RTRS
server complain about unknown imm type, and can't map the device,

After more debug, it seems bnxt_re wrongly handle the
imm_data, this patch fixed the compat issue with MLX for us.

In off list discussion, Selvin confirmed HW is working in little endian format
and all data needs to be converted to LE while providing.

This patch fix the endianness for imm_data

Fixes: 1ac5a40479 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20240710122102.37569-1-jinpu.wang@ionos.com
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-03 08:54:04 +02:00
..
bnxt_re.h RDMA/bnxt_re: Fix the max msix vectors macro 2024-06-27 13:49:08 +02:00
hw_counters.c
hw_counters.h
ib_verbs.c bnxt_re: Fix imm_data endianness 2024-08-03 08:54:04 +02:00
ib_verbs.h RDMA/bnxt_re: Remove roundup_pow_of_two depth for all hardware queue resources 2024-06-12 11:12:10 +02:00
Kconfig
main.c
Makefile
qplib_fp.c bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq 2024-06-12 11:12:10 +02:00
qplib_fp.h bnxt_re: Fix imm_data endianness 2024-08-03 08:54:04 +02:00
qplib_rcfw.c RDMA/bnxt_re: Fix the sparse warnings 2024-06-12 11:13:02 +02:00
qplib_rcfw.h RDMA/bnxt_re: Refactor the queue index update 2024-06-12 11:12:10 +02:00
qplib_res.c RDMA/bnxt_re: Refactor the queue index update 2024-06-12 11:12:10 +02:00
qplib_res.h RDMA/bnxt_re: Adds MSN table capability for Gen P7 adapters 2024-06-12 11:12:10 +02:00
qplib_sp.c
qplib_sp.h
qplib_tlv.h
roce_hsi.h RDMA/bnxt_re: Update the HW interface definitions 2024-06-12 11:12:10 +02:00