From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D785A0093; Wed, 20 May 2020 12:01:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0012E1D146; Wed, 20 May 2020 12:01:35 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id F330A1C439 for ; Wed, 20 May 2020 12:01:33 +0200 (CEST) IronPort-SDR: /iP5MpfuDCS8e6UszBgAnzyG0PRGzQ+QVWeV15gTx5LXTaWNXImweMoMV1v9b4aX22/VgTwM37 ZnAfgmwGHizw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2020 03:01:32 -0700 IronPort-SDR: vYE2bA+wharC3jlTYpZV3Pf+0Qp+gEHiZAWRqYiW3re0N0WpEVQJ8YuGrMHjFDJrh/rg8sy0oF hgKB6Ve5c+1g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,413,1583222400"; d="scan'208";a="289297403" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 20 May 2020 03:01:32 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 20 May 2020 03:01:32 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 20 May 2020 03:01:32 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 20 May 2020 03:01:32 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.241]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.34]) with mapi id 14.03.0439.000; Wed, 20 May 2020 18:01:24 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "Xing, Beilei" , "jianbo.liu@linaro.org" , "xiaoping.yan@nokia-sbell.com" CC: "Ye, Xiaolong" , "dev@dpdk.org" , "olivier.matz@6wind.com" Thread-Topic: [dpdk-dev] net/i40e: fix error setting for L2TAG Thread-Index: AQHWLoi0i1gdzjGqiUud6JMRrKUrq6iwvhIw Date: Wed, 20 May 2020 10:01:23 +0000 Message-ID: <039ED4275CED7440929022BC67E70611548235E9@SHSMSX103.ccr.corp.intel.com> References: <20200520212521.34197-1-jia.guo@intel.com> In-Reply-To: <20200520212521.34197-1-jia.guo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action 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] net/i40e: fix error setting for L2TAG 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Guo, Jia > Sent: Thursday, May 21, 2020 5:25 AM > To: Xing, Beilei ; Zhang, Qi Z ; > jianbo.liu@linaro.org; xiaoping.yan@nokia-sbell.com > Cc: Ye, Xiaolong ; dev@dpdk.org; Guo, Jia > ; olivier.matz@6wind.com > Subject: [dpdk-dev] net/i40e: fix error setting for L2TAG >=20 > Base on HW, if a packet be split into multiple segments, the L2TAG should > only be valid on the last Rx descriptor. So fix it by setting L2TAG into = mbuf > when processing the last split packet. >=20 > Fixes: ca74903b75cf ("net/i40e: extract non-x86 specific code from vector > driver") >=20 > Signed-off-by: Jeff Guo Acked-by: Qi Zhang