From: Zang MingJie Subject: [PATCH] net/i40e: fix vsi vlan stripping Date: Thu, 24 Aug 2017 21:29:09 +0800 Message-ID: <20170824132909.31253-1-zealot0630@gmail.com> Cc: Zang MingJie To: dev@dpdk.org Return-path: Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by dpdk.org (Postfix) with ESMTP id 3D96B7D14 for ; Thu, 24 Aug 2017 15:29:20 +0200 (CEST) Received: by mail-pg0-f68.google.com with SMTP id 189so3943710pgj.0 for ; Thu, 24 Aug 2017 06:29:20 -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" Function i40e_vsi_config_vlan_stripping doesn't strip vlan tag for vf. The patch should fix the problem. Signed-off-by: Zang MingJie --- drivers/net/i40e/i40e_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 5f26e24a3..cd48ebbc1 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -5189,7 +5189,7 @@ i40e_vsi_config_vlan_stripping(struct i40e_vsi *vsi, bool on) } if (on) - vlan_flags = I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH; + vlan_flags = I40E_AQ_VSI_PVLAN_EMOD_STR; else vlan_flags = I40E_AQ_VSI_PVLAN_EMOD_NOTHING; vsi->info.valid_sections = -- 2.11.0