DPDK usage discussions
 help / color / mirror / Atom feed
From: Junguk Cho <jmanbal@gmail.com>
To: "users@dpdk.org" <users@dpdk.org>, dev@dpdk.org
Subject: [dpdk-users] How to get "--base-virtaddr" when using DPDK
Date: Thu, 15 Jun 2017 12:00:16 -0600	[thread overview]
Message-ID: <CAMNaBtNLwuEehxSjC6KG7tbupyrDJii3JDXpmX9afgZOrUeO8A@mail.gmail.com> (raw)

Hi,

I have the same situation which is explained here (
https://github.com/collectd/collectd/issues/2284).

So, I would like to try "--base-virtaddr" option.
I tried to use "struct rte_memseg *m = rte_eal_get_physmem_layout()" option
based on (http://dpdk.org/doc/api/structrte__memseg.html).
However, it always  returns different number.

How do I get virtual address value to use it as an input of "base-viraddr"?

Thanks,
Junguk

             reply	other threads:[~2017-06-15 18:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-15 18:00 Junguk Cho [this message]
2017-06-16  8:54 ` [dpdk-users] [dpdk-dev] " Bruce Richardson

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=CAMNaBtNLwuEehxSjC6KG7tbupyrDJii3JDXpmX9afgZOrUeO8A@mail.gmail.com \
    --to=jmanbal@gmail.com \
    --cc=dev@dpdk.org \
    --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).