From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: Antonio Di Bacco <a.dibacco.ks@gmail.com>
Cc: users <users@dpdk.org>
Subject: Re: Shared memory between two primary DPDK processes
Date: Thu, 7 Jul 2022 12:26:13 +0300 [thread overview]
Message-ID: <CAEYuUWAPOAZgOjd1OwJZ1eO+4Ob9TXjnzeUAr-W-x0K5N89CsA@mail.gmail.com> (raw)
In-Reply-To: <CAO8pfFm_3Huz7Wi+=TiJgS-JyMySoT6BZNp-cAeahhKfHwpkVw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 284 bytes --]
On Thu, Jul 7, 2022, 11:48 Antonio Di Bacco <a.dibacco.ks@gmail.com> wrote:
> And then I need to add (memzone->iova - memseg->iova) to the address
> returned by mmap.
>
This bit sounds suspicious.
> mmap() always returns a virtual address.
IOVA is VA or PA depending on DPDK mode.
[-- Attachment #2: Type: text/html, Size: 1073 bytes --]
prev parent reply other threads:[~2022-07-07 9:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-08 12:31 Antonio Di Bacco
2022-04-08 13:26 ` Dmitry Kozlyuk
2022-04-08 14:36 ` Ferruh Yigit
2022-04-08 21:14 ` Antonio Di Bacco
2022-04-08 21:08 ` Antonio Di Bacco
2022-04-11 13:03 ` Antonio Di Bacco
2022-04-11 17:30 ` Dmitry Kozlyuk
2022-04-14 8:20 ` Antonio Di Bacco
2022-04-14 19:01 ` Dmitry Kozlyuk
2022-04-14 19:51 ` Antonio Di Bacco
2022-04-18 17:34 ` Antonio Di Bacco
2022-04-18 17:53 ` Antonio Di Bacco
2022-04-18 19:08 ` Dmitry Kozlyuk
2022-07-06 22:14 ` Antonio Di Bacco
2022-07-07 0:26 ` Dmitry Kozlyuk
2022-07-07 8:48 ` Antonio Di Bacco
2022-07-07 9:26 ` 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=CAEYuUWAPOAZgOjd1OwJZ1eO+4Ob9TXjnzeUAr-W-x0K5N89CsA@mail.gmail.com \
--to=dmitry.kozliuk@gmail.com \
--cc=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).