From: Paolo Abeni <pabeni@redhat.com>
To: Joe Damato <joe@dama.to>,
netdev@vger.kernel.org, Michael Chan <michael.chan@broadcom.com>,
Pavan Chebbi <pavan.chebbi@broadcom.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Bill Wendling <morbo@google.com>,
Justin Stitt <justinstitt@google.com>,
Kalesh AP <kalesh-anakkur.purayil@broadcom.com>,
Rukhsana Ansari <rukhsana.ansari@broadcom.com>,
horms@kernel.org, colin.winegarden@broadcom.com,
linux-kernel@vger.kernel.org, raphaelcf@meta.com,
stable@vger.kernel.org, llvm@lists.linux.dev
Subject: Re: [PATCH net v4] bnxt_en: Bound SW TPA IDs to prevent crashes
Date: Tue, 1 Sep 2026 14:10:04 +0200 [thread overview]
Message-ID: <b8b6db7b-353d-4d6a-b0b6-3b5e1be22008@redhat.com> (raw)
In-Reply-To: <apa9qofhuatqGTra@devvm20253.cco0.facebook.com>
On 9/1/26 1:57 PM, Joe Damato wrote:
> On Tue, Sep 01, 2026 at 10:16:54AM +0200, Paolo Abeni wrote:
>> On 8/28/26 9:08 PM, Joe Damato wrote:
>>> - Moved bp->max_tpa_roundup_size init out of the early return path and
>>> documented that TPA is unsupported there, as suggested by Michael.
>>
>> Clashiko quite convincingly elaborates that the above is not enough:
>>
>> https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260828190900.1767611-1-joe%40dama.to
>>
>> Could you please have a look?
[...]
> 3.) "The new assignment sits after the max_tpa_v2 == 0 early return, so on a P5+
> device whose firmware reports max_aggs_supported == 0, does
> bp->max_tpa_roundup_size stay 0 while BNXT_FLAG_TPA is set? ..."
>
> Michael commented in the v3 that this is a false positive, hence why I changed
> the code from what it was in the v3 to this.
This is the comment I referred to.
AFAICS the problem is that the driver sets
bp->dev->hw_features |= NETIF_F_LRO;
regardless of the supported capabilities, and that seams to disagree
with Michael.
/P
next prev parent reply other threads:[~2026-09-01 12:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-28 19:08 [PATCH net v4] bnxt_en: Bound SW TPA IDs to prevent crashes Joe Damato
2026-08-29 7:20 ` Michael Chan
2026-09-01 17:59 ` Joe Damato
2026-09-01 8:16 ` Paolo Abeni
2026-09-01 11:57 ` Joe Damato
2026-09-01 12:10 ` Paolo Abeni [this message]
2026-09-01 15:03 ` Joe Damato
2026-09-03 9:35 ` Paolo Abeni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b8b6db7b-353d-4d6a-b0b6-3b5e1be22008@redhat.com \
--to=pabeni@redhat.com \
--cc=andrew+netdev@lunn.ch \
--cc=colin.winegarden@broadcom.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=joe@dama.to \
--cc=justinstitt@google.com \
--cc=kalesh-anakkur.purayil@broadcom.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=michael.chan@broadcom.com \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=netdev@vger.kernel.org \
--cc=pavan.chebbi@broadcom.com \
--cc=raphaelcf@meta.com \
--cc=rukhsana.ansari@broadcom.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.