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 EB022379E for ; Fri, 16 Dec 2016 03:15:44 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP; 15 Dec 2016 18:15:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,355,1477983600"; d="scan'208";a="42923253" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 15 Dec 2016 18:15:43 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 15 Dec 2016 18:15:43 -0800 Received: from BGSMSX108.gar.corp.intel.com (10.223.4.192) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 15 Dec 2016 18:15:43 -0800 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.222]) by BGSMSX108.gar.corp.intel.com ([169.254.8.231]) with mapi id 14.03.0248.002; Fri, 16 Dec 2016 07:45:39 +0530 From: "Yang, Zhiyong" To: "Ananyev, Konstantin" , Thomas Monjalon CC: "dev@dpdk.org" , "yuanhan.liu@linux.intel.com" , "Richardson, Bruce" , "De Lara Guarch, Pablo" Thread-Topic: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on IA platform Thread-Index: AQHSTHcq0cqfe4gXqkCtBCGLh5u1zaD0F6iAgAmXsfD//8XGgIAAXKoA//+1VQCABS9VkIAF58Lw///vpgAAKtUEIA== Date: Fri, 16 Dec 2016 02:15:39 +0000 Message-ID: References: <1480926387-63838-1-git-send-email-zhiyong.yang@intel.com> <1480926387-63838-2-git-send-email-zhiyong.yang@intel.com> <7223515.9TZuZb6buy@xps13> <2601191342CEEE43887BDE71AB9772583F0E55B0@irsmsx105.ger.corp.intel.com> <2601191342CEEE43887BDE71AB9772583F0E568B@irsmsx105.ger.corp.intel.com> <2601191342CEEE43887BDE71AB9772583F0EFF66@irsmsx105.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB9772583F0EFF66@irsmsx105.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmUyYzBiODAtZjU2MC00MjAwLWI5YTAtNjdhNmIxY2I5MDJkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ik5yNnhkN2h0eUxLZGZiM2tuS0pLS0dlVzM5bGRkZUFYQnduSHh1SHFlRmM9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on IA platform 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: Fri, 16 Dec 2016 02:15:45 -0000 SGmjrEtvbnN0YW50aW46DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTog QW5hbnlldiwgS29uc3RhbnRpbg0KPiBTZW50OiBUaHVyc2RheSwgRGVjZW1iZXIgMTUsIDIwMTYg Njo1NCBQTQ0KPiBUbzogWWFuZywgWmhpeW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cnRlX21lbXNldCgpIC0g bWVtc2V0IHBlcmYgdGVzdHMNCiAgICAgICAgKEMgPSBjb21waWxlLXRpbWUgY29uc3RhbnQpICoq DQo9PT09PT09PSA9PT09PT09ID09PT09PT09ID09PT09PT0gPT09PT09PT0NCiAgIFNpemUgbWVt c2V0IGluIGNhY2hlICBtZW1zZXQgaW4gbWVtDQooYnl0ZXMpICAgICAgICAodGlja3MpICAgICAg ICAodGlja3MpDQotLS0tLS0tIC0tLS0tLS0tLS0tLS0tIC0tLS0tLS0tLS0tLS0tLQ0KPT09PT09 PT09PT09PSAzMkIgYWxpZ25lZCA9PT09PT09PT09PT09PT09DQogICAgICAzICAgICAgICAgICAg MyAtICAgIDggICAgICAgMTkgLSAgMTI4DQogICAgICA0ICAgICAgICAgICAgNCAtICAgIDggICAg ICAgMTMgLSAgMTI4DQogICAgICA4ICAgICAgICAgICAgMiAtICAgIDcgICAgICAgMTkgLSAgMTI4 DQogICAgICA5ICAgICAgICAgICAgMiAtICAgIDcgICAgICAgMTkgLSAgMTI3DQogICAgIDEyICAg ICAgICAgICAyIC0gICAgNyAgICAgICAxOSAtICAxMjcNCiAgICAgMTcgICAgICAgICAgMyAtICAg IDggICAgICAgIDE5IC0gIDEzMg0KICAgICA2NCAgICAgICAgICAzIC0gICAgOCAgICAgICAgMjgg LSAgMTY4DQogICAgMTI4ICAgICAgICA3IC0gICAxMyAgICAgICA1NCAtICAyMDANCiAgICAyNTUg ICAgICAgIDggLSAgIDIwICAgICAgIDEwMCAtICAyMjMNCiAgICA1MTEgICAgICAgIDE0IC0gICAy MCAgICAgMTg3IC0gIDMxNA0KICAgMTAyNCAgICAgIDI0IC0gICAyOSAgICAgMzI4IC0gIDM3OQ0K ICAgODE5MiAgICAgMTk4IC0gIDIyNSAgIDE4MjkgLSAyMTkzDQoNClRoYW5rcw0KWmhpeW9uZw0K DQo=