[dpdk-users] Issue on Running KNI application

Pattan, Reshma reshma.pattan at intel.com
Tue Dec 8 23:07:13 CET 2015


Hi Arun,

Core mask value i.e. -c value should be 0x1E in your command. Because you are using cores 1,2,3,4 so their respective bits must be set to 1 in -c value.

./kni -c 0x1E -n 4 -- -P -p 0x3 --config="(0,1,3),(1,2,4)"

Thanks,
Reshma

> -----Original Message-----
> From: users [mailto:users-bounces at dpdk.org] On Behalf Of P D, Arun (Nokia -
> IN/Bangalore)
> Sent: Tuesday, December 8, 2015 6:06 PM
> To: users at dpdk.org
> Subject: [dpdk-users] Issue on Running KNI application
> 
> Hello,
> 
> I am trying to run the KNI program in examples of dpdk.
> 
> I am giving the following command and facing the error as  "Cause: lcore id 1 for
> port 0 receiving not enabled".
> 
> Please let me know if I am making any mistake at config parameters, or I am
> missing something.
> 
> ./kni -c 4 -n 4 -- -P -p 0x3 --config="(0,1,3),(1,2,4)"
> 
> EAL: Detected lcore 0 as core 0 on socket 0
> EAL: Detected lcore 1 as core 1 on socket 0
> EAL: Detected lcore 2 as core 2 on socket 0
> EAL: Detected lcore 3 as core 3 on socket 0
> EAL: Support maximum 128 logical core(s) by configuration.
> EAL: Detected 4 lcore(s)
> EAL: Setting up physically contiguous memory...
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7fd603600000 (size = 0x200000)
> EAL: Ask a virtual area of 0x1000000 bytes
> EAL: Virtual area found at 0x7fd602400000 (size = 0x1000000)
> EAL: Ask a virtual area of 0x3c00000 bytes
> EAL: Virtual area found at 0x7fd5fe600000 (size = 0x3c00000)
> EAL: Ask a virtual area of 0x50400000 bytes
> EAL: Virtual area found at 0x7fd5ae000000 (size = 0x50400000)
> EAL: Ask a virtual area of 0x29c00000 bytes
> EAL: Virtual area found at 0x7fd584200000 (size = 0x29c00000)
> EAL: Ask a virtual area of 0x1000000 bytes
> EAL: Virtual area found at 0x7fd583000000 (size = 0x1000000)
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7fd582c00000 (size = 0x200000)
> EAL: Requesting 1024 pages of size 2MB from socket 0
> EAL: TSC frequency is ~3192614 KHz
> EAL: Master lcore 2 is ready (tid=3cb98e0;cpuset=[2])
> EAL: PCI device 0000:03:00.0 on NUMA socket -1
> EAL:   probe driver: 8086:1533 rte_igb_pmd
> EAL:   Not managed by a supported kernel driver, skipped
> EAL: PCI device 0000:05:00.0 on NUMA socket -1
> EAL:   probe driver: 8086:100e rte_em_pmd
> EAL:   Not managed by a supported kernel driver, skipped
> EAL: PCI device 0000:06:00.0 on NUMA socket -1
> EAL:   probe driver: 8086:10d3 rte_em_pmd
> EAL:   Not managed by a supported kernel driver, skipped
> APP: Port ID: 0
> APP: Rx lcore ID: 1, Tx lcore ID: 3
> APP: Port ID: 1
> APP: Rx lcore ID: 2, Tx lcore ID: 4
> EAL: Error - exiting with code: 1
>   Cause: lcore id 1 for port 0 receiving not enabled
> 
> Regards,
> Arun Raj



More information about the users mailing list