From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp65.ord1c.emailsrvr.com (smtp65.ord1c.emailsrvr.com [108.166.43.65]) by dpdk.org (Postfix) with ESMTP id 91B151D13C for ; Fri, 6 Apr 2018 15:51:40 +0200 (CEST) Received: from smtp25.relay.ord1c.emailsrvr.com (localhost [127.0.0.1]) by smtp25.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 293E920305; Fri, 6 Apr 2018 09:51:40 -0400 (EDT) X-Auth-ID: padam.singh@inventum.net Received: by smtp25.relay.ord1c.emailsrvr.com (Authenticated sender: padam.singh-AT-inventum.net) with ESMTPSA id 46C6E20299; Fri, 6 Apr 2018 09:51:39 -0400 (EDT) X-Sender-Id: padam.singh@inventum.net Received: from [172.16.1.38] ([UNAVAILABLE]. [103.25.205.2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:587 (trex/5.7.12); Fri, 06 Apr 2018 09:51:40 -0400 From: Padam Jeet Singh Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.7\)) Message-Id: <27296DED-C9CF-41DA-AD23-61C58242E7E4@inventum.net> Date: Fri, 6 Apr 2018 19:21:35 +0530 Cc: skhare@vmware.com To: dev@dpdk.org X-Mailer: Apple Mail (2.3445.1.7) Subject: [dpdk-dev] vmxnet3 RX VLAN Strip offload incorrect behaviour X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2018 13:51:40 -0000 Hi, When configuring the vmxnet3 based ethernet device, the RX VLAN Strip = offload does not work as it usually does with other real NICs which = support this function. When configuring with rxmode.hw_vlan_strip =3D 1, the ipackets statistic = does not increase when a VLAN ether type frame is received on the port = and it is also not received on queue RX. However, when configuring rxmode.hw_vlan_strip =3D 0 ,the ipackets = statistic increases as well as frames arrives with VLAN header. Though calling rte_eth_dev_set_vlan_offload(port, = ETH_VLAN_STRIP_OFFLOAD) returns a success, however VLAN stripping on RX = does not work. TX VLAN INSERT offload on the other hand works just fine. Is this a bug in vmxnet3 driver of dpdk? Thanks, Padam=