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 C02BEA0093; Wed, 20 May 2020 12:00:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 963301D16B; Wed, 20 May 2020 12:00:51 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id C5C071C439 for ; Wed, 20 May 2020 12:00:49 +0200 (CEST) IronPort-SDR: Lv6EvWpZDei1QLH8+j08LMwVI0P2Xfo4q+2PY8oIniMlLqLyWsu1hfqfdksetR3hz7Y2sW7nlt YNS/7yCku55A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2020 03:00:49 -0700 IronPort-SDR: 4ihCKkAFIScd12KJ6j0e+cRo1ffEBVGECAwFQD5UUMk4hkse3NvU9iu/CL6evRpuHEiOjgb2WX rw7X4IDaEzcw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,413,1583222400"; d="scan'208";a="289297191" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 20 May 2020 03:00:49 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) 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:00:48 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 20 May 2020 03:00:48 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.241]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.75]) with mapi id 14.03.0439.000; Wed, 20 May 2020 18:00:45 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "Xing, Beilei" , "Wu, Jingjing" CC: "Ye, Xiaolong" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] net/iavf: fix error setting for L2TAG Thread-Index: AQHWLotTFmENcybYpUefWqCC0d56mKiwveEg Date: Wed, 20 May 2020 10:00:45 +0000 Message-ID: <039ED4275CED7440929022BC67E70611548235D7@SHSMSX103.ccr.corp.intel.com> References: <20200520214414.34420-1-jia.guo@intel.com> In-Reply-To: <20200520214414.34420-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/iavf: 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:44 AM > To: Xing, Beilei ; Wu, Jingjing > Cc: Ye, Xiaolong ; Zhang, Qi Z > ; dev@dpdk.org; Guo, Jia > Subject: [dpdk-dev] net/iavf: 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: 319c421f3890 ("net/avf: enable SSE Rx Tx") >=20 > Signed-off-by: Jeff Guo Acked-by: Qi Zhang