From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 0697EA0471 for ; Fri, 21 Jun 2019 18:57:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D00E21BEA0; Fri, 21 Jun 2019 18:57:14 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 553DD1BCA9 for ; Fri, 21 Jun 2019 18:57:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2019 09:57:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,401,1557212400"; d="scan'208,217";a="183462520" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 21 Jun 2019 09:57:11 -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; Fri, 21 Jun 2019 09:57:11 -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; Fri, 21 Jun 2019 09:57:10 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) 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; Fri, 21 Jun 2019 09:57:10 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.87]) by shsmsx102.ccr.corp.intel.com ([169.254.2.33]) with mapi id 14.03.0439.000; Sat, 22 Jun 2019 00:57:08 +0800 From: "Wang, Haiyue" To: David Marchand CC: Stephen Hemminger , Andrew Rybchenko , "dev@dpdk.org" , "Yigit, Ferruh" , Thomas Monjalon Thread-Topic: [dpdk-dev] [RFC] ethdev: reserve the RX offload most-significant bits for PMD scartch Thread-Index: AQHVJzn/6O52XV/ZVE6lR0PdsKGer6akV9EAgADtNiD//+3FgIAAhntA//97MwCAAIZMEP//+JWAABNMr5D//383gP//eHfA Date: Fri, 21 Jun 2019 16:57:07 +0000 Message-ID: References: <1561015552-37671-1-git-send-email-haiyue.wang@intel.com> <41d93d60-9097-48a4-6a26-8ebd0cfb4b39@solarflare.com> <3500154e-74e5-d4f7-6606-ad1fea300f0e@solarflare.com> <8751ae1d-a912-5716-59d4-3afbeb89a057@solarflare.com> <20190621081403.3f157667@hermes.lan> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWVlMTI2NGMtNmEzMS00YjU1LWEzOWEtZTgzY2Q4MGNjZjVmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoia3VETW05U0RTbldWXC9hWms0Kzc4XC9vSlBPa3FRYW5PTjltTUk2UHFJc3dmcG1nM0JDQ3pqYmRiRlEyd2NONW9lIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [RFC] ethdev: reserve the RX offload most-significant bits for PMD scartch 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" TkFLIGlzIGV4cGVjdGVkLiDimLogSnVzdCBsaWtlIHRoZSBfX3J0ZV9leHBlcmltZW50YWwgQVBJ IG1heSBiZSByZW1vdmUgb25lIGRheSwNCnRoZSBhcHBsaWNhdGlvbiB3aWxsIGZpZ2h0IGZvciBj b21waWxpbmcsIG9yIGp1c3Qga2VlcCB0aGVpciBvd24gRFBESyB2ZXJzaW9uLg0KDQpXZWxsLCBw cml2YXRlIGhhbmRsaW5nIGlzIG5vdCBhIGdvb2QgdGhpbmcsIGJ1dCBIVyBpcyBkaWZmZXJlbnQs IHJlc2VydmluZyBzb21lIGJpdHMgbWF5DQphbHNvIGJlIGFub3RoZXIgQVBJIHN0eWxlLiBJbiBy ZWFsIHdvcmxkLCBtYW55IHdvcmthcm91bmRzIGV4aXN0LCB0aGVuIGEgZ29vZCBzb2x1dGlvbg0K Y29tZXMuDQoNCkJSLA0KSGFpeXVlDQoNCkZyb206IERhdmlkIE1hcmNoYW5kIFttYWlsdG86ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbV0NClNlbnQ6IFNhdHVyZGF5LCBKdW5lIDIyLCAyMDE5IDAw OjQ2DQpUbzogV2FuZywgSGFpeXVlIDxoYWl5dWUud2FuZ0BpbnRlbC5jb20+DQpDYzogU3RlcGhl biBIZW1taW5nZXIgPHN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3JnPjsgQW5kcmV3IFJ5YmNoZW5r byA8YXJ5YmNoZW5rb0Bzb2xhcmZsYXJlLmNvbT47IGRld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