DPDK usage discussions
 help / color / mirror / Atom feed
From: Staffan Wiklund <staffan491@gmail.com>
To: users <users@dpdk.org>
Subject: Impact on DPDK application when using the multi-process feature?
Date: Fri, 26 Nov 2021 13:27:40 +0100	[thread overview]
Message-ID: <CAAV4wThSrxZ2XVW6fF7Ls1KQtNDwSAqv4x=71E65YFvE+cEBnA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]

Hello

I wonder if you please can help me with some questions regarding the DPDK
multi-process feature?

If a primary process and the secondary processes all execute on different
CPU cores,
what limitations are there on the secondary processes when using DPDK
functions
for initialization of EAL and for handling ethernet devices?

That is, is a secondary process allowed to call the rte_eal_init function
or any of
the rte_eth_xxx functions?
What will happen if a secondary process calls any of these DPDK functions?

The reason for these questions is that I would like to execute 3-4 DPDK
applications that
now executes as stand-alone applications as one primary process and the
other
applications as secondary processes. All these processes will share memory
which
shall be used to improve the speed of communication between the
applications.

The applications currently use DPDK for Ethernet based communication and I
would
like to learn what needs to be modified in order to be able to execute them
as a
primary and secondary processes using DPDK shared memory.

Best regards
Staffan

[-- Attachment #2: Type: text/html, Size: 1384 bytes --]

             reply	other threads:[~2021-11-26 12:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26 12:27 Staffan Wiklund [this message]
2021-11-26 17:22 ` Stephen Hemminger
2021-11-26 19:49   ` Staffan Wiklund

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='CAAV4wThSrxZ2XVW6fF7Ls1KQtNDwSAqv4x=71E65YFvE+cEBnA@mail.gmail.com' \
    --to=staffan491@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).