]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: bnxt: keep the aRFS rmap updated when TPH is enabled
authorJakub Kicinski <kuba@kernel.org>
Mon, 3 Aug 2026 19:31:33 +0000 (12:31 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 10 Aug 2026 22:15:06 +0000 (15:15 -0700)
commit4b5cb58a4443fff67aa18a0d7b645b2220f2fcf8
treee9818b68612a3dbbf80492848680980506cbf44d
parentc703f62c30f2db7f40ad575f0034636d8a401fac
eth: bnxt: keep the aRFS rmap updated when TPH is enabled

The TPH support must have broken aRFS in bnxt. IRQ can only have one
notifier, so installing the TPH notifier is overriding the one implicitly
installed by irq_cpu_rmap_add().

Make sure we call cpu_rmap_update() from the TPH notifier.

We need to be careful with the ordering and not free the rmap
until we unregistered the notifier. Note that moving the rmap
freeing after the early return in bnxt_free_irq() is fine -
there's no path that could leave rmap with irq_tbl being NULL.

Fixes: c214410c47d6 ("bnxt_en: Add TPH support in BNXT driver")
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20260803193135.2030368-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c