DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Multiple applications
@ 2016-09-19 23:18 John Pearson
  0 siblings, 0 replies; only message in thread
From: John Pearson @ 2016-09-19 23:18 UTC (permalink / raw)
  To: users

hi all,

I have eth0 and eth1 physical NICs and four core cpu. I am trying to run
KNI along side of a dpdk application.

I setup the hugepages: 2MB * 1024.

Dpdk application:
- Both eth0 and eth1 are bound to dpdk.
- build a switch like program to pass packets between the dpdk NICs.
- ran this: `./dpdkapp -c 0x0f -n 4 -- dpdkapp.conf`
- dpdkapp is working as intended.

KNI application:
- I also want to use the regular linux programs like, ping, traceroute and
others.
- I ran the sample KNI application in the examples directory.
- ran this: `./kni -c 0x0f -n 4 -- -P -p 0x1 --config="(0000:00:01,0,1)"`
- KNI application is working as intended.

Now when I want to run both these applications at the same time:
- `./kni -c 0x0f -n 4 --socket-mem=1024 --proc-type=primary -- -P -p 0x1
--config="(0000:00:01,0,1)"`
- `./dpdkapp -c 0x0f -n 4 --socket-mem=1024 --proc-type=secondary --
dpdkapp.conf`

I get this error:

EAL: memzone_reserve_aligned_thread_unsafe(): memzone <RG_MP_mbuf_pool_0>
already exists
RING: Cannot reserve memory
Could not allocate packet MBuf pools

I even tried to make dpdkapp primary and kNI secondary, but I get same
error.

Thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-19 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 23:18 [dpdk-users] Multiple applications John Pearson

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