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 11969A0471 for ; Fri, 21 Jun 2019 09:37:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9B4111D53D; Fri, 21 Jun 2019 09:37:45 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 3B6391D52A for ; Fri, 21 Jun 2019 09:37:44 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2019 00:37:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,399,1557212400"; d="scan'208,217";a="168754145" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 21 Jun 2019 00:37:43 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 21 Jun 2019 00:37:43 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 21 Jun 2019 00:37:42 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.87]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.246]) with mapi id 14.03.0439.000; Fri, 21 Jun 2019 15:37:40 +0800 From: "Wang, Haiyue" To: Andrew Rybchenko , "dev@dpdk.org" CC: "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 Date: Fri, 21 Jun 2019 07:37:40 +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> In-Reply-To: <3500154e-74e5-d4f7-6606-ad1fea300f0e@solarflare.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2I0YzQwYWMtMWE3Ni00N2M0LWEyNzgtMWI5NWVjYzIxN2FjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRE4yeE1ZR1wvMEQwbStcL1VnUjFOY1RcL1laQ2ZEQnVcL01pd1wvRmpXVkFKa1c1R2xLeXRMR2p2NTJpaEJKXC9neHg3UCJ9 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" VGhlbiB0aGlzI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