linux/drivers/infiniband
Vikas Gupta b9e558976b bnge/bng_re: fix ring ID widths
Firmware requires more than 16 bits to address TX ring IDs for its
internal QP management. Widen the associated HSI ring ID fields to
32 bits. The values firmware assigns remain within 24 bits, bounded
by the hardware doorbell XID field.

The fw_ring_id field belongs to bnge_ring_struct, a common struct
shared by all ring types, so widening it to u32 applies uniformly
across TX, RX, CP, and NQ rings but firmware assigns values within
16-bit range for all ring types except TX, which requires the wider
field.

Note that, Thor Ultra hardware has not yet been deployed and no
firmware has been released to field, so backward compatibility
is not a concern.

Fixes: 42d1c54d62 ("bnge/bng_re: Add a new HSI")
Signed-off-by: Vikas Gupta <vikas.gupta@broadcom.com>
Reviewed-by: Siva Reddy Kallam <siva.kallam@broadcom.com>
Reviewed-by: Dharmender Garg <dharmender.garg@broadcom.com>
Reviewed-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
Link: https://patch.msgid.link/20260721063731.2622500-1-vikas.gupta@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-07-23 10:24:12 -07:00
..
core RDMA/core: Fix memory leak in __ib_create_cq() on invalid cqe 2026-07-02 14:19:33 -03:00
hw bnge/bng_re: fix ring ID widths 2026-07-23 10:24:12 -07:00
sw RDMA/siw: publish QP after initialization 2026-07-02 14:37:03 -03:00
ulp RDMA v7.2 merge window 2026-06-18 08:16:21 -07:00
Kconfig RDMA/core: Do not compile ib_core_uverbs without USER_ACCESS 2026-05-26 10:07:25 -03:00
Makefile