DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] KNI Sample App Error: portmask is not consistent to port ids specified in --config
       [not found] <1932415570.126066.1531878833131.ref@mail.yahoo.com>
@ 2018-07-18  1:53 ` Kandy Palanisamy
  0 siblings, 0 replies; only message in thread
From: Kandy Palanisamy @ 2018-07-18  1:53 UTC (permalink / raw)
  To: users


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

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

only message in thread, other threads:[~2018-07-18  1:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1932415570.126066.1531878833131.ref@mail.yahoo.com>
2018-07-18  1:53 ` [dpdk-users] KNI Sample App Error: portmask is not consistent to port ids specified in --config Kandy Palanisamy

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