public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next 0/2] Fix for bnxt_re endianness issue
@ 2024-07-09 15:01 Jack Wang
  2024-07-09 15:01 ` [PATCH for-next 1/2] bnxt_re: Fix imm_data endianness Jack Wang
  2024-07-09 15:01 ` [PATCH for-next 2/2] bnxt_re: Fix inv_key endianness Jack Wang
  0 siblings, 2 replies; 7+ messages in thread
From: Jack Wang @ 2024-07-09 15:01 UTC (permalink / raw)
  To: linux-rdma; +Cc: bvanassche, leon, jgg, selvin.xavier, haris.iqbal, jinpu.wang

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-11  3:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09 15:01 [PATCH for-next 0/2] Fix for bnxt_re endianness issue Jack Wang
2024-07-09 15:01 ` [PATCH for-next 1/2] bnxt_re: Fix imm_data endianness Jack Wang
2024-07-10  8:27   ` Selvin Xavier
2024-07-10  8:49     ` Jinpu Wang
2024-07-10  9:30     ` Jinpu Wang
2024-07-09 15:01 ` [PATCH for-next 2/2] bnxt_re: Fix inv_key endianness Jack Wang
2024-07-11  3:08   ` Greg Sword

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox