From: Stephen Hemminger <stephen@networkplumber.org>
To: Prashant Upadhyaya <praupadhyaya@gmail.com>
Cc: dev@dpdk.org
Subject: Re: Regarding Mellanox bifurcated driver on Azure
Date: Wed, 30 Apr 2025 07:28:25 -0700 [thread overview]
Message-ID: <20250430072825.13ceae3e@hermes.local> (raw)
In-Reply-To: <CAPBAu3XDwr82ghjdhK=QXO53OPH3MgUtkP7r3TLEwOnHe_St5w@mail.gmail.com>
On Wed, 30 Apr 2025 13:00:53 +0530
Prashant Upadhyaya <praupadhyaya@gmail.com> wrote:
> > With DPDK on Azure, an application should never use the VF directly.
> > It needs to use either netvsc PMD which handles both the vmbus (slow path)
> > and VF (fast path) combined. Or use the older vdev_netvsc/failsafe/tap
> > combination.
> > The latter uses a virtual device to make a failsafe PMD which then does
> > a combination of TAP (via kernel slow path) and MLX5 VF. The failsafe PMD
> > is what is exposed for application usage.
> >
> > The limitations are not explicitly mentioned in the documentation but:
> > - don't use VF directly in application
> > - there is no support for bifurcation where some packets go to kernel
> > and some to DPDK
> > - there is only very limited support for rte_flow; that is with failsafe
> > PMD
> > (not netvsc PMD) and the limitations are that the emulation of rte_flow
> > in the TAP device only supports a few things.
> >
>
> Thanks Stephen, the above information was very instructive.
> If I do use the Netvsc PMD with the latest DPDK, will my DPDK app get the
> non IP packets like ARP, please confirm.
> I quickly tried the Netvsc PMD but don't seem to be getting the ARP packets
> in still.
> When you mention "The failsafe PMD is what is exposed for application
> usage", what is the meaning of this, are the apps expected to use failsafe
> PMD, please suggest.
>
> Regards
> -Prashant
ARP handled differently in virtual network environments. The ARP packets sent
get consumed and replied to by the network infrastructure (in all virtual networks
not just Azure). Non-IP packets always show up on the synthetic VMBus device.
Current docs are here:
https://learn.microsoft.com/en-us/azure/virtual-network/setup-dpdk?tabs=redhat
See vdev_netvsc for picture. https://doc.dpdk.org/guides/nics/vdev_netvsc.html
next prev parent reply other threads:[~2025-04-30 14:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-25 17:47 Prashant Upadhyaya
2025-04-25 23:01 ` Stephen Hemminger
2025-04-26 15:28 ` Stephen Hemminger
2025-04-28 6:01 ` Prashant Upadhyaya
2025-04-28 15:37 ` Stephen Hemminger
2025-04-29 16:15 ` Prashant Upadhyaya
2025-04-29 16:24 ` Stephen Hemminger
2025-04-30 7:30 ` Prashant Upadhyaya
2025-04-30 14:28 ` Stephen Hemminger [this message]
2025-04-30 16:30 ` Prashant Upadhyaya
2025-04-30 16:51 ` Stephen Hemminger
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=20250430072825.13ceae3e@hermes.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=praupadhyaya@gmail.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).