From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 769F92B99; Tue, 5 Dec 2017 07:35:48 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Dec 2017 22:35:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,363,1508828400"; d="scan'208";a="13168008" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 04 Dec 2017 22:35:47 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 4 Dec 2017 22:35:46 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 4 Dec 2017 22:35:46 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Tue, 5 Dec 2017 14:35:44 +0800 From: "Wu, Jingjing" To: "Xing, Beilei" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix VF Tx error issue Thread-Index: AQHTbXJmtnYMrUGLUE2q0xOiAZB8YKM0S4kg Date: Tue, 5 Dec 2017 06:35:43 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810ED0CDF@SHSMSX103.ccr.corp.intel.com> References: <1512441646-17502-1-git-send-email-beilei.xing@intel.com> In-Reply-To: <1512441646-17502-1-git-send-email-beilei.xing@intel.com> 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] [PATCH] net/i40e: fix VF Tx error issue 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: Tue, 05 Dec 2017 06:35:49 -0000 > -----Original Message----- > From: Xing, Beilei > Sent: Tuesday, December 5, 2017 10:41 AM > To: Wu, Jingjing ; Zhang, Qi Z > Cc: dev@dpdk.org; stable@dpdk.org > Subject: [PATCH] net/i40e: fix VF Tx error issue >=20 > When using kernel PF + DPDK VF, if setting VLAN strip on or off in VF sid= e after > setting VLAN for VF with ethtool in PF side, it will case VF Tx error. Th= e root > case is that setting VLAN for VF in kernel PF side is to set PVID, then R= x VLAN > offload is not permitted. > This patch fixes the issue by check VLAN offload capability when setting = VLAN > offload. >=20 > Fixes: 5f0b95d5 ("net/i40e: support VLAN stripping for VF") > Cc: stable@dpdk.org >=20 > Signed-off-by: Beilei Xing Acked-by: Jingjing Wu