DPDK usage discussions
 help / color / mirror / Atom feed
From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: "Романов Евгений Александрович" <ERomanov@skala-r.ru>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: Help in using DPDK
Date: Thu, 29 Aug 2024 22:52:22 +0300	[thread overview]
Message-ID: <CAEYuUWB-+Eb_AxxS2sFKv4ThqviWwWC7kaeJZYrqPoSA_y4mhw@mail.gmail.com> (raw)
In-Reply-To: <3949abb45e7e43e2905a0e00616a31cf@skala-r.ru>

Hi,

On Thu, Aug 29, 2024 at 10:25 AM Романов Евгений Александрович
<ERomanov@skala-r.ru> wrote:
> I don't fully understand in the manual where exactly do I need to install DPDK - on the Host or VM? I plan to use this product to increase the data transfer rate between VMs within a single host in conjunction with SR-IOV.
> If I install DPDK on a VM, then by what means can I hang the IP address on the interface?
> If I install it on the Host, then PMD automatically takes VFS (created using SR-IOV technology) under PMD control, and in VM I throw them as a PCI device. Is that right?

DPDK can be used both inside and outside a VM. For your problem,
install DPDK on the host.
If your hypervisor is QEMU, you probably need not SR-IOV but vhost:
http://doc.dpdk.org/guides/sample_app_ug/vhost.html.
It is possible to accelerate VM-VM and VM-PHY traffic using SR-IOV,
but this requires switchdev support, which cxgbe PMD seems lacking.
In any case, VM gets a standard PCIe device, be it virtio-net (vhost
case) or a VF (SR-IOV case), which can be managed by the guest kernel
as usual.

> how can I delete DPDK if I compiled using make? The yum remove command does not work in this case.

Meson is the current build system, Makefiles were used until DPDK
20.11 (IIRC), which is End-of-Life.
Meson generates "uninstall" target for this purpose.
It is easier to install DPDK to a dedicated directory (meson configure
--prefix=/opt/dpdk) to uninstall by just deleting it.
Packaging is currently out of scope of DPDK, some distributions
provide DPDK packages.

      reply	other threads:[~2024-08-29 19:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-19  9:41 Романов Евгений Александрович
2024-08-29 19:52 ` Dmitry Kozlyuk [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=CAEYuUWB-+Eb_AxxS2sFKv4ThqviWwWC7kaeJZYrqPoSA_y4mhw@mail.gmail.com \
    --to=dmitry.kozliuk@gmail.com \
    --cc=ERomanov@skala-r.ru \
    --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).