From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=Tv+sRlDgnGaqDPHHJs5vTno3aoPc/fxwQlA/EgmLzIA=; b=peT/cwoe11DaU61AD+GCdsmnL+h40xltYAa5d1CAEOvRoIArepUnjiUeRH4f6nkDbR 7fo2qhYCmcMPEuV6Rwk7426Lai8AAA3nfzNh952rXUG/sLEizRzr64sH/orTkeKwhOvj z6A7hIwW2ssN9+NPsX5V6dc38LkbN0tnUERQMiNIqeojj9LVmmOXnHmHIsSsbbM4YEQ6 Gt5aF2d8O14NY9DqvV0UHliMtI55p/yI4daWfuIkLKOzDRD5Dk1wJVE8jcfRQlUXfZ2/ zKukh5G3ViGAy56tGJLMRIYGfjhoLdBmDjSSWAsEXENHauEFJm5wtAMDsekd9qzp3Mem /yWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=Tv+sRlDgnGaqDPHHJs5vTno3aoPc/fxwQlA/EgmLzIA=; b=mgqgOpGcgUs6w230Vvbkna+jdj6T4w3NZtptVFGEf0yfvh6zAeTfgCO8LqUWKXMk3+ 32+F3EqykAmWGjzTV1ozq0Q8jMI5NEXasqLuotXoqJIedE+jrzyTLPEYrJrvG5CsUDaU EOzL6YAQc599gk4tc+tOk5smJS9KG5UWbWb1MonVdLpuOPD1LSWY1umYEjIlH+VZxzXd Mut5iYCfm4jomBYAqevrDoMwjWgUNhEz6K5c+NaVvqbnYcBkdbEklGPseNEwi7QBBi2x 2CS6j+/B24IRddK41DuNJndsdCfzwqnOXRsHsSxgz+rb0SLsZT3aJJkyZtCOCysx9OW6 yaDw== X-Gm-Message-State: AEkooutsQAsD0tVM8FhRo3ijjtrdhF2nt/4chha7t3QqxHinnApV5s5lfzp8xclVqd6SYDao X-Received: by 10.194.65.72 with SMTP id v8mr65835600wjs.103.1470211091467; Wed, 03 Aug 2016 00:58:11 -0700 (PDT) Received: from xps13.localnet (86.114.118.80.rev.sfr.net. [80.118.114.86]) by smtp.gmail.com with ESMTPSA id x6sm6360348wjk.26.2016.08.03.00.58.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Aug 2016 00:58:10 -0700 (PDT) From: Thomas Monjalon To: Jianbo Liu Cc: dev@dpdk.org, "Yao, Lei A" , "Zhang, Helin" , "Wu, Jingjing" Date: Wed, 03 Aug 2016 09:58:09 +0200 Message-ID: <3008268.1MMmpoWvzz@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1470121107-7622-1-git-send-email-jianbo.liu@linaro.org> <2DBBFF226F7CF64BAFCA79B681719D9502046341@shsmsx102.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] i40e: enable i40e pmd on ARM platform 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, 03 Aug 2016 07:58:11 -0000 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?