@@ -844,7 +844,4 @@ config STRICT_MODULE_RWX
and non-text memory will be made non-executable. This provides
protection against certain security exploits (e.g. writing to text)
-config IXGBE_ALLOW_RELAXED_ORDER
- bool
-
source "kernel/gcov/Kconfig"
@@ -44,7 +44,6 @@ config SPARC
select CPU_NO_EFFICIENT_FFS
select HAVE_ARCH_HARDENED_USERCOPY
select PROVE_LOCKING_SMALL if PROVE_LOCKING
- select IXGBE_ALLOW_RELAXED_ORDER
config SPARC32
def_bool !64BIT
@@ -275,4 +275,8 @@ config FM10K
To compile this driver as a module, choose M here. The module
will be called fm10k. MSI-X interrupt support is required
+config IXGBE_ALLOW_RELAXED_ORDER
+ bool "Intel(R) 10GbE PCI Express adapters Enable Relaxed Ordering" if SPARC
+ default y if SPARC
+
endif # NET_VENDOR_INTEL
The Relaxed Ordering is an specific PCI option and impact some architecture performance just like SPARC and ARM64, so compare to drop this to the several architecture folder, put it in driver looks more appropriate, it will not impact or be seen for other architectures. Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> --- arch/Kconfig | 3 --- arch/sparc/Kconfig | 1 - drivers/net/ethernet/intel/Kconfig | 4 ++++ 3 files changed, 4 insertions(+), 4 deletions(-)