Skip to content

Commit f4986d2

Browse files
dingtianhongJeff Kirsher
authored andcommitted
Revert commit 1a8b6d7 ("net:add one common config...")
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. With this new flag we don't need the config ARCH_WANT_RELAX_ORDER to control the Relaxed Ordering Attributes for the ixgbe drivers just like the commit 1a8b6d7 ("net:add one common config...") did, so revert this commit. Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
1 parent a39221c commit f4986d2

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

arch/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -937,9 +937,6 @@ config STRICT_MODULE_RWX
937937
and non-text memory will be made non-executable. This provides
938938
protection against certain security exploits (e.g. writing to text)
939939

940-
config ARCH_WANT_RELAX_ORDER
941-
bool
942-
943940
config ARCH_HAS_REFCOUNT
944941
bool
945942
help

arch/sparc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ config SPARC
4444
select ARCH_HAS_SG_CHAIN
4545
select CPU_NO_EFFICIENT_FFS
4646
select LOCKDEP_SMALL if LOCKDEP
47-
select ARCH_WANT_RELAX_ORDER
4847

4948
config SPARC32
5049
def_bool !64BIT

drivers/net/ethernet/intel/ixgbe/ixgbe_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw)
366366
}
367367
IXGBE_WRITE_FLUSH(hw);
368368

369-
#ifndef CONFIG_ARCH_WANT_RELAX_ORDER
369+
#ifndef CONFIG_SPARC
370370
/* Disable relaxed ordering */
371371
for (i = 0; i < hw->mac.max_tx_queues; i++) {
372372
u32 regval;

0 commit comments

Comments
 (0)