From patchwork Sat Apr 1 07:25:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ding Tianhong X-Patchwork-Id: 96535 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1058144qgd; Sat, 1 Apr 2017 00:26:50 -0700 (PDT) X-Received: by 10.98.92.1 with SMTP id q1mr6292418pfb.209.1491031610493; Sat, 01 Apr 2017 00:26:50 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si7403635plb.41.2017.04.01.00.26.50; Sat, 01 Apr 2017 00:26:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750918AbdDAH0r (ORCPT + 6 others); Sat, 1 Apr 2017 03:26:47 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:5295 "EHLO dggrg01-dlp.huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750802AbdDAH0q (ORCPT ); Sat, 1 Apr 2017 03:26:46 -0400 Received: from 172.30.72.53 (EHLO DGGEML402-HUB.china.huawei.com) ([172.30.72.53]) by dggrg01-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id ALV84941; Sat, 01 Apr 2017 15:26:11 +0800 (CST) Received: from localhost (10.177.23.32) by DGGEML402-HUB.china.huawei.com (10.3.17.38) with Microsoft SMTP Server id 14.3.301.0; Sat, 1 Apr 2017 15:26:00 +0800 From: Ding Tianhong To: , , , , , , , , CC: Ding Tianhong Subject: [PATCH net-next 0/4] ixgbe: enable Relaxed Order for ARM64 Date: Sat, 1 Apr 2017 15:25:50 +0800 Message-ID: <1491031554-19516-1-git-send-email-dingtianhong@huawei.com> X-Mailer: git-send-email 1.8.5.2.msysgit.0 MIME-Version: 1.0 X-Originating-IP: [10.177.23.32] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.58DF5613.0067, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 2f538b872237f024e1b411bee5fa13c6 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The IXGBE_ALLOW_RELAXED_ORDER will enable Relaxed Ordering (RO) which allows transactions that do not have any order of completion requirements to complete more efficiently compare to the Stricted Ordering (SO) for ixbge nic card. Some architecture will see high write-to-memory performance when RO is enabled on the data transactions just like the SPARC did. The aarch64 could both support Relaxed Ordering (RO) and Stricted Ordering (SO), so enable this config could get much more better performance, didn't see any adverse effects. The ARCH_WANT_RELAX_ORDER looks more general and would cause misleading and ambiguous, and till now only ixgbe could enable this "flag", so rename this config more specific. After discussion with the architecture maintainer, enable this config in driver looks more appropriate to compatible several architecture just like SPARC and ARM64, maybe we need more discussion about this, so let's begin by this patch set. In the last patch 1a8b6d76(net:add one common config ...), Mao only fix the config name issue for 82599 pf, but the 82598 and 82599 vf still need to be fixed, so rename the config all in the drivers to instead of CONFIG_SPARC. Ding Tianhong (4): ixgbe: sparc: rename the ARCH_WANT_RELAX_ORDER to IXGBE_ALLOW_RELAXED_ORDER ixgbe: ixgbevf: Clear the CONFIG_SPARC for ixgbevf and 82598 ixgbe: move IXGBE_ALLOW_RELAXED_ORDER from architecture to driver ixgbe: enable IXGBE_ALLOW_RELAXED_ORDER for ARM64 arch/Kconfig | 3 --- arch/sparc/Kconfig | 1 - drivers/net/ethernet/intel/Kconfig | 4 ++++ drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c | 4 ++-- drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 2 +- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) -- 1.9.0