From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 2685354AE for ; Mon, 29 Oct 2018 01:48:14 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Oct 2018 17:48:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,438,1534834800"; d="scan'208";a="103288234" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 28 Oct 2018 17:48:14 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 28 Oct 2018 17:48:14 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 28 Oct 2018 17:48:13 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.161]) by shsmsx102.ccr.corp.intel.com ([169.254.2.84]) with mapi id 14.03.0415.000; Mon, 29 Oct 2018 08:48:09 +0800 From: "Liu, Changpeng" To: "Yigit, Ferruh" CC: "Richardson, Bruce" , dpdk-dev , Rafal Kozik Thread-Topic: [dpdk-dev] [PATCH] pci/uio: enable prefetchable resources mapping Thread-Index: AQHUbmHVgh4WqldjeEWbVfILL3+NXqU1ZIwA Date: Mon, 29 Oct 2018 00:48:09 +0000 Message-ID: References: <1496530644-8393-1-git-send-email-changpeng.liu@intel.com> <20171005082834.GA20768@bricha3-MOBL3.ger.corp.intel.com> <20171005083351.GB20768@bricha3-MOBL3.ger.corp.intel.com> <7386777f-9c7f-1370-1b55-cdad197e006a@intel.com> In-Reply-To: <7386777f-9c7f-1370-1b55-cdad197e006a@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmU4MDM3Y2YtYmVhMS00NDMyLTljOGYtY2U3ZTcxMjk5MWRiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOHJ5cGNWNWNuVUFKU3R4SzVyd2Q1XC9DXC91YlNvR2xOVGozSkRMTE9WcVd2YXhtbERCZXVnVnFWTWlVamJwSU9JIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] pci/uio: enable prefetchable resources mapping 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: , X-List-Received-Date: Mon, 29 Oct 2018 00:48:15 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWWlnaXQsIEZlcnJ1aA0K PiBTZW50OiBTdW5kYXksIE9jdG9iZXIgMjgsIDIwMTggOTo1OSBBTQ0KPiBUbzogTGl1LCBDaGFu Z3BlbmcgPGNoYW5ncGVuZy5saXVAaW50ZWwuY29tPg0KPiBDYzogUmljaGFyZHNvbiwgQnJ1Y2Ug PGJydWNlLnJpY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