[dpdk-dev] How to get "--base-virtaddr" when using DPDK

Junguk Cho jmanbal at gmail.com
Thu Jun 15 20:00:16 CEST 2017


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


More information about the dev mailing list