From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0086.outbound.protection.outlook.com [104.47.32.86]) by dpdk.org (Postfix) with ESMTP id 944FF1B319 for ; Wed, 1 Nov 2017 20:10:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bO7YuQeKIG1V1OLIJGHzYXiznMG1vkLioGs7u6BqexE=; b=FsfITlB0UPSmjjmd1uUsi0rCHC6qcaU0sgqIwR9ddytwyWPpuEGSqC/TbVp3avU9TNWImQuVVHgIx6CYaGzQfcPR2QS52Mjhy4DSzZOluTvjoGj4GNa8xPq5P4RgQwF18LzG+jdZxEeOu6hoymWA4bEB9v2nkqiTX9nqz27ukgc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.201.40.78) by BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Wed, 1 Nov 2017 19:10:36 +0000 Date: Thu, 2 Nov 2017 00:40:18 +0530 From: Jerin Jacob To: Jia He Cc: "Ananyev, Konstantin" , "Zhao, Bing" , Olivier MATZ , "dev@dpdk.org" , "jia.he@hxt-semitech.com" , "jie2.liu@hxt-semitech.com" , "bing.zhao@hxt-semitech.com" , "Richardson, Bruce" , jianbo.liu@arm.com, hemant.agrawal@nxp.com Message-ID: <20171101191017.GB21407@jerin> References: <2601191342CEEE43887BDE71AB9772585FAAB570@IRSMSX103.ger.corp.intel.com> <3e580cd7-2854-d855-be9c-7c4ce06e3ed5@gmail.com> <20171020054319.GA4249@jerin> <20171023100617.GA17957@jerin> <20171025132642.GA13977@jerin> <20171031111433.GA21742@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [106.201.40.78] X-ClientProxiedBy: BMXPR01CA0034.INDPRD01.PROD.OUTLOOK.COM (10.174.214.20) To BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b3a2c0ab-0271-4b33-cfcf-08d5215c3e5d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(2017052603199); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:M6p1FIZzO1G5A/2C8RLiweRKBZp8y+gyj3MMnPGcoojkzywpQgwl82uqQ70TQAD7ZJmGJFbNPLqgWbARdy7SNeUvU5Mu7kH5BViZgxW8oq4yudKFCc957RqZOTpoAQwVFHfOiJPfDRGVWVhKuYL4FAKcVHpuN1aSBKJ/BROeCLO/IE1xi1tA09zS3t62poMXkhMKr1jR0ZGbAShJZMxkZD5u3Hh3ZTOeTu7DhM47H80PKw9cp/mnq9NfOOGsbGmz; 25:kCCsGHmXHBUpqFzexiWLIrGavpjl8CZt73L7d9oGN7HUCpK9AH5tDlUIPeE1BoCxIxFfofqLQ/rp9Md2eT0JqJMiq7SzR2YJBdxXJl7f8GqSAo2UGxAZT0S5lZnruQs5RMQglSXhHMxmykc9++3kclWwamuxB38ENBitlNaouobNVH6YIPdoRcmp9sDUX5U+tlyznOTCtNuYyakVobfUuYnbS+lAF17/BfNTd/ILgsf+nakznd3QDtOhEUPCas9+YbNDyRX0jw6/SjTWQyKNneZx3KyfeRSK1tB4M1VFwKieDmEgHehj5fV3UUf7smc4xIlrfB6kiaGmrB8LN044HQ==; 31:ob3KiD+0SstKcLmnuXWVctIemYgDQrXllhfaAFfqH0OrPknRAoZKEttaKphKo568qBGonpUU//grEt+f+i9LaBygk0mIzUFe7v9/WKB5LehwXb1F8uoIM2KEO2K3xGjIegZlcAiqdN+NojScqx+yl5T4BCTwHmFIG2q87IWshE2ptUYKQnigmPM8r2zPBuAfjMnQb6i6HsxfkZnM7oNUrLY2IG4+9t4b9R4ZMZjoR28= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:T8CIdagovQNqlQIA6XeBtkbntAXE7KxDYr+XAsbgdw4O3HgYQPxyyQLByySoICRso7Vb0tVFHjTwDWtBzGZKiqf+5maapG5Xm1OW66AhlQ5Px0mV9v4R66lLNJJAeSBFTyuP7mO5TPxy3ZcPt572qJduvgUWqjU9qdVpztTRyynFvp7AXphJB+/ge3agEaSsW/cdutqb4bIpD9RA2tFgyVei0uwqraQgOcyoMXyRXSTn5n1askSontanaGNcDGH8C7xnnjQfkJ2KpUvhXAHlFyk7unVzBSgfF9YJ7rbI9/uOc3MEl+06Eta68hDqpceTr44hM4C2tAOFgfdkmXm6klWwM7LP0WK6oCGur3Jxqk2DJhmQtBl6FBiF7FNW5mNwxDeHvB9hSzsn9lo8FYaj1+ZgfNsLGXvq2Zf7MXRLMbcsOAAi40rkSisDjkB0+VKBmzha6F+W2xPcMnee2b59IK6bpwNsUDtHWyNrj2usXaXyvG1wN6E9FYigZJ3IKKavR2pj+rU1PseGilp8ThkeV4BPwyYtImYaVtloRWSXeFip37dd0BI1GX9toK/JbkHxrcQPS7xALWczSzV3k9gnOPvTvtX1gmjJYA1hE7knAPc= X-Exchange-Antispam-Report-Test: UriScan:(158342451672863)(180628864354917)(185117386973197)(130843839470238)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3231020)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 4:GG28KzGzXz+CalphxgSrOm6sr8RaXpqYIQYNy9wmqlcdEmWqm4RmnThZCrp31LXSYOrX+0ntw6zmc4PrKg9qdLPKMRHizbOVFp9E8quJTqOAwaQ4LSeFaO53v2BaEmq6c/93Xvlaxg0YltxIUzaadgd02PMQZzdq6DU6gEESrAzzJ8IuOWfctiqtO11umEZVAPmoZFb6ybJjqVuv2TR5eVYFM6gtT+fUOHhRlgwJV1WOPJm8OEMb4QeHyRbq416fPH7ZQQ+tS2upk1pP5IaBLpL1/wynAd3MMztlPFKOvuGClS85Es2u9qD8RY544g960NJMyX0lFw0QfLz8sNS9v91LKwPSBDj75Rr54JX7BIetFBEX/B0f7lDXla+Wzxs4u3rB+OWasBvmvwBOSajGTebiZtaJPbBc+HCJQvbSn2PvoHc3cTiR4nJ+cIFi7vvWtEf77yUO33I1khSwR0C+JQ== X-Forefront-PRVS: 0478C23FE0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(24454002)(13464003)(199003)(189002)(106356001)(50466002)(81156014)(3846002)(189998001)(72206003)(81166006)(6116002)(6496005)(8936002)(105586002)(42882006)(16526018)(97736004)(8656006)(6916009)(2950100002)(5660300001)(478600001)(6666003)(2906002)(7416002)(23756003)(83506002)(93886005)(316002)(53936002)(33716001)(33656002)(68736007)(9686003)(55016002)(54906003)(6246003)(4326008)(1411001)(1076002)(305945005)(8676002)(39060400002)(7736002)(2870700001)(66066001)(50986999)(76176999)(54356999)(229853002)(25786009)(58126008)(5009440100003)(101416001)(47776003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; BN3PR07MB2513; 23:r5a5ssYUq6WrQrREz7p703uSdqetQy3/ntjNOmo?= =?iso-8859-1?Q?wqrlUPx1L0vEGzbBWVj42ZbKr9rTibm+LyfKV6+72PQofdQJjeF5DuAl9H?= =?iso-8859-1?Q?RdwG+jgE+wBpmw97f40jNv0BgiE2klbM1yKFhQZ5ygaTlHf7qVuPbsTP7b?= =?iso-8859-1?Q?FNXrw1g38ScBMF36dUWBFWg9q+8wgBJcnBq5NQIG92pMuzQzhataELLSTH?= =?iso-8859-1?Q?QP/+N5kxByfDChBSUtjvkPtfbheewksO99zofPWIWpelADIRRuqg+Yndcx?= =?iso-8859-1?Q?D9BpPatEmnbrPbiy5IEjGfSh5tJhpXxqVLyq/RBUfpO8wxXqrIaBsGHbAB?= =?iso-8859-1?Q?Ylr4YEVZp/fidHpHfHcwM9kNZUQcuAwXHJkAXqlYK2+789R3KB6c0Vrt8p?= =?iso-8859-1?Q?HscbR6AH/uXl/jI1yllf2ZmYGuiFXtMrr0L1MZJI5cO3DE7CFklm5foB4L?= =?iso-8859-1?Q?NnkZolc2jx1w8qoI46MlnO4UVzR2UDb4V+qbBiXK2c5M7IXPYxC2rVcizr?= =?iso-8859-1?Q?ZuNtcs00cO9k8W63bROYfUY/shERRDlc7O/xlsCkXyBqC6qRuH1rDQSNG0?= =?iso-8859-1?Q?Us7WGdqBFhG5dysOc0/RVyBFlwpKS23zisEmmpm2dDsgu5iRYKDbYJjACA?= =?iso-8859-1?Q?8T6SrDqlXEpkCLC3P3l4zFz0QmBOLxf+8vYxE2gDnBvxkoJBUDZNz1T/kN?= =?iso-8859-1?Q?6MttImAJb6SwKREU1236o0ANDThFsrgpNV0+QdRBxNL61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d689dpaaIj1LtNeQVGVs0fCAOPurm7wa8j5RduvFOd2WggRzZ9EsxQDPUZC++GDdep6eYLT5Yk21pbqk3snfa1jgs436NPIOqhFA+CsHpBiL/jtXIgvztRtXFAIRGOLJ01tWUl3mxB+tgEcQtZ42Mb6m2M22V9YvpT2LFaeZoeIu9m1XbXAsweuvrBOs0U=; 5:ykyEPv/2/G2JvMwd1jCF0cMMKUV7dB9RsCx7IgDWXO8+abcpgffQy2M8c3v9vkDfKIIpWbbZT1PZ2PLI+72ijb8ib47M+Os85+QAUmvAhQy83+ojbvOjP9rb8nUTLAc0pt9vkrjkZacTHyVZSag+HF0nUwJESQsZDmJ9VYYlO2Q=; 24:KYWKOuD5gc/AIASuNTgviVSmex0OJ+wvuXrlTT7qmPApcCKrqqFQTTfCGGqpYWpX24P9Y3G5R5ykCv/CIT1w0TVYWdzEi6pzCkesUxaRWa8=; 7:Z4Fiv2V6LAHOCqzMusX3lP1JoaZoeGe2uXmvt46Ot5+uCjXxPdpPb3hVTvRmHySn+xVGJucgOtQlwzeAUNQqUcFicPIWhNAaO/vnw4wMs9LTdqtg4rbFHBTQYUfIQ+z+DOwuqIxzlaNj3UuCr5L24VxbsGrgPMpX//p9MdrI4IHdI3fYkakAeP6hIpVcHy4gqUtl2PJXrrCGUY2/uhxEmsbvx5RLDZCrFIkgG+VNpWrtBl5GI3gum8Som8bD8FWu SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2017 19:10:36.6554 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b3a2c0ab-0271-4b33-cfcf-08d5215c3e5d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: Re: [dpdk-dev] [PATCH] ring: guarantee ordering of cons/prod loading when doing enqueue/dequeue 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: Wed, 01 Nov 2017 19:10:44 -0000 -----Original Message----- > Date: Wed, 1 Nov 2017 12:48:31 +0800 > From: Jia He > To: Jerin Jacob > Cc: "Ananyev, Konstantin" , "Zhao, Bing" > , Olivier MATZ , > "dev@dpdk.org" , "jia.he@hxt-semitech.com" > , "jie2.liu@hxt-semitech.com" > , "bing.zhao@hxt-semitech.com" > , "Richardson, Bruce" > , jianbo.liu@arm.com, hemant.agrawal@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 > > > To: Jerin Jacob > > > Cc: "Ananyev, Konstantin" , "Zhao, Bing" > > > , Olivier MATZ , > > > "dev@dpdk.org" , "jia.he@hxt-semitech.com" > > > , "jie2.liu@hxt-semitech.com" > > > , "bing.zhao@hxt-semitech.com" > > > , "Richardson, Bruce" > > > > > > 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.