diff options
author | Jack Wang <[email protected]> | 2024-07-10 14:21:02 +0200 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-07-14 10:33:02 +0300 |
commit | 95b087f87b780daafad1dbb2c84e81b729d5d33f (patch) | |
tree | 013d12d6b8047ff6e2cb7ddc049b12dce978a810 /lib/memory-notifier-error-inject.c | |
parent | 2043a14fb3de9d88440b21590f714306fcbbd55f (diff) |
bnxt_re: Fix imm_data endianness
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: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Signed-off-by: Jack Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Selvin Xavier <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions