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 389F67E7B for ; Wed, 22 Oct 2014 17:17:15 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 22 Oct 2014 08:21:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="404180760" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by FMSMGA003.fm.intel.com with ESMTP; 22 Oct 2014 08:13:25 -0700 Received: from pgsmsx106.gar.corp.intel.com (10.221.44.98) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 22 Oct 2014 23:21:03 +0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by pgsmsx106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 22 Oct 2014 23:21:03 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.174]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.13]) with mapi id 14.03.0195.001; Wed, 22 Oct 2014 23:21:02 +0800 From: "Zhou, Danny" To: "Liang, Cunming" , alex Thread-Topic: [dpdk-dev] Why do we need iommu=pt? Thread-Index: AQHP7LEp5dzdhwxxfkmKddhNzQeSq5w5DgAAgACUvgCAAJzpAIAAp4NQgABO4oCAABWfAIAA73Jw Date: Wed, 22 Oct 2014 15:21:01 +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 15:17:17 -0000 RWNobyBDdW5taW5nIGFuZCB3ZSBkaWQgbm90IHNlZSBvYnZpb3VzIHBlcmZvcm1hbmNlIGltcGFj dCB3aGVuIGlvbW11ID0gcHQgaXMgdXNlZCBkZXNwaXRlIG9mDQppZ2JfdWlvIG9yIFZGSU8gaXMg dXNlZC4NCg0KQWxleCwgDQpUaGUgbWFwIGFuZCB1bWFwIG9wZXJhdGlvbiBmb3IgZWFjaCBlL2lu Z3Jlc3MgcGFja2V0IGlzIGRvbmUgYnkgaHcgcmF0aGVyIHRoYW4gc3csIHNvDQpwZXJmb3JtYW5j ZSBpbXBhY3QgdG8gRFBESyBzaG91bGQgYmUgbWluaW11bSBpbiBteSBtaW5kLiBJZiBpdCBhY3R1 YWxseSBpbXBhY3N0IHBlcmYsIHNheSBvbiAxMDBHIE5JQywNCkkgYW0gc3VyZSBpdCB3aWxsIGJl IHJlc29sdmVkIGluIG5leHQgZ2VuZXJhdGlvbiBJbnRlbCBzaWxpY29uLiBXZSB3aWxsIGJlIHBl cmZvcm1pbmcgc29tZSBwZXJmb3JtYW5jZQ0KdGVzdHMgd2l0aCBpb21tdSA9IG9uIHRvIHNlZSBh bnkgcGVyZm9ybWFuY2UgZGVncmFkYXRpb24uIEkgY2Fubm90IHNoYXJlIHRoZSBkZXRhaWxlZCBw ZXJmb3JtYW5jZQ0KcmVzdWx0IGhlcmUgb24gdGhlIGNvbW11bml0eSwgYnV0IEkgY291bGQgdGVs bCBpZiBpdCByZWFsbHkgYnJpbmcgbmVnYXRpdmUgcGVyZm9ybWFuY2UgaW1wYWN0IHRvIERQREsu DQpQbGVhc2Ugc3RheSB0dW5lZC4NCg0KQWxleCwgDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdl LS0tLS0NCj4gRnJvbTogTGlhbmcsIEN1bm1pbmcNCj4gU2VudDog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