From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id EB83A37B2 for ; Mon, 18 Apr 2016 16:07:23 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 18 Apr 2016 07:05:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,502,1455004800"; d="scan'208";a="961147499" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 18 Apr 2016 07:05:26 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 18 Apr 2016 07:05:26 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 18 Apr 2016 07:05:25 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.232]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.136]) with mapi id 14.03.0248.002; Mon, 18 Apr 2016 22:05:24 +0800 From: "Chen, Jing D" To: Michael Frasca CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] fm10k: set packet type for multi-segment packets Thread-Index: AQHRmXEky4F8a4YG+0aWOC0CJGi7rp+PwyFQ Date: Mon, 18 Apr 2016 14:05:23 +0000 Message-ID: <4341B239C0EFF9468EE453F9E9F4604D04488388@shsmsx102.ccr.corp.intel.com> References: <1460983912-14287-1-git-send-email-michael.frasca@oracle.com> In-Reply-To: <1460983912-14287-1-git-send-email-michael.frasca@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTBjM2I2ZjgtNzk4Yy00M2FlLTlmMGMtODdmNDc5NzlmZmY3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlRTb21uc2RlRXRcLzM1YWk3Nks0UWswaG1WTFdcLzZ2amR3WGxOWEJlaGh6UT0ifQ== x-ctpclassification: CTP_IC 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 v2] fm10k: set packet type for multi-segment packets X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 14:07:24 -0000 Hi, > -----Original Message----- > From: Michael Frasca [mailto:michael.frasca@oracle.com] > Sent: Monday, April 18, 2016 8:52 PM > To: Chen, Jing D > Cc: dev@dpdk.org; Michael Frasca > Subject: [PATCH v2] fm10k: set packet type for multi-segment packets >=20 > When building a chain of mbufs for a multi-segment packet, the packet_typ= e > field resides at the end of the chain. It should be copied forward to the= head > of the list. >=20 > Also, uses RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE to guard packet-type > computation. The mbuf fields are not copied when this define is not set. >=20 > Fixes: fe65e1e1ce61 ("fm10k: add vector scatter Rx") >=20 > Signed-off-by: Michael Frasca Acked-by : Jing Chen