mbox series

[for-next,0/2] Fix for bnxt_re endianness issue

Message ID 20240709150119.29937-1-jinpu.wang@ionos.com (mailing list archive)
Headers show
Series Fix for bnxt_re endianness issue | expand

Message

Jinpu Wang July 9, 2024, 3:01 p.m. UTC
We have found an issue when map a RNBD device between MLX and BCM nics.
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,

The problem is bnxt_re do not handle endianness correctly in some cases,
hence this small patchset.

I tested it between BCM RoCE nics, also BCM and MLX NiCs for RNBD traffic.

Please review and consider for next release, the bug exists since the
beginning of bnxt_re.

Jack Wang (2):
  bnxt_re: Fix imm_data endianness
  bnxt_re: Fix inv_key endianness

 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 14 +++++++-------
 drivers/infiniband/hw/bnxt_re/qplib_fp.h | 12 ++++++------
 2 files changed, 13 insertions(+), 13 deletions(-)