From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f66.google.com (mail-it0-f66.google.com [209.85.214.66]) by dpdk.org (Postfix) with ESMTP id 7F67B214A for ; Wed, 29 Jun 2016 12:13:20 +0200 (CEST) Received: by mail-it0-f66.google.com with SMTP id y93so4793274ita.0 for ; Wed, 29 Jun 2016 03:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc; bh=F1G7SFSvG5rItbkziEJ+Ts+cmugoU7KfSrvCiet7niY=; b=0B5PoiNBZQ3DU7eMrVjFgPcXRjM1ijqSbLW3An6p2Sf/3qRsslZoXuHWc+v+AuONA8 7qXIu5Znd339/EleeF+X8gq4wddmUCKHFFfRo++JF13FsSHPnEvemm655L6NbQDIdvC1 dpRoWBiMxaK3HEPoa+K6P9gB75IZN8jglXmLuQ8T8NO0RoOvImTMhRbb0KZ35EIdQ60e GWzpVsYHA33OKtAt5CpNwyYXZWQHrSoD4WgEilk+i0QmWqdUqG8orA92kI6CRvJrQWNB LewgD8wLozY8IyuX5U6K91fmdPdCFxSYJ8xACcuvScILijyTWqT+Nm9qLu5bP1wiFUXP +/aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=F1G7SFSvG5rItbkziEJ+Ts+cmugoU7KfSrvCiet7niY=; b=O824eYjsEeS/Cq9HamWQp3v2oJzSDlVmtrUSaDZcgf1lYxmwK3Ep5uMHTkTxo2Kvi9 JHfBQzPvumhkE7heiz+dRboWY9mSNIpNc3L0eG3IEMMJdtY9SGzDDqLj9aOdBvZxGmM1 MahQgfQw/iON9uF1MKw2QfuuKrlZwCoU6ZCnus6xNsGe6Mr26mUo+q87rVkxrvNcd95e lnXHpyueCC154RZaW3fjS31ox22yohWd4tf0gqZzVQs2HsZTZj51MJufqWOdGNyiUM3q IAO5Cn7y/3S0BM/uKny8dhNJ035qikiNjqL5lCZ7k0SpK74rJJJ+B4cK4FWpLljnJQeq B5qQ== X-Gm-Message-State: ALyK8tL1lRdvYQn8Oa1XjA9BuIGRYg+ZMXj1xT4gR0CYp7Z+o95C05TOt1wwWKdxpr7bUVqZplwvENB3UOXjVA== X-Received: by 10.36.25.65 with SMTP id b62mr4487772itb.29.1467195199900; Wed, 29 Jun 2016 03:13:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.34.76 with HTTP; Wed, 29 Jun 2016 03:13:19 -0700 (PDT) From: Srinivasreddy R Date: Wed, 29 Jun 2016 15:43:19 +0530 Message-ID: To: Raja Jayapal Cc: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] dpdk config on VM X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2016 10:13:20 -0000 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 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 [-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 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 [-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 wrote: ----- > To: Raja Jayapal > From: Srinivasreddy R > Date: 06/27/2016 07:03PM > Cc: "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 > 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.