linux/drivers/infiniband/hw
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
..
bng_re bnge/bng_re: fix ring ID widths 2026-07-23 10:24:12 -07:00
bnxt_re RDMA/bnxt_re: Reject GET_TOGGLE_MEM when toggle page was not allocated 2026-06-16 14:30:40 -03:00
cxgb4 RDMA: Update the query_device() op 2026-06-03 15:12:43 -03:00
efa RDMA v7.2 merge window 2026-06-18 08:16:21 -07:00
erdma RDMA/erdma: initialize ret for empty receive WR lists 2026-07-02 14:16:44 -03:00
hfi1 RDMA/hfi1: Open-code rvt_set_ibdev_name() 2026-06-05 12:38:42 -03:00
hns RDMA/hns: Fix potential integer overflow in mhop hem cleanup 2026-07-02 14:24:15 -03:00
ionic RDMA/ionic: Validate rate limit attribute in modify QP 2026-06-11 07:02:05 -04:00
irdma RDMA/irdma: Prevent overflows in memory contiguity checks 2026-07-05 07:02:35 -04:00
mana RDMA/mana_ib: initialize err for empty send WR lists 2026-07-02 14:16:44 -03:00
mlx4 RDMA v7.2 merge window 2026-06-18 08:16:21 -07:00
mlx5 RDMa/mlx5: Avoid frame overflow warning 2026-07-01 08:33:13 -04:00
mthca RDMA: Update the query_device() op 2026-06-03 15:12:43 -03:00
ocrdma RDMA: Update the query_device() op 2026-06-03 15:12:43 -03:00
qedr RDMA: Update the query_device() op 2026-06-03 15:12:43 -03:00
usnic RDMA/usnic: User strscpy() to copy device name 2026-06-09 14:57:37 -03:00
vmw_pvrdma RDMA: Update the query_device() op 2026-06-03 15:12:43 -03:00
Makefile RDMA/bng_re: Add Auxiliary interface 2025-11-24 02:58:29 -05:00