DPDK usage discussions
 help / color / mirror / Atom feed
From: Antonio Di Bacco <a.dibacco.ks@gmail.com>
To: users@dpdk.org
Subject: MLX5 VF stops transmitting when the Physical Function is added to a Linux bridge
Date: Mon, 25 Mar 2024 15:59:36 +0100	[thread overview]
Message-ID: <CAO8pfFn_i9P5XgukAZLfFnzQzJMw_cxSGS+=zcdRpFiPQ4PJkg@mail.gmail.com> (raw)

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.

             reply	other threads:[~2024-03-25 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-25 14:59 Antonio Di Bacco [this message]
2024-03-25 17:14 ` Stephen Hemminger
2024-03-25 17:52   ` Antonio Di Bacco

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='CAO8pfFn_i9P5XgukAZLfFnzQzJMw_cxSGS+=zcdRpFiPQ4PJkg@mail.gmail.com' \
    --to=a.dibacco.ks@gmail.com \
    --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).