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 6EAC4A0093; Wed, 20 May 2020 12:00:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 212EC1D146; Wed, 20 May 2020 12:00:35 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 4A99E1C439 for ; Wed, 20 May 2020 12:00:34 +0200 (CEST) IronPort-SDR: U24MfrDbVBfvGlfBzEkHusjcwwGbqeYEOOftbJMLqoso4/YsQ/feBnWD9VnZHC6Z9xN3dOPO88 +vALHpGczjZw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2020 03:00:28 -0700 IronPort-SDR: u6dnvLs1dWEynp+DtyiJyD1y1nLyuYSRYpBfZFV/QfnG656olTPTUhMvKmcpcOTORGI/VI5q05 x95qmhQF2BXg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,413,1583222400"; d="scan'208";a="289297042" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 20 May 2020 03:00:25 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 20 May 2020 03:00:25 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.241]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.80]) with mapi id 14.03.0439.000; Wed, 20 May 2020 18:00:22 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "Yang, Qiming" CC: "Ye, Xiaolong" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] net/ice: fix error setting for L2TAG Thread-Index: AQHWLouchlCfw6AnXEyZL1IAlb6ajaiwvaZQ Date: Wed, 20 May 2020 10:00:22 +0000 Message-ID: <039ED4275CED7440929022BC67E70611548235CB@SHSMSX103.ccr.corp.intel.com> References: <20200520214614.34513-1-jia.guo@intel.com> In-Reply-To: <20200520214614.34513-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/ice: 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:46 AM > To: Zhang, Qi Z ; Yang, Qiming > > Cc: Ye, Xiaolong ; dev@dpdk.org; Guo, Jia > > Subject: [dpdk-dev] net/ice: 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: c68a52b8b38c ("net/ice: support vector SSE in Rx") >=20 > Signed-off-by: Jeff Guo Acked-by: Qi Zhang