From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: disable i40e vf vlan stripping Date: Tue, 28 Mar 2017 17:29:43 +0200 Message-ID: <20170328172943.7b157ef4@platinum> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: dev@dpdk.org, helin.zhang@intel.com, jingjing.wu@intel.com Return-path: Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) by dpdk.org (Postfix) with ESMTP id 89CD2D018 for ; Tue, 28 Mar 2017 17:29:46 +0200 (CEST) Received: by mail-wr0-f175.google.com with SMTP id l43so108921520wre.1 for ; Tue, 28 Mar 2017 08:29:46 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi i40e maintainers, I have the following configuration: - host runs with Linux pf i40e driver - guest runs with DPDK vf i40e driver I send a vlan packet from the host to the guest. On the guest, I start testpmd with --disable-hw-vlan-strip. When I receive the packet on the guest, it has the PKT_RX_VLAN_STRIPPED flag although I'm not asking for it. From what I understand, it is not possible to disable vlan stripping when using a Linux PF driver. Since the i40evf DPDK driver does not behave like what the application asks for, I think it should be fixed. What do you think about re-adding the vlan in software when dev_conf->rxmode.hw_vlan_strip == 0 ? The other alternative would be to forbid this configuration and return an error. Any opinion? Shall I send a patch? Thanks Olivier