DPDK usage discussions
 help / color / mirror / Atom feed
From: "P D, Arun (Nokia - IN/Bangalore)" <arun.p_d@nokia.com>
To: "EXT Pattan, Reshma" <reshma.pattan@intel.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Issue on Running KNI application
Date: Wed, 9 Dec 2015 05:48:37 +0000	[thread overview]
Message-ID: <452B978F8CA9744BAA81E3E69370ABC4D92C4B@SGSIMBX011.nsn-intra.net> (raw)
In-Reply-To: <3AEA2BF9852C6F48A459DA490692831FF8AB00@IRSMSX109.ger.corp.intel.com>

Hi Reshma,

I am getting error, upon executing saying that it's an invalid core mask.

Also please let me know how you are calculating the hexadecimal bitmask for the cores.

./kni -c 0x1E -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: lcore 4 unavailable
EAL: invalid coremask

Regards,
Arun Raj

-----Original Message-----
From: EXT Pattan, Reshma [mailto:reshma.pattan@intel.com] 
Sent: Wednesday, December 09, 2015 3:37 AM
To: P D, Arun (Nokia - IN/Bangalore) <arun.p_d@nokia.com>; users@dpdk.org
Subject: RE: Issue on Running KNI application

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@dpdk.org] On Behalf Of P D, Arun (Nokia -
> IN/Bangalore)
> Sent: Tuesday, December 8, 2015 6:06 PM
> To: users@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

  reply	other threads:[~2015-12-09  5:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 18:05 P D, Arun (Nokia - IN/Bangalore)
2015-12-08 19:48 ` Ilir Iljazi
2015-12-08 22:07 ` Pattan, Reshma
2015-12-09  5:48   ` P D, Arun (Nokia - IN/Bangalore) [this message]
2015-12-09 11:41     ` Pattan, Reshma
2015-12-11 11:27       ` P D, Arun (Nokia - IN/Bangalore)
2016-04-15  5:23 [dpdk-users] Issue on running kni application Nikhila, Athaluri (Nokia - IN/Bangalore)
2016-04-15 12:45 ` SAKTHIVEL ANAND S
     [not found]   ` <12A43467A5F69640B90142DFE5470A180184F97A@SGSIMBX004.nsn-intra.net>
2016-04-18  6:57     ` SAKTHIVEL ANAND S

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=452B978F8CA9744BAA81E3E69370ABC4D92C4B@SGSIMBX011.nsn-intra.net \
    --to=arun.p_d@nokia.com \
    --cc=reshma.pattan@intel.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).