DPDK patches and discussions
 help / color / mirror / Atom feed
From: Srinivasreddy R <srinivasreddy4390@gmail.com>
To: Raja Jayapal <raja.jayapal@tcs.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] dpdk config on VM
Date: Wed, 29 Jun 2016 15:43:19 +0530	[thread overview]
Message-ID: <CAJP4VWiTHVOx6HW8XQB9OiuM33AknvOOJmzNaDibthpDFHorDg@mail.gmail.com> (raw)

hi ,
The below error is because invalid coremask , your VM has only one core ,
but you are trying to assign  eal option as -c 0xf that means you are
assigning 1,2,3,4 cores to dpdk application which are not available in your
VM .
you can increase sufficient number of cores while u launch virtual machine .

please check EAL options for dpdk before proceeding .
http://dpdk.org/doc/guides-16.04/testpmd_app_ug/run_app.html




On Wed, Jun 29, 2016 at 2:20 PM, Raja Jayapal <raja.jayapal@tcs.com> wrote:

> Hi All,
>
> I have installed dpdk(16.04) on ubuntu VM and trying to run
> helloworld/testpmd application, but i am getting the below errors.
>
> root@host4-VirtualBox:/home/host4/dpdk/dpdk-16.04/examples/helloworld#
> echo $RTE_SDK
> /home/host4/dpdk/dpdk-16.04
> root@host4-VirtualBox:/home/host4/dpdk/dpdk-16.04/examples/helloworld#
> echo $RTE_TARGET
> x86_64-native-linuxapp-gcc
> root@host4-VirtualBox:/home/host4/dpdk/dpdk-16.04/examples/helloworld#
> ./build/helloworld -c f -n 4
> EAL: Detected lcore 0 as core 0 on socket 0
> EAL: Support maximum 128 logical core(s) by configuration.
> EAL: Detected 1 lcore(s)
> EAL: lcore 1 unavailable
> EAL: invalid coremask
>
> Usage: ./build/helloworld [options]
>
> EAL common options:
>   -c COREMASK         Hexadecimal bitmask of cores to run on
>   -l CORELIST         List of cores to run on
>                       The argument format is <c1>[-c2][,c3[-c4],...]
>                       where c1, c2, etc are core indexes between 0 and 128
>   --lcores COREMAP    Map lcore set to physical cpu set
>                       The argument format is
>                             '<lcores[@cpus]>[<,lcores[@cpus]>...]'
>                       lcores and cpus list are grouped by '(' and ')'
>
> root@host4-VirtualBox:/home/host4/dpdk/dpdk-16.04/app/test-pmd# ./testpmd
> -c 0xf -n 4 -- -i --portmask=0x1 --nb-cores=2
> EAL: Detected lcore 0 as core 0 on socket 0
> EAL: Support maximum 128 logical core(s) by configuration.
> EAL: Detected 1 lcore(s)
> EAL: lcore 1 unavailable
> EAL: invalid coremask
>
> Usage: ./testpmd [options]
>
> EAL common options:
>   -c COREMASK         Hexadecimal bitmask of cores to run on
>   -l CORELIST         List of cores to run on
>                       The argument format is <c1>[-c2][,c3[-c4],...]
>                       where c1, c2, etc are core indexes between 0 and 128
>
>
> I tried with the options provided in below thread, but getting same error.
> http://openvswitch.org/pipermail/discuss/2014-December/016007.html
>
> Please let me know what could be the cause?
>
> Thanks,
> Raja
>
>
> -----Srinivasreddy R <srinivasreddy4390@gmail.com> wrote: -----
> To: Raja Jayapal <raja.jayapal@tcs.com>
> From: Srinivasreddy R <srinivasreddy4390@gmail.com>
> Date: 06/27/2016 07:03PM
> Cc: "dev@dpdk.org" <dev@dpdk.org>
> Subject: Re: [dpdk-dev] dpdk config on VM
>
>
> hi,
> check with the below link .With little changes you can make it work for
> your use case .
>
> https://github.com/01org/dpdk-ovs/blob/development/docs/04_Sample_Configurations/02_Userspace-vHost.md
>
>
> On Mon, Jun 27, 2016 at 2:50 PM, Raja Jayapal <raja.jayapal@tcs.com>
> wrote:
>
>> Hi All,
>>
>> I am tyrying to install dpdk on ubuntu and test the applications.
>> I have successfully installed dpdk on Host as per the instruction guide ,
>> but little bit confused on how to bind it with VM.
>>
>> VM1(TrafficGen)------Host(DPDK)------VM2(Receiver)
>>
>> Do we need to install ovs to test the flows for the above scenarios?.
>> I did search a lot, but didnt get clear idea like how to do config on VM
>> side.
>> Please point out some config/installation guide for the same.
>>
>>
>> Thanks in Advance,
>> Raja
>> =====-----=====-----=====
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain
>> confidential or privileged information. If you are
>> not the intended recipient, any dissemination, use,
>> review, distribution, printing or copying of the
>> information contained in this e-mail message
>> and/or attachments to it are strictly prohibited. If
>> you have received this communication in error,
>> please notify us by reply e-mail or telephone and
>> immediately and permanently delete the message
>> and any attachments. Thank you
>>
>>
>>
>
>
> --------
> Regards,
> srinivas.
>



-- 
regards
srinivas.

             reply	other threads:[~2016-06-29 10:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 10:13 Srinivasreddy R [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-06-27 13:14 Srinivasreddy R
2016-06-27  9:20 Raja Jayapal

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=CAJP4VWiTHVOx6HW8XQB9OiuM33AknvOOJmzNaDibthpDFHorDg@mail.gmail.com \
    --to=srinivasreddy4390@gmail.com \
    --cc=dev@dpdk.org \
    --cc=raja.jayapal@tcs.com \
    /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).