From: Antonio Di Bacco <a.dibacco.ks@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: users@dpdk.org
Subject: Re: MLX5 VF stops transmitting when the Physical Function is added to a Linux bridge
Date: Mon, 25 Mar 2024 18:52:47 +0100 [thread overview]
Message-ID: <CAO8pfFnj3TkVzjrUe7hV2rOak+yQF9paWMtfWAi2YFH4H4dTCQ@mail.gmail.com> (raw)
In-Reply-To: <20240325101454.63ef509d@hermes.local>
Hi Stephen,
I know that the mlx5_core is bifurcated, I did another test, I just
added one of the VF to the bridge but I see that testpmd using other
VFs suffer the same problem.
When I add to the bridge another interface (not the one with VF but a
simple 1Gbps named ens5f0) I see that VFs used by testpmd stop
working.
If I give the command ifconfig ens5f0 down, then, the testpmd VF
resumes transmission.
Best regards,
Antonio.
On Mon, Mar 25, 2024 at 6:14 PM Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> On Mon, 25 Mar 2024 15:59:36 +0100
> Antonio Di Bacco <a.dibacco.ks@gmail.com> wrote:
>
> > I have a Connect X5 card (PF ens1f0np0) directly connected to another server:
> >
> > 1) create VF on PF on both servers
> > 2) change mac address of VFs to my own addressing
> > 3) start testpmd on server 1 in txonly mode to transmit to server 0
> > 4) start testpmd on server 0 in rxonly mode to receive
> > 5) everything is fine, I keep receiving packets on node-0
> >
> > Now, on server 1 I add the PF to a linux bridge, and everything's still fine.
> >
> > If I add another interface (a simple 1Gbps with no VF, ens5f0) to the
> > linux bridge, then, I don't receive anymore packets on node-0
> >
> > If I remove the ens5f0 from the bridge or I put down the ens5f0 the
> > traffic flow restarts.
> >
> > I understand that DPDK uses the VF directly with no dependencies on
> > the kernel. How can operations on the kernel side (like adding an
> > interface to bridge) can affect the VF?
> >
> >
> > Best regards,
> > Antonio.
>
> Mellanox is bifurcated driver, so kernel and DPDK interact.
> Adding device to bridge will change MAC address.
prev parent reply other threads:[~2024-03-25 17:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 14:59 Antonio Di Bacco
2024-03-25 17:14 ` Stephen Hemminger
2024-03-25 17:52 ` Antonio Di Bacco [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=CAO8pfFnj3TkVzjrUe7hV2rOak+yQF9paWMtfWAi2YFH4H4dTCQ@mail.gmail.com \
--to=a.dibacco.ks@gmail.com \
--cc=stephen@networkplumber.org \
--cc=users@dpdk.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;
as well as URLs for NNTP newsgroup(s).