From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f174.google.com (mail-yk0-f174.google.com [209.85.160.174]) by dpdk.org (Postfix) with ESMTP id 51FE92E8B for ; Wed, 10 Sep 2014 21:43:41 +0200 (CEST) Received: by mail-yk0-f174.google.com with SMTP id q200so1516250ykb.5 for ; Wed, 10 Sep 2014 12:48:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=emt9MjPdQN9aNK8JLPUmuZmZZEDAx9nvN3gj2dDqxvk=; b=RO8+rET8m/Wgrr4MoFrzsei2QEgEoqV4vIAIsZU9TVsBR8XyDdqNAEeNIrqp/GOgCT XptUeRsX9bBJr/9xD3Bofe8IRi5bCdniLigSkj7crXaER0Tyei/HQnaqZxM53szlzzIH TBRthaBHQMDIr7V5695wSt55Gq0HJ7Y+KvDdgybDI2PY/mV6gAHxKCEmmcImaCj2zn/B F6ejA7rLLAJWg/SlPqNN6zCg+btAFCxkSCmAknmlewA2OQS7Z230C37SCkR6nXxV33lV Fy0g37pfbBZ0qmMfod5uBuY/WkGhp3wOimSuKQ1RPJ7Y2rf4IEMYnbzh2iZKF6JX4K6k jd6w== X-Gm-Message-State: ALoCoQlM53WTDis56VjBWa+kcv56vwItfLSa9W3GX6mdeDlmQNqDyvcinNnkZu/g1yz+y+REKy7/ MIME-Version: 1.0 X-Received: by 10.236.161.66 with SMTP id v42mr3785366yhk.117.1410378530828; Wed, 10 Sep 2014 12:48:50 -0700 (PDT) Received: by 10.170.210.132 with HTTP; Wed, 10 Sep 2014 12:48:50 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Sep 2014 12:48:50 -0700 Message-ID: From: Wei-Chun Chao To: ANKIT BATRA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 19:43:41 -0000 Is your traffic VLAN tagged? I think vmdq_app has "conf.enable_default_pool =3D 0;" so untagged traffic will be dropped. Thanks, Weichun On Wed, Sep 10, 2014 at 12:00 PM, ANKIT BATRA wr= ote: > Hi, > > I have started the application on my host machine.And from another termin= al > on host machine gave sudo killall -HUP vmdq_dcb_app and sent packets on N= IC > 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 examp= le: >> export RTE_TARGET=3Dx86_64-native-linuxapp-gcc >> See the Intel=C2=AE DPDK Getting Started Guide for possible RTE_TARGET v= alues. >> 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 ~ po= ol >> 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 tes= t >> > this.Can anyone please help with detailed procedure how to test this >> sample >> > application. >> > -- >> > Regards >> > Ankit Batra >> > > > > -- > Regards > Ankit Batra