From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by dpdk.org (Postfix) with ESMTP id E0986231C for ; Wed, 10 Sep 2014 20:54:55 +0200 (CEST) Received: by mail-we0-f181.google.com with SMTP id w62so2676342wes.40 for ; Wed, 10 Sep 2014 12:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=G9tBnzeC/OPLuFD3v8aRNGBmL5kOkEIM6eVkV/XlRnQ=; b=qfCzwkeTlfHUipd2IjNwkiyEgOeEzwJhwG4eeTrqMwclguot7GhXIaQHhHRxZkqR9a BBlyj2s0xS938hMRQh0u4TUqB7K4iBPqGnW4LdjnHZIRN+URMJgMhlC9TMwt4+vYYTna 8lTKhuczTHbDT6rzpV+ZNz9ik1t+ADcZfXN84c+OghTtGhJuQ2fl+7cOTA0tqTrnqlh7 KEnJ+qaWDWMtX/Efy1H6LpiqPtXa3V/MxUkM6+8jJeXSZBvjThCHQMdhvc8aAKyPU7rp 0HihU+28zCdeR1pBgSRq48WOt/bCUdTTMuEnnBtDSZ8vGOcJ01nRlqW7cFMzINqUhBLy NnOQ== MIME-Version: 1.0 X-Received: by 10.180.73.209 with SMTP id n17mr30663392wiv.34.1410375605804; Wed, 10 Sep 2014 12:00:05 -0700 (PDT) Received: by 10.217.50.70 with HTTP; Wed, 10 Sep 2014 12:00:05 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Sep 2014 00:30:05 +0530 Message-ID: From: ANKIT BATRA To: "Ouyang, Changchun" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Testing vmdq sample application 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, 10 Sep 2014 18:54:56 -0000 Hi, I have started the application on my host machine.And from another terminal on host machine gave sudo killall -HUP vmdq_dcb_app and sent packets on NIC card from another machine .But on terminal where vmdq application is running, I am seeing that no packets are coming.All rows and columns are 0.And where will the VMs will come into picture here for testing this. Please suggest and correct me if i am doing anything incorrect. On Wed, Sep 10, 2014 at 6:24 AM, Ouyang, Changchun < changchun.ouyang@intel.com> wrote: > Hi > > Firstly compiling the application > 1. Go to the examples directory: > export RTE_SDK=3D/path/to/rte_sdk > cd ${RTE_SDK}/examples/vmdq > 2. Set the target (a default target is used if not specified). For exampl= e: > export RTE_TARGET=3Dx86_64-native-linuxapp-gcc > See the Intel=C2=AE DPDK Getting Started Guide for possible RTE_TARGET va= lues. > 3. Build the application: > make > > Then running the application > To run the example in a linuxapp environment: > user@target:~$ ./build/vmdq_app -c f -n 4 -- --nb-pools 8 > > If you use 1G NIC, 8 pools are available, > If you use 10G NIC, 64 pools are available, > > At last, send packets with vlan tag to select a pool. > > The vlan tag and pool has the following mapping: > const uint16_t vlan_tags[] =3D { > 0, 1, 2, 3, 4, 5, 6, 7, // It occupies pool 0 ~ poo= l > 7, one for each > 8, 9, 10, 11, 12, 13, 14, 15, // It occupies pool 8 ~ pool > 15, one for each > 16, 17, 18, 19, 20, 21, 22, 23, // It occupies pool 16 ~ pool > 23, one for each > 24, 25, 26, 27, 28, 29, 30, 31, // It occupies pool 24 ~ pool > 31, one for each > 32, 33, 34, 35, 36, 37, 38, 39, // It occupies pool 32 ~ pool > 39, one for each > 40, 41, 42, 43, 44, 45, 46, 47, // It occupies pool 40 ~ pool > 47, one for each > 48, 49, 50, 51, 52, 53, 54, 55, // It occupies pool 48 ~ pool > 55, one for each > 56, 57, 58, 59, 60, 61, 62, 63, // It occupies pool 56 ~ pool > 63, one for each > }; > > Thanks > Changchun > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of ANKIT BATRA > > Sent: Wednesday, September 10, 2014 3:23 AM > > To: dev@dpdk.org > > Subject: [dpdk-dev] Testing vmdq sample application > > > > Hi, > > > > I am trying to run vmdq sample application.But not getting how to test > > this.Can anyone please help with detailed procedure how to test this > sample > > application. > > -- > > Regards > > Ankit Batra > --=20 Regards Ankit Batra