DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] How to use --virtaddr for multi-process client app.
@ 2017-08-23 18:35 Ming Fu
  2017-08-28  8:12 ` Sergio Gonzalez Monroy
  0 siblings, 1 reply; 3+ messages in thread
From: Ming Fu @ 2017-08-23 18:35 UTC (permalink / raw)
  To: users

This is my first try on dpdk. I attached a snort process as an multi-process client similar to the client in the client-server example. The snort receives mbuf from the server process through a dpdk ring. A skeleton client worked, but once linked to snort, it failed in rte_eal_init().

EAL: Detected 48 lcore(s)
EAL: RTE Version: 'DPDK 17.08.0'
PANIC in rte_eal_config_reattach():
Cannot mmap memory for rte_config at [0x7ffff7faf000], got [0x7fffdea94000] - please use '--base-virtaddr' option

Strace show that the mmap() returns a different address than requested. What address should I set the -base-virtaddr to? Is there a way to avoid this kind of problem in general?

Thanks,
Ming

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-28 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 18:35 [dpdk-users] How to use --virtaddr for multi-process client app Ming Fu
2017-08-28  8:12 ` Sergio Gonzalez Monroy
2017-08-28 18:53   ` Ming Fu

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).