linux/drivers/net/ethernet/broadcom
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
..
asp2 net: bcmasp: Keep phy link during WoL sleep cycle 2026-05-08 16:38:56 -07:00
bnge bnge/bng_re: fix ring ID widths 2026-07-23 10:24:12 -07:00
bnx2x bnx2x: fix potential memory leak in bnx2x_alloc_mem_bp() 2026-06-22 18:39:12 -07:00
bnxt bnxt_en: Handle partially initialized auxiliary devices 2026-07-17 12:43:57 +02:00
genet Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-06-16 14:59:58 -07:00
b44.c net: b44: use ethtool_puts 2026-06-03 17:44:45 -07:00
b44.h
bcm63xx_enet.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
bcm63xx_enet.h
bcm4908_enet.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
bcm4908_enet.h
bcmsysport.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
bcmsysport.h net: systemport: Move IO macros to header file 2024-10-28 15:54:37 -07:00
bgmac-bcma-mdio.c
bgmac-bcma.c
bgmac-platform.c net: ethernet: bgmac-platform: fix an OF node reference leak 2024-12-17 13:22:05 +01:00
bgmac.c net: phy: fixed_phy: remove irq argument from fixed_phy_register 2025-05-20 18:17:43 -07:00
bgmac.h bgmac: reduce max frame size to support just MTU 1500 2025-01-29 18:57:42 -08:00
bnx2_fw.h
bnx2.c net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
bnx2.h
cnic_defs.h
cnic_if.h
cnic.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
cnic.h net: cnic: Convert tasklet API to new bottom half workqueue mechanism 2024-07-31 18:59:46 -07:00
Kconfig net: bcmgenet: convert RX path to page_pool 2026-06-11 15:44:10 -07:00
Makefile bng_en: Add PCI interface 2025-07-07 18:54:00 -07:00
sb1250-mac.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
tg3.c tg3: Fix race for querying speed/duplex 2026-03-27 12:06:38 +00:00
tg3.h tg3: spelling corrections 2025-06-27 10:25:57 +01:00
unimac.h