From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f173.google.com (mail-yk0-f173.google.com [209.85.160.173]) by dpdk.org (Postfix) with ESMTP id E89485909 for ; Fri, 12 Sep 2014 08:46:27 +0200 (CEST) Received: by mail-yk0-f173.google.com with SMTP id 19so167233ykq.18 for ; Thu, 11 Sep 2014 23:51:44 -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=Yg063jso2NSzW2KRuvsySGSx9AkDD2+g3aCauogi7Gc=; b=ivO7N5P+Jo08pj4+Eun0MYbvjmYC2M68lbzeJK7LnQ64On4FkfUuMm5UkmUKAwkgLS 0YtCoZJt1GKC8BUQYN/b3SDNQ1fCAmUZignk99gLxk2XgbqdAvUTtpq/NtESSi7Kq6wa D2nxYwR2efCEgY1JE+bljAJlxkQayNkB1KqQ2pVsYHJdIJ7EI6r6pDadK2mcksyCTOTB +yf9xlVA+tjz6MpqYxzphy4k9HTf9a4Si9jW0IJ4z9mdL5orr5wY11xdooa58frTaLFE lfySfEXlLsnb+xr+iGyxsPt2g2sBg7IT9Ue3vlHVfpxpkPxhNgdo79Vj5VYBeZsdj0Wx JCsg== X-Gm-Message-State: ALoCoQlEzHoM9anQI1QXzCE7Un75vE/A+QtUcdVGIb9SY3YD93DWjA4NivhSlzzwavThwYoI1TMQ MIME-Version: 1.0 X-Received: by 10.236.4.2 with SMTP id 2mr7974880yhi.20.1410504704293; Thu, 11 Sep 2014 23:51:44 -0700 (PDT) Received: by 10.170.210.132 with HTTP; Thu, 11 Sep 2014 23:51:44 -0700 (PDT) In-Reply-To: References: <59AF69C657FD0841A61C55336867B5B0343F098F@IRSMSX103.ger.corp.intel.com> Date: Thu, 11 Sep 2014 23:51:44 -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: Fri, 12 Sep 2014 06:46:28 -0000 In this case the 'vhost' example is probably what you're looking for. It supports VM2VM and VM to external traffic. Thanks, Weichun On Thu, Sep 11, 2014 at 3:58 AM, ANKIT BATRA wro= te: > Hi, > > I want to use VMDQ for traffic exchange between virtual machines and > external world. Need to know how to configure vmdq interface and the > configuration to be done on virtual machine manager(host machine) as well= as > on the Virtual Machines(guest). > On Thu, Sep 11, 2014 at 2:03 PM, Richardson, Bruce > wrote: >> >> Also check that the mac addresses are configured correctly on the packet= s >> being sent. In vmdq_dcb mode, the nic doesn't act in promiscuous mode >> picking up all packet irrespective of MAC address, so the destination ma= c >> must match that of the NIC port. >> >> /Bruce >> >> > -----Original Message----- >> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wei-Chun Chao >> > Sent: Wednesday, September 10, 2014 8:49 PM >> > To: ANKIT BATRA >> > Cc: dev@dpdk.org >> > Subject: Re: [dpdk-dev] Testing vmdq sample application >> > >> > 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 >> > wrote: >> > > 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 thi= s. >> > > 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 >> > >> example: >> > >> export RTE_TARGET=3Dx86_64-native-linuxapp-gcc >> > >> See the Intel=C2=AE DPDK Getting Started Guide for possible RTE_TAR= GET >> > >> values. >> > >> 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= ~ >> > >> pool >> > >> 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 t= o >> > >> > test >> > >> > this.Can anyone please help with detailed procedure how to test >> > >> > this >> > >> sample >> > >> > application. >> > >> > -- >> > >> > Regards >> > >> > Ankit Batra >> > >> >> > > >> > > >> > > >> > > -- >> > > Regards >> > > Ankit Batra > > > > > -- > Regards > Ankit Batra