-----Original Message----- > Date: Wed, 1 Nov 2017 12:48:31 +0800 > From: Jia He <hejia...@gmail.com> > To: Jerin Jacob <jerin.ja...@caviumnetworks.com> > Cc: "Ananyev, Konstantin" <konstantin.anan...@intel.com>, "Zhao, Bing" > <iloveth...@163.com>, Olivier MATZ <olivier.m...@6wind.com>, > "dev@dpdk.org" <dev@dpdk.org>, "jia...@hxt-semitech.com" > <jia...@hxt-semitech.com>, "jie2....@hxt-semitech.com" > <jie2....@hxt-semitech.com>, "bing.z...@hxt-semitech.com" > <bing.z...@hxt-semitech.com>, "Richardson, Bruce" > <bruce.richard...@intel.com>, jianbo....@arm.com, hemant.agra...@nxp.com > Subject: Re: [dpdk-dev] [PATCH] ring: guarantee ordering of cons/prod > loading when doing enqueue/dequeue > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 > Thunderbird/52.4.0 > > Hi Jerin > > > On 10/31/2017 7:14 PM, Jerin Jacob Wrote: > > -----Original Message----- > > > Date: Tue, 31 Oct 2017 10:55:15 +0800 > > > From: Jia He <hejia...@gmail.com> > > > To: Jerin Jacob <jerin.ja...@caviumnetworks.com> > > > Cc: "Ananyev, Konstantin" <konstantin.anan...@intel.com>, "Zhao, Bing" > > > <iloveth...@163.com>, Olivier MATZ <olivier.m...@6wind.com>, > > > "dev@dpdk.org" <dev@dpdk.org>, "jia...@hxt-semitech.com" > > > <jia...@hxt-semitech.com>, "jie2....@hxt-semitech.com" > > > <jie2....@hxt-semitech.com>, "bing.z...@hxt-semitech.com" > > > <bing.z...@hxt-semitech.com>, "Richardson, Bruce" > > > <bruce.richard...@intel.com> > > > Subject: Re: [dpdk-dev] [PATCH] ring: guarantee ordering of cons/prod > > > loading when doing enqueue/dequeue > > > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 > > > Thunderbird/52.4.0 > > > > > > Hi Jerin > > Hi Jia, > > > > > Do you thinkĀ next step whether I need to implement the load_acquire half > > > barrier as per freebsd > > I did a quick prototype using C11 memory model(ACQUIRE/RELEASE) schematics > > and tested on two arm64 platform in Cavium(Platform A: Non arm64 OOO > > machine) > > and Platform B: arm64 OOO machine) > Can you elaborate anything about your Non arm64 OOO machine? As I know, all > arm64 server is strong > memory order. Am I missed anything?
It is implementation defined. The low end arm64 boxes(non server) may not have the complete OOO support.