From: Raslan Darawsheh <rasland@nvidia.com>
To: 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>
Cc: dev@dpdk.org
Subject: Re: [PATCH] net/mlx5: fix ignoring PF representor
Date: Wed, 11 Mar 2026 14:15:30 +0200 [thread overview]
Message-ID: <6b7213e9-6f62-4878-9a6c-3bd8855a2d43@nvidia.com> (raw)
In-Reply-To: <20260311075352.266692-1-dsosnowski@nvidia.com>
Hi,
On 11/03/2026 9:53 AM, Dariusz Sosnowski wrote:
> Whenever a new set of representors are probed by mlx5 driver
> on Multiport E-Switch setup using these device arguments:
>
> 0000:08:00.0,dv_flow_en=2,representor=(pf1)vf1
>
> mlx5 driver should create 2 DPDK ports.
> One for 1st physical port (transfer proxy) and another for
> PF1VF1 representor. Parentheses are used in representor argument
> to indicate that physical port related to PF1VF1 should be ignored.
>
> Offending patch has introduced a regression to ignore logic.
> Whenever mlx5 driver checked if related physical port should be probed
> and if representor_match_uplink() returned false (as it should),
> this result was ignored and probing continued.
> If requested VF/SF index matched PF index, physical port was probed.
>
> This patch fixes that by adding explicit rejection of spawning physical
> ports for VF/SF representors if checked port is a physical port and
> driver have not already spawned it.
>
> Fixes: f363bbe2c036 ("net/mlx5: fix probing to allow BlueField Socket Direct")
>
> Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
> Acked-by: Bing Zhao <bingz@nvidia.com>
Patch squashed into relevant commit in next-net-mlx,
Kindest regards
Raslan Darawsheh
prev parent reply other threads:[~2026-03-11 12:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-11 7:53 [PATCH] net/mlx5: fix ignoring PF representor Dariusz Sosnowski
2026-03-11 12:15 ` 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=6b7213e9-6f62-4878-9a6c-3bd8855a2d43@nvidia.com \
--to=rasland@nvidia.com \
--cc=bingz@nvidia.com \
--cc=dev@dpdk.org \
--cc=dsosnowski@nvidia.com \
--cc=matan@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