From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 00579685C for ; Fri, 19 Aug 2016 02:34:29 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 18 Aug 2016 17:34:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,542,1464678000"; d="scan'208";a="1028041232" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 18 Aug 2016 17:33:10 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 17:33:10 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 17:33:10 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.181]) with mapi id 14.03.0248.002; Fri, 19 Aug 2016 08:33:08 +0800 From: "Lu, Wenzhuo" To: "Dey, Souvik" , "dev@dpdk.org" Thread-Topic: VLAN with ixgbevf pmd Thread-Index: AdH5Xl4vmYNG2NRsT5KPeDgeMEN2CwAUiwEg Date: Fri, 19 Aug 2016 00:33:08 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09090349C019@shsmsx102.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] VLAN with ixgbevf pmd 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, 19 Aug 2016 00:34:30 -0000 Hi Souvik, Take testpmd for example, normally we should disable HW vlan filter by addi= ng parameter " --disable-hw-vlan-filter " or CLI " port config all hw-vlan-= filter off". Hope it can help :) Best regards Wenzhuo Lu > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Dey, Souvik > Sent: Thursday, August 18, 2016 10:47 PM > To: dev@dpdk.org > Subject: [dpdk-dev] VLAN with ixgbevf pmd >=20 > Hi, >=20 >=20 >=20 > I am trying to get tagged packets to work in SRIOV mode. I am using dpdk= 2.1 > version with an application on KVM. >=20 > The setup is as below: The same configuration works for untagged packets= . >=20 > Guest VM (Virtual Function/Created tagged kni interfaces)--- > KVM host = (PF/no > tag on the VF ) -->Client server >=20 > When the packet is tagged (vlan tag/id) the packet is sent from kni inte= rface to > the application is it received with the tag and is also sent out to the p= md. But the > packets does not go out of the host. Neither any tagged packets are comin= g in > from out to the application. The ol_flags is set to 0 in my application. >=20 > Can someone let me know what I am missing? Do we need to do some specific > configuration on the rx or tx ports for this ? Does the vlan id configure= d on the > kni gets peculated down to the vf of the host too which is causing the is= sue ? >=20 >=20 >=20 > Any help would be highly appreciated! >=20 >=20 >=20 > -- >=20 > Regards, >=20 > Souvik