From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp121.iad3a.emailsrvr.com (smtp121.iad3a.emailsrvr.com [173.203.187.121]) by dpdk.org (Postfix) with ESMTP id 6DC192BBD for ; Mon, 11 Jul 2016 12:24:32 +0200 (CEST) Received: from smtp32.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp32.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 24E8D380451 for ; Mon, 11 Jul 2016 06:24:32 -0400 (EDT) X-Auth-ID: padam.singh@inventum.net Received: by smtp32.relay.iad3a.emailsrvr.com (Authenticated sender: padam.singh-AT-inventum.net) with ESMTPSA id A6C1F38044C for ; Mon, 11 Jul 2016 06:24:31 -0400 (EDT) X-Sender-Id: padam.singh@inventum.net Received: from [172.16.1.231] ([UNAVAILABLE]. [103.25.205.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:25 (trex/5.5.4); Mon, 11 Jul 2016 06:24:32 -0400 From: Padam Jeet Singh Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: Date: Mon, 11 Jul 2016 15:54:28 +0530 To: dev@dpdk.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) Subject: [dpdk-dev] I211, Double VLAN tags and VLAN Stripping not working 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: Mon, 11 Jul 2016 10:24:32 -0000 Hello, I am using the development branch of DPDK and am trying out double = tagging using the DPDK PMD E1000 driver. =46rom a code perspective, I have the following: In rte_eth_conf.rxmode:=20 hw_vlan_extend =3D 1, =20 hw_vlan_strip =3D 1, In the port setup code :=20 called rte_eth_dev_set_vlan_ether_type(port_id, = ETH_VLAN_TYPE_OUTER, 0x88a8); However, the MBUF received still comes with ether type 0x88a8 with both = mbuf->vlan_tci and mbuf->vlan_tci_outer set to zero. Basically the VLAN = stripping is not taking place. When I do a code search for = vlan_tci_outer, it seems only the Intel i40 and one another actually = populate these fields. I am not sure if this is I211 Ethernet controller limitation or DPDK = driver limitation. Any pointers on how can I get VLAN stripping enabled for E1000 PMD for = both inner and outer VLANs? The single VLAN stripping case works fine in = same code. Thanks, Padam=