From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] i40e: enable i40e pmd on ARM platform Date: Wed, 03 Aug 2016 09:58:09 +0200 Message-ID: <3008268.1MMmpoWvzz@xps13> References: <1470121107-7622-1-git-send-email-jianbo.liu@linaro.org> <2DBBFF226F7CF64BAFCA79B681719D9502046341@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Yao, Lei A" , "Zhang, Helin" , "Wu, Jingjing" To: Jianbo Liu Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id ADC40370 for ; Wed, 3 Aug 2016 09:58:11 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id o80so323280357wme.1 for ; Wed, 03 Aug 2016 00:58:11 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-08-03 14:02, Jianbo Liu: > I think we can place a compiling condition before rte_rmb() to avoid > performance decrease on x86. > For example: #if defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64) Please could you explain why a memory barrier would be needed on ARM but not on x86? What about other architectures?