From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1B49E8F9D for ; Wed, 4 Nov 2015 15:30:25 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 04 Nov 2015 06:30:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,243,1444719600"; d="scan'208";a="842432294" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga002.jf.intel.com with ESMTP; 04 Nov 2015 06:30:05 -0800 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX152.ger.corp.intel.com (163.33.192.66) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 4 Nov 2015 14:30:04 +0000 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.75]) by irsmsx112.ger.corp.intel.com ([169.254.1.218]) with mapi id 14.03.0248.002; Wed, 4 Nov 2015 14:30:04 +0000 From: "Ananyev, Konstantin" To: Jerin Jacob , "dev@dpdk.org" Thread-Topic: [PATCH] Introduce rte_smp_*mb() for memory barriers to use between lcores Thread-Index: AQHRFwUQOFP0tcLc/kani0yYh5NA7J6L7Ckw Date: Wed, 4 Nov 2015 14:30:03 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836AB95F7@irsmsx105.ger.corp.intel.com> References: <1446643728-15701-1-git-send-email-jerin.jacob@caviumnetworks.com> <1446643728-15701-2-git-send-email-jerin.jacob@caviumnetworks.com> In-Reply-To: <1446643728-15701-2-git-send-email-jerin.jacob@caviumnetworks.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "changchun.ouyang@intel.com" Subject: Re: [dpdk-dev] [PATCH] Introduce rte_smp_*mb() for memory barriers to use between lcores 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, 04 Nov 2015 14:30:26 -0000 > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Wednesday, November 04, 2015 1:29 PM > To: dev@dpdk.org > Cc: thomas.monjalon@6wind.com; Hunt, David; viktorin@rehivetech.com; Anan= yev, Konstantin; Richardson, Bruce; Xie, Huawei; > changchun.ouyang@intel.com; zlu@ezchip.com; chaozhu@linux.vnet.ibm.com; J= erin Jacob > Subject: [PATCH] Introduce rte_smp_*mb() for memory barriers to use betwe= en lcores >=20 > This commit introduce rte_smp_mb(), rte_smp_wmb() and rte_smp_rmb(), in > order to enable memory barriers between lcores. > The patch does not provide any functional change for IA, the goal is to > have infrastructure for weakly ordered machines like ARM to work on DPDK. >=20 > Signed-off-by: Jerin Jacob > --- Acked-by: Konstantin Ananyev > -- > 2.1.0