From: John Pearson <johnpearson555@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Multiple applications
Date: Mon, 19 Sep 2016 16:18:50 -0700 [thread overview]
Message-ID: <CAKNtY_yXc4bXRDjP=jeQo9uB==2zXPR8gavQcsyFGXPPypTMWg@mail.gmail.com> (raw)
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!
reply other threads:[~2016-09-19 23:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CAKNtY_yXc4bXRDjP=jeQo9uB==2zXPR8gavQcsyFGXPPypTMWg@mail.gmail.com' \
--to=johnpearson555@gmail.com \
--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).