linux/drivers/net/ethernet
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
..
3com ethernet: 3c509: Improve style of pnp_device_id array terminator 2026-06-13 14:59:06 -07:00
8390 net: Use named initializer for zorro_device_id arrays 2026-05-28 18:07:11 -07:00
actions
adaptec net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
adi
aeroflex
agere net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
airoha net: airoha: fix ETS channel derivation in airoha_tc_setup_qdisc_ets() 2026-07-23 10:02:59 -07:00
alacritech
alibaba eea: introduce callback for ndo_get_stats64 and register netdev 2026-05-19 12:07:50 +02:00
allwinner
altera
amazon net: ena: clean up XDP TX queues when regular TX setup fails 2026-06-18 18:11:22 -07:00
amd pds_core: check for workqueue allocation failure 2026-07-21 12:47:59 -07:00
apm net: xgene: fix mdio_np leak in xgene_mdiobus_register() 2026-05-10 10:16:58 -07:00
apple
aquantia net: atlantic: add AQC113 PTP support in aq_ptp and driver core 2026-06-15 15:38:44 -07:00
arc
asix
atheros Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-05-21 15:09:02 -07:00
broadcom bnge/bng_re: fix ring ID widths 2026-07-23 10:24:12 -07:00
brocade
cadence net: macb: drop in-flight Tx SKBs on close 2026-07-09 10:48:15 +02:00
calxeda Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
cavium net/liquidio: drop cached VF pci_dev LUT 2026-07-07 11:03:35 +02:00
chelsio cxgb4: Fix decode strings dump for T6 adapters 2026-06-30 17:18:28 -07:00
cirrus Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-05-14 10:08:06 -07:00
cisco
cortina net: ethernet: cortina: Carry over frag counter 2026-05-12 15:20:16 +02:00
davicom
dec net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
dlink net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
emulex net: eth: benet: Use strscpy() to copy strings into arrays 2026-06-09 18:06:41 -07:00
engleder
ezchip Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
faraday Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
freescale net: dpaa: fix mode setting 2026-07-22 12:45:40 -07:00
fungible
google gve: fix Rx queue stall on alloc failure 2026-07-21 14:45:27 -07:00
hisilicon net: hip04: fix RX buffer leak on build_skb failure 2026-07-22 08:04:19 -07:00
huawei hinic: remove unused ethtool RSS user configuration buffers 2026-07-23 07:10:10 -07:00
i825xx
ibm Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
intel idpf: fix max_vport related crash on allocation error during init 2026-07-23 09:00:50 -07:00
litex
marvell octeontx2-pf: tc: fix egress ratelimiting 2026-07-23 08:30:07 -07:00
mediatek net: ethernet: mtk_ppe: Fix rhashtable leak in mtk_ppe_init error paths 2026-06-21 14:33:43 -07:00
mellanox net/mlx5e: Reject unsupported CB Shaper TSA in ETS validation 2026-07-23 08:24:52 -07:00
meta eth: fbnic: don't cache shinfo across skb realloc 2026-06-29 17:29:15 -07:00
micrel net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
microchip net: microchip: vcap: fix races on the shared Super VCAP block 2026-07-05 09:18:47 +02:00
microsoft net: mana: Sync page pool RX frags for CPU 2026-07-09 10:36:14 +02:00
moxa
mscc net: mscc: ocelot: validate netdev belongs to switch in .netdev_to_port() 2026-06-09 17:54:34 -07:00
mucse net: rnpgbe: fix mailbox endianness and remove pointer casts 2026-07-07 10:45:42 +02:00
myricom
natsemi net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
netronome nfp: Check resource mutex allocation 2026-07-21 13:06:40 +02:00
ni
nvidia
nxp
oki-semi net: pch_gbe: handle TX skb allocation failure 2026-06-18 18:00:35 -07:00
pasemi
pensando ionic: Get "link_down_count" ext link stat from firmware 2026-06-15 18:15:08 -07:00
qlogic qede: fix off-by-one in BD ring consumption on build_skb failure 2026-07-06 12:03:10 +02:00
qualcomm net: qualcomm: rmnet: validate MAP frame length before ingress parsing 2026-07-06 12:47:02 +02:00
rdc
realtek rtase: Workaround for TX hang caused by hardware packet parsing 2026-07-21 11:30:20 -07:00
renesas net: ethernet: ravb: Do not check URAM suspension when WoL is active 2026-05-12 18:46:19 -07:00
rocker rocker: Fix memory leak in ofdpa_port_fdb() 2026-06-22 16:05:15 -07:00
samsung
seeq
sfc sfc: fix error code in efx_devlink_info_running_versions() 2026-04-30 13:44:30 +02:00
sgi
silan
sis net: ethernet: sis900: correct CONFIG_VLAN_8021Q macro name in comment 2026-06-12 16:13:43 -07:00
smsc net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
socionext
spacemit
stmicro net: stmmac: enable the MAC on link up for all supported speeds 2026-07-23 12:52:52 +02:00
sun net: sungem: fix probe error cleanup 2026-06-24 19:26:35 -07:00
sunplus net: ethernet: sunplus: spl2sw: fix phy_node refcount leak in remove 2026-06-24 19:34:56 -07:00
synopsys
tehuti
ti net: ti: icssg: Fix XSK zero copy TX during application wakeup 2026-06-23 14:45:32 -07:00
toshiba
tundra
vertexcom
via
wangxun net: txgbe: fix FDIR filter leak on remove 2026-07-21 12:23:58 -07:00
wiznet w5100: remove unused gpio link detection 2026-05-06 19:18:45 -07:00
xilinx net: axienet: Use dedicated ethtool_ops for the dmaengine path 2026-06-03 19:22:46 -07:00
xircom
xscale Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
ec_bhf.c
ethoc.c
fealnx.c net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
jme.c
jme.h
Kconfig eea: introduce PCI framework 2026-05-19 12:07:49 +02:00
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile eea: introduce PCI framework 2026-05-19 12:07:49 +02:00
oa_tc6.c net: ethernet: oa_tc6: Remove FCS size in RX frame 2026-06-15 16:32:10 -07:00