From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 773D0C422 for ; Mon, 11 May 2015 11:59:29 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 11 May 2015 02:59:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,405,1427785200"; d="scan'208";a="708286124" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga001.fm.intel.com with ESMTP; 11 May 2015 02:59:27 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.73]) by IRSMSX152.ger.corp.intel.com ([169.254.6.148]) with mapi id 14.03.0224.002; Mon, 11 May 2015 10:59:27 +0100 From: "Ananyev, Konstantin" To: Wang Dong , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] librte_eal:Using compiler memory barrier for IA processor's rte_wmb/rte_rmb. Thread-Index: AQHQh0mlf9cWltXZ8kiIn30Bsn/4OJ1t+a6wgAKb5wCAABryQIACtMgAgAMuBQA= Date: Mon, 11 May 2015 09:59:27 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772582142E122@irsmsx105.ger.corp.intel.com> References: <2601191342CEEE43887BDE71AB97725821424E84@irsmsx105.ger.corp.intel.com> <2601191342CEEE43887BDE71AB977258214255E7@irsmsx105.ger.corp.intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] librte_eal:Using compiler memory barrier for IA processor's rte_wmb/rte_rmb. 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: Mon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