]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: bnxt: make sure we populate the qcfg defaults on old FW/HW
authorJakub Kicinski <kuba@kernel.org>
Wed, 28 Jan 2026 19:32:58 +0000 (11:32 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 30 Jan 2026 02:51:11 +0000 (18:51 -0800)
commit3cf48c04966e1945de6c89bc9c0746ace2e7ddec
treed688a76133d81636550ead7c5d5a1f1062c5e1f5
parentb9332f297cda726804c645f11b77286f3e3fb066
eth: bnxt: make sure we populate the qcfg defaults on old FW/HW

The driver now depends on the core to tell it what the rx page size
should be for the agg ring. We must populate the ndo_default_qcfg
callback even if we don't support any queue ops.

This fixes:
  Oops: divide error: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN
  RIP: 0010:bnxt_alloc_rx_page_pool (drivers/net/ethernet/broadcom/bnxt/bnxt.c:3852)

with fw version 225.1.109.0.

Link: https://lore.kernel.org/20250421222827.283737-20-kuba@kernel.org
Fixes: f96e1b35779e ("eth: bnxt: support qcfg provided rx page size")
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20260128193258.125274-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c