WSL2-Linux-Kernel/drivers/infiniband/hw
Jack Wang 913173f420 bnxt_re: Fix imm_data endianness
[ Upstream commit 95b087f87b780daafad1dbb2c84e81b729d5d33f ]

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-19 05:45:07 +02:00
..
bnxt_re bnxt_re: Fix imm_data endianness 2024-08-19 05:45:07 +02:00
cxgb4 RDMA/cxgb4: Check skb value for failure to allocate 2023-10-19 23:05:32 +02:00
efa RDMA/efa: Fix unsupported page sizes in device 2023-06-09 10:32:14 +02:00
hfi1 IB/hfi1: Fix a memleak in init_credit_return 2024-03-01 13:21:57 +01:00
hns RDMA/hns: Fix insufficient extend DB for VFs. 2024-08-19 05:45:07 +02:00
irdma RDMA/irdma: Add AE for too many RNRS 2024-03-01 13:21:57 +01:00
mlx4 RDMA/mlx4: Fix truncated output warning in alias_GUID.c 2024-08-19 05:45:05 +02:00
mlx5 RDMA/mlx5: Set mkeys for dmabuf at PAGE_SIZE 2024-08-19 05:45:04 +02:00
mthca RDMA/usnic: Silence uninitialized symbol smatch warnings 2024-01-25 14:52:41 -08:00
ocrdma RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
qedr RDMA/qedr: Fix qedr_create_user_qp error flow 2024-03-01 13:21:58 +01:00
qib qibfs: fix dentry leak 2024-05-17 11:50:57 +02:00
usnic RDMA/usnic: use iommu_map_atomic() under spin_lock() 2023-02-14 19:17:58 +01:00
vmw_pvrdma RDMA: switch from 'pci_' to 'dma_' API 2021-08-23 13:43:54 -03:00
Makefile