From: Raslan Darawsheh <rasland@nvidia.com>
To: Gregory Etelson <getelson@nvidia.com>, dev@dpdk.org
Cc: mkashani@nvidia.com, Dariusz Sosnowski <dsosnowski@nvidia.com>,
Viacheslav Ovsiienko <viacheslavo@nvidia.com>,
Bing Zhao <bingz@nvidia.com>, Ori Kam <orika@nvidia.com>,
Suanming Mou <suanmingm@nvidia.com>,
Matan Azrad <matan@nvidia.com>,
Michael Baum <michaelba@nvidia.com>
Subject: Re: [PATCH] net/mlx5: fix external Rx and Tx queues access
Date: Mon, 18 Aug 2025 09:32:08 +0300 [thread overview]
Message-ID: <07562abd-18cf-4080-82d1-3d98b3608d52@nvidia.com> (raw)
In-Reply-To: <20250731060849.18117-1-getelson@nvidia.com>
Hi,
On 31/07/2025 9:08 AM, Gregory Etelson wrote:
> mlx5_ext_rxq_get() and mlx5_ext_txq_get() functions did not return
> NULL value if query index was not referencing external queue.
>
> As a result, calling functions did not expect the NULL on return.
>
> External Rx queue:
>
> - In mlx5_ext_rxq_get() remove assert and return NULL if a queue index
> does not point to a valid external queue.
>
> - In mlx5_ext_rxq_verify() validate that probed queue index references
> a valid extern queue.
>
> External Tx queue:
>
> - In mlx5_ext_txq_get() remove assert and return NULL if a queue index
> does not point to a valid external queue.
>
> - In mlx5_ext_txq_verify() validate that probed queue index references
> a valid extern queue.
>
> Fixes: 311b17e669ab ("net/mlx5: support queue/RSS actions for external Rx queue")
>
> Signed-off-by: Gregory Etelson <getelson@nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
prev parent reply other threads:[~2025-08-18 6:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-31 6:08 Gregory Etelson
2025-08-18 6:32 ` Raslan Darawsheh [this message]
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=07562abd-18cf-4080-82d1-3d98b3608d52@nvidia.com \
--to=rasland@nvidia.com \
--cc=bingz@nvidia.com \
--cc=dev@dpdk.org \
--cc=dsosnowski@nvidia.com \
--cc=getelson@nvidia.com \
--cc=matan@nvidia.com \
--cc=michaelba@nvidia.com \
--cc=mkashani@nvidia.com \
--cc=orika@nvidia.com \
--cc=suanmingm@nvidia.com \
--cc=viacheslavo@nvidia.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;
as well as URLs for NNTP newsgroup(s).