From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 635E6593A for ; Wed, 22 Oct 2014 10:46:49 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 22 Oct 2014 01:55:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,767,1406617200"; d="scan'208";a="618398368" Received: from pgsmsx101.gar.corp.intel.com ([10.221.44.78]) by fmsmga002.fm.intel.com with ESMTP; 22 Oct 2014 01:54:44 -0700 Received: from pgsmsx105.gar.corp.intel.com (10.221.44.96) by PGSMSX101.gar.corp.intel.com (10.221.44.78) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 22 Oct 2014 16:53:02 +0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by pgsmsx105.gar.corp.intel.com (10.221.44.96) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 22 Oct 2014 16:53:01 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.156]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.207]) with mapi id 14.03.0195.001; Wed, 22 Oct 2014 16:53:00 +0800 From: "Liang, Cunming" To: alex , "Zhou, Danny" Thread-Topic: [dpdk-dev] Why do we need iommu=pt? Thread-Index: AQHP7LEprCBBYsEPak2ye2GHITyWRJw5DgAAgACUvgCAAJzpAIAAJiSAgADQQYCAAJNGsA== Date: Wed, 22 Oct 2014 08:53:00 +0000 Message-ID: References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Why do we need iommu=pt? 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: Wed, 22 Oct 2014 08:46:50 -0000 SSB0aGlua3MgaXQncyBhIGdvb2QgcG9pbnQgdXNpbmcgZG1hX2FkZHIgcmF0aGVyIHRoYW4gcGh5 c19hZGRyLg0KV2l0aG91dCBpb21tdSwgdGhlIHZhbHVlIG9mIHRoZW0gYXJlIHRoZSBzYW1lLg0K V2l0aCBpb21tdSwgdGhlIGRtYV9hZGRyIHZhbHVlIGVxdWFsIHRvIHRoZSBpb3ZhLiANCkl0J3Mg bm90IGFsbCBmb3IgRFBESyB3b3JraW5nIHdpdGggaW9tbXUgYnV0IG5vdCBwYXNzIHRocm91Z2gu DQoNCldlIGtub3cgZWFjaCBpb3ZhIGJlbG9uZ3MgdG8gb25lIGlvbW11IGRvbWFpbi4NCkFuZCBl YWNoIGRldmljZSBjYW4gYXR0YWNoIHRvIG9uZSBkb21haW4uDQpJdCBtZWFucyB0aGUgaW92YSB3 aWxsIGhhdmUgY291cGxpbmcgcmVsYXRpb25zaGlwIHdpdGggZG9tYWluL2RldmljZS4NCg0KTG9v a2luZyBiYWNrIHRvIERQREsgZGVzY3JpcHRvciByaW5nLCBpdCdzIGFsbCByaWdodCwgYWxyZWFk eSBjb3VwbGluZyB3aXRoIGRldmljZS4NCkJ1dCBpZiBmb3IgbWJ1ZiBtZW1wb29sLCBpbiBtb3N0 IGNhc2VzLCBpdCdzIHNoYXJlZCBieSBtdWx0aXBsZSBwb3J0cy4NClNvIGlmIGtlZXBpbmcgdGhl IHdheSwgYWxsIHRob3NlIHBvcnRzL2RldmljZSBuZWVkIHRvIHB1dCBpbnRvIHRoZSBzYW1lIGlv bW11IGRvbWFpbi4NCkFuZCB0aGUgbWVtcG9vbCBoYXMgYXR0YWNoIHRvIHNwZWNpZmljIGRvbWFp biwgYnV0IG5vdCBqdXN0IHRoZSBkZXZpY2UuDQpPbiB0aGlzIHRpbWUsIGlvbW11IGRvbWFp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