From: Kandy Palanisamy <kandy_pal@yahoo.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] KNI Sample App Error: portmask is not consistent to port ids specified in --config
Date: Wed, 18 Jul 2018 01:53:53 +0000 (UTC) [thread overview]
Message-ID: <1932415570.126066.1531878833131@mail.yahoo.com> (raw)
In-Reply-To: <1932415570.126066.1531878833131.ref@mail.yahoo.com>
I have just set up DPDK on my host. After running helloworld sample app successfully, I am trying to run the kni sample app using the command line:
kni/kni -c 0xf -n 4 -- -P -p 0x1 --config="{1,2,3}"
But, I get: EAL:
EAL: Error - exiting with code: 1
Cause: portmask is not consistent to port ids specified in –config
I have just one port (eth0 before it was bound to dpdk) set up for DPDK on an 8-core Xeon D. I have been going through the DPDK sample apps guide to figure out how to get the port id and config matching. But, so far I am not able to. Really appreciate your help on this.
root@intel-corei7-64:/usr/share/examples# kni/kni -c 0xf -n 4 -- -P -p 0x1 --config="{1,2,3}"
EAL: Detected 16 lcore(s)
EAL: Multi-process socket /var/run/.rte_unix
EAL: Probing VFIO support...
EAL: NUMA support not available consider that all memory is in socket_id 0
EAL: PCI device igb_uio 0000:0a:00.0: uio device registered with irq 45
0000:04:00.0 on NUMA socket 0
EAL: probe driver: 8086:15ac net_ixgbe
EAL: PCI device 0000:04:00.1 on NUMA socket 0
EAL: probe driver: 8086:15ac net_ixgbe
EAL: PCI device 0000:0a:00.0 on NUMA socket 0
EAL: probe driver: 8086:1533 net_e1000_igb
EAL: Error - exiting with code: 1
Cause: portmask is not consistent to port ids specified in --config
root@intel-corei7-64:/usr/share/examples#
root@intel-corei7-64:/usr/share/examples# lsmod
Module Size Used by
rte_kni 20480 0
igb_uio 16384 0
8021q 24576 0
nfc 69632 0
bnep 20480 2
uio 16384 1 igb_uio
intel_rapl 20480 0
igb 167936 0
ixgbe 249856 0
x86_pkg_temp_thermal 16384 0
mei_me 28672 0
intel_powerclamp 16384 0
mei 61440 1 mei_me
coretemp 16384 0
mdio 16384 1 ixgbe
root@intel-corei7-64:/usr/share/examples#
root@intel-corei7-64:/usr/share/examples# dpdk-devbind --status
Network devices using DPDK-compatible driver
============================================
0000:0a:00.0 'I210 Gigabit Network Connection 1533' drv=igb_uio unused=igb
::
root@intel-corei7-64:/usr/share/examples# cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
1024
root@intel-corei7-64:/usr/share/examples#
Thanks,
Kandy
parent reply other threads:[~2018-07-18 1:53 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1932415570.126066.1531878833131.ref@mail.yahoo.com>]
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=1932415570.126066.1531878833131@mail.yahoo.com \
--to=kandy_pal@yahoo.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).