[dpdk-dev] Question about problem when calling rte_eal_init()

2017-06-13 Thread Junguk Cho
Hi, I use ovs-dpdk with one application which talks to ovs by using ring device and "--proc-type=secondary" (secondary processes). It generally works well, but sometimes it shows this error. It seems it could not find correct memory mapping in the application. 2017-06-13 11:21:40.988 STDERR Thre

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

2017-06-15 Thread Junguk Cho
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). Howev

[dpdk-dev] Can one process be primary and secondary both at the same time?

2016-06-29 Thread Junguk Cho
Hi, Based on 18. Multi-process Support ( http://dpdk.org/doc/guides-16.04/prog_guide/multi_proc_support.html), we cannot create one process which works as primary and secondary at the same. Is it true? For example, there are three applications. A <-> B <-> C. A : primary for B B : secondary for

[dpdk-dev] DPDK for JNI

2016-07-01 Thread Junguk Cho
Hi, Does anyone know DPDK works with JNI? Thanks, Junguk