From: Ratheesh Kannoth <rkannoth@marvell.com>
To: <netdev-bot+sashiko@kernel.org>
Cc: <davem@davemloft.net>, <gakula@marvell.com>,
<linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>,
<sgoutham@marvell.com>, <andrew+netdev@lunn.ch>,
<edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>,
<leon@kernel.org>
Subject: Re: [PATCH net] octeontx2-af: Fix memory scaling limitation in SR-IOV mode
Date: Mon, 21 Sep 2026 08:13:02 +0530 [thread overview]
Message-ID: <arCZtoQL_9ushLgP@rkannoth-OptiPlex-7090> (raw)
In-Reply-To: <178986440480.2160803.16078325840590029895@kernel.org>
On 2026-09-20 at 06:03:24, netdev-bot+sashiko@kernel.org (netdev-bot+sashiko@kernel.org) wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential
> issue(s) to consider.
>
> Critical: 0 · High: 2 (1) · Medium: 1 (1) · Low: 0 (1)
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
>
> - [High] New hard allocation ceiling in qmem_alloc() rejects the very SR-
> IOV/mailbox allocations the commit claims to fix.
Targets CMA exhaustion from many allocations, not max single-chunk size;
supported CN20K configs remain below the boundary.
> - [High] Long-lived CPU/device-shared hardware rings and contexts are
> converted from coherent DMA memory to an unsynchronized streaming…
OcteonTX2 is fully DMA-coherent
> - [Medium] net: octeontx2: fragile high-order buddy allocations replace
> CMA
Deliberate move off shared CMA; CN20K mailbox HW needs physically contiguous memory,
so noncontiguous DMA APIs are not applicable; production failure mode was CMA depletion,
not buddy fragmentation.
>
> Pre-existing issues:
> - [High] Untrusted mailbox queue counts overflow the signed size
> computation in qmem_alloc() and bypass the newly added order check,…
> - [Medium] `struct qmem.base` is produced by qmem_alloc() as a CPU
> virtual address (previously dma_alloc_attrs(), now kzalloc()), but the…
> - [Low] qmem_alloc() publishes the devm-allocated descriptor into *q
> (af/common.h:87-90) before both failure returns: the newly added `if…
Will address pre-existing issues in seperate followup patch.
next prev parent reply other threads:[~2026-09-21 2:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 2:21 Ratheesh Kannoth
2026-09-16 5:36 ` Leon Romanovsky
2026-09-20 0:33 ` netdev-bot+sashiko
2026-09-21 2:43 ` Ratheesh Kannoth [this message]
2026-09-21 23:30 ` 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=arCZtoQL_9ushLgP@rkannoth-OptiPlex-7090 \
--to=rkannoth@marvell.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gakula@marvell.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sgoutham@marvell.com \
/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
all inboxes | Powered by JetHome®