DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] dpdk config on VM
@ 2016-06-29 10:13 Srinivasreddy R
  0 siblings, 0 replies; 3+ messages in thread
From: Srinivasreddy R @ 2016-06-29 10:13 UTC (permalink / raw)
  To: Raja Jayapal; +Cc: dev

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] dpdk config on VM
@ 2016-06-27 13:14 Srinivasreddy R
  0 siblings, 0 replies; 3+ messages in thread
From: Srinivasreddy R @ 2016-06-27 13:14 UTC (permalink / raw)
  To: Raja Jayapal; +Cc: dev

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dpdk-dev] dpdk config on VM
@ 2016-06-27  9:20 Raja Jayapal
  0 siblings, 0 replies; 3+ messages in thread
From: Raja Jayapal @ 2016-06-27  9:20 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-29 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-29 10:13 [dpdk-dev] dpdk config on VM Srinivasreddy R
  -- strict thread matches above, loose matches on Subject: below --
2016-06-27 13:14 Srinivasreddy R
2016-06-27  9:20 Raja Jayapal

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