From patchwork Wed Aug 16 09:41:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ding Tianhong X-Patchwork-Id: 110218 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp613487obb; Wed, 16 Aug 2017 02:45:31 -0700 (PDT) X-Received: by 10.101.86.65 with SMTP id m1mr1064626pgs.250.1502876731511; Wed, 16 Aug 2017 02:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502876731; cv=none; d=google.com; s=arc-20160816; b=kdVcQ9S6xspcZNYkbTySQpSvDEmFsDMwF5cZ18e2HIgYNFPLv35EaMmwKws7+WNbC5 XoXstuS7cX27CRx+Uy7K4O823FWn0i07ndgGi/biX2H9k81UWcoy3CnjoxPlSW5mvjeP CKMdnGSBHiZxw+rEvEkpkyWoCuyZjsrVqbtyUxpmcFyF1LXW9QFKs/6y+pXggjGcSY94 V4mJpEFfXQ1ET9A3NFrap70QunvNKYGJ/Kk5NoMYfFCc45kXwoCBWmij6e9QoT1WlYeQ 0a6yLRtGNscIVNCJNaPod30hC9C2ySU/CA6biBwoWJCVe8wSmSBe1GNrT0if8SvEaqgg IrzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=VVWpU4pD5lp7yt9hV/RVmoEdgVe/z4Xjx3p3y618cSU=; b=pLXhJ2KaPvzwOOjpRFz/sM7d3iKf5gDs/fILQF3mBCX1NE38ZrVBarWA35u2Mw2/W4 n4HbQggQjueC36kbPTHXqJyfXOTGmCBruE3T5jI7Pg2p93CkBNZff4S4wZQUo9BUOqRT lGvit474tV9kONhcbTDT1Z65m/WRXL7b6gJdZQxwDAfRH8fUyP7aVKPi0m2guinx6FDq sTTJo9KaWHLtwLLY+nzzo1HrWhVzCoiFP6cGXgLyaRlSv1GJ0jIiy9uTJwDY1a1BNvk+ JUaYECRBQb+OYJ/X6GhznYFgGezd0Q3+OgbHUizYHpZtFp4paxtJdAFhWNIbQMBh3iMv ImQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si311154pld.309.2017.08.16.02.45.31; Wed, 16 Aug 2017 02:45:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752172AbdHPJo0 (ORCPT + 26 others); Wed, 16 Aug 2017 05:44:26 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3985 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500AbdHPJoX (ORCPT ); Wed, 16 Aug 2017 05:44:23 -0400 Received: from 172.30.72.59 (EHLO DGGEMS403-HUB.china.huawei.com) ([172.30.72.59]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DFG50635; Wed, 16 Aug 2017 17:44:17 +0800 (CST) Received: from localhost (10.177.23.32) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.301.0; Wed, 16 Aug 2017 17:44:09 +0800 From: Ding Tianhong To: , , , , , , , CC: Ding Tianhong Subject: [PATCH net 0/2] net: ixgbe: Use new flag to disable Relaxed Ordering Date: Wed, 16 Aug 2017 17:41:45 +0800 Message-ID: <1502876507-9360-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.0A020202.599413F1.00E8, 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: 6c080dd9c8e0bf0f3544eb9df458f8ff Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The new flag PCI_DEV_FLAGS_NO_RELAXED_ORDERING has been added to indicate that Relaxed Ordering Attributes (RO) should not be used for Transaction Layer Packets (TLP) targeted toward these affected Root Port, it will clear the bit4 in the PCIe Device Control register, so the PCIe device drivers could query PCIe configuration space to determine if it can send TLPs to Root Port with the Relaxed Ordering Attributes set. The ixgbe driver could use this flag to determine if it can send TLPs to Root Port with the Relaxed Ordering Attributes set. Ding Tianhong (2): Revert commit 1a8b6d76dc5b ("net:add one common config...") net: ixgbe: Use new IXGBE_FLAG2_ROOT_NO_RELAXED_ORDERING flag arch/Kconfig | 3 -- arch/sparc/Kconfig | 1 - drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 + drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c | 37 ++++++++++++------------- drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 32 +++++++++++---------- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 17 ++++++++++++ 6 files changed, 53 insertions(+), 38 deletions(-) -- 1.8.3.1