linux/drivers/net/ethernet/broadcom
Michael Chan b4fc8faacf bnxt_en: Fix stats context reservation logic
The HW resource reservation logic allows the L2 driver to use the
RoCE resources if the RoCE driver is not registered.  When calculating
the stats contexts available for L2, we should not blindly subtract
the stats contexts reserved for RoCE unless the RoCE driver is
registered.  This bug may cause the L2 rings to be less than the
number requested when we are close to running out of stats contexts.

Fixes: 2e4592dc9b ("bnxt_en: Change MSIX/NQs allocation policy")
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250825175927.459987-4-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-26 17:48:35 -07:00
..
asp2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-24 11:10:46 -07:00
bnge bnxt: move bnxt_hsi.h to include/linux/bnxt/hsi.h 2025-07-15 16:03:24 -07:00
bnx2x Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
bnxt bnxt_en: Fix stats context reservation logic 2025-08-26 17:48:35 -07:00
genet Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-10 10:10:49 -07:00
b44.c net: Fix typos 2025-07-25 10:29:07 -07:00
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bcm4908_enet.c
bcm4908_enet.h
bcmsysport.c
bcmsysport.h
bgmac-bcma-mdio.c
bgmac-bcma.c
bgmac-platform.c
bgmac.c
bgmac.h
bnx2.c
bnx2.h
bnx2_fw.h
cnic.c
cnic.h
cnic_defs.h
cnic_if.h
Kconfig bng_en: Add devlink interface 2025-07-07 18:54:00 -07:00
Makefile bng_en: Add PCI interface 2025-07-07 18:54:00 -07:00
sb1250-mac.c
tg3.c net: Fix typos 2025-07-25 10:29:07 -07:00
tg3.h
unimac.h