From: Paolo Abeni <pabeni@redhat.com>
To: Alexander Duyck <alexander.duyck@gmail.com>,
netdev-bot+sashiko@kernel.org
Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@google.com, horms@kernel.org,
kernel-team@meta.com, kuba@kernel.org
Subject: Re: [net PATCH 2/3] fbnic: Do not report a FW coredump info error as a parse failure
Date: Wed, 2 Dec 2026 13:08:55 +0100 [thread overview]
Message-ID: <e1ce32fb-bb78-443f-ac4a-4947aad7b80e@redhat.com> (raw)
In-Reply-To: <CAKgT0UfBW_XL_8cBJ5txwmD5Hv4Ubs=-qwwyxKwKwWPzuT-5XQ@mail.gmail.com>
On 11/27/26 18:34, Alexander Duyck wrote:
> On Fri, Nov 27, 2026 at 1:45 AM <netdev-bot+sashiko@kernel.org> wrote:
>> Both handlers also have real malformed-message paths: -EINVAL for an
>> offset, length, bank or page mismatch, and -ENODATA for missing data. A
>> blanket return 0 would hide useful warnings in those cases.
>>
>> Could these handlers follow the fbnic_fw_parse_tsene_read_resp() pattern
>> the commit message mentions? That handler keeps the firmware error in a
>> separate err_resp that only goes into the completion, and still returns
>> local validation errors:
>>
>> err_resp = fta_get_sint(results, FBNIC_FW_TSENE_ERROR);
>> if (err_resp)
>> goto msg_err;
>> ...
>> msg_err:
>> cmpl_data->result = err_resp ? : err;
>> complete(&cmpl_data->done);
>> fbnic_fw_put_cmpl(cmpl_data);
>>
>> return err;
>>
>>>
>>> /**
>
> This is similar but isn't exactly the same issue. The problem with the
> coredump_info_resp was that if there wasn't a coredump present it was
> also being treated as an error which is the bigger issue being fixed.
>
> I agree that an error response should be treated as not a parsing
> error, but that would likely be a better candidate for net-next rather
> than net since this is a much less common error so the priority is
> much lower, and the fix itself is more complex since there are parsing
> errors that are handled after the error response handling.
Note that at this point of the cycle, as per Linus guidance, we need
to be (much) more strict with what lands into net; specifically
'broken from day 1' are now net-next candidates - unless very critical.
I'm applying this series to net-next.
/P
I think
next prev parent reply other threads:[~2026-12-02 12:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 21:44 [net PATCH 0/3] fbnic: FW coredump fixes Alexander Duyck
2026-11-24 21:44 ` [net PATCH 1/3] fbnic: Limit TLV_MAX_DATA to the firmware's 4K page Alexander Duyck
2026-12-01 11:03 ` Daniel Machon
2026-11-24 21:44 ` [net PATCH 2/3] fbnic: Do not report a FW coredump info error as a parse failure Alexander Duyck
2026-11-27 9:44 ` netdev-bot+sashiko
2026-11-27 17:34 ` Alexander Duyck
2026-12-01 11:04 ` Daniel Machon
2026-12-02 12:08 ` Paolo Abeni [this message]
2026-11-24 21:44 ` [net PATCH 3/3] fbnic: Only create a FW coredump when the user asks for one Alexander Duyck
2026-12-01 11:03 ` Daniel Machon
2026-12-02 12:20 ` [net PATCH 0/3] fbnic: FW coredump fixes patchwork-bot+netdevbpf
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=e1ce32fb-bb78-443f-ac4a-4947aad7b80e@redhat.com \
--to=pabeni@redhat.com \
--cc=alexander.duyck@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kernel-team@meta.com \
--cc=kuba@kernel.org \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox