Re: [PATCH net 2/4] eth: bnxt: keep the aRFS rmap updated when TPH is enabled

Michael Chan <[email protected]> Mon, 3 Aug 2026 16:52:09 -0700
Newsgroups gmane.linux.network
Message-ID <CACKFLik3v50xijA-qbgqwiAk6c=xvGPWASQ209yYuiB_dnfpqA@mail.gmail.com>
On Mon, Aug 3, 2026 at 12:31 PM Jakub Kicinski <[email protected]> wrote:
>
> 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")
> Signed-off-by: Jakub Kicinski <[email protected]>

Reviewed-by: Michael Chan <[email protected]>
smime.p7s (application/pkcs7-signature, 5.3 KB) - not displayed