DPDK usage discussions
 help / color / mirror / Atom feed
From: Michael Mason <michael.l.mason@gmail.com>
To: users@dpdk.org
Subject: Linux / MLX4 / ConnectX-3 / secondary process support
Date: Tue, 25 Jan 2022 08:55:46 -0500	[thread overview]
Message-ID: <41BAAD20-8A6A-4008-BB98-B8257349A84C@gmail.com> (raw)

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

We’re running the configuration in the subject line but we need secondary process support.  however, runtime console messages and the mlx4 docs indicate that mlx4 does not explicitly support this approach.  (Even though I was able to run the multi_process/simple_mp example successfully earlier today so that’s confusing …)

Our options appear to be: (1) use a different NIC (2) change sw architecture (move away from using the primary/secondary process approach)

There is a description of how to get around this in one of the commit messages for mlx4, and I’ve pasted it below:

“ External memory unregistered in EAL memseg list cannot be used for DMA unless such memory has been registered by mlx4_mr_update_ext_mp() in primary process and remapped to the same virtual address in secondary process. If the external memory is registered by primary process but has different virtual address in secondary process, unexpected error may happen”


I think I understand most of this, but does someone have an example for how to do this?  Or could someone add some more details to this paragraph?   Wrt remapping the address, is that just as simple as using the DPDK IPC to send a message from primary->secondary containing the correct virtual address?  Lastly, how would this additional process be created?  Using something outside of the DPDK environment?

Thanks everyone!

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

                 reply	other threads:[~2022-01-25 13:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=41BAAD20-8A6A-4008-BB98-B8257349A84C@gmail.com \
    --to=michael.l.mason@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).