summaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorMao Wenan <maowenan@huawei.com>2017-01-18 08:50:05 +0800
committerDavid S. Miller <davem@davemloft.net>2017-01-18 16:33:00 -0500
commit1a8b6d76dc5b489cd0123fa8447b6e20569f357b (patch)
tree562ba05bd0249bacf6eec63ebd919396bf2f3ae8 /arch/Kconfig
parent1e48aac14cc896b5a6a8f8f32c9744c52bebf4ee (diff)
downloadlinux-1a8b6d76dc5b489cd0123fa8447b6e20569f357b.tar.gz
linux-1a8b6d76dc5b489cd0123fa8447b6e20569f357b.tar.bz2
linux-1a8b6d76dc5b489cd0123fa8447b6e20569f357b.zip
net:add one common config ARCH_WANT_RELAX_ORDER to support relax ordering
Relax ordering(RO) is one feature of 82599 NIC, to enable this feature can enhance the performance for some cpu architecure, such as SPARC and so on. Currently it only supports one special cpu architecture(SPARC) in 82599 driver to enable RO feature, this is not very common for other cpu architecture which really needs RO feature. This patch add one common config CONFIG_ARCH_WANT_RELAX_ORDER to set RO feature, and should define CONFIG_ARCH_WANT_RELAX_ORDER in sparc Kconfig firstly. Signed-off-by: Mao Wenan <maowenan@huawei.com> Reviewed-by: Alexander Duyck <alexander.duyck@gmail.com> Reviewed-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 99839c23d453..bd04eace455c 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -781,4 +781,7 @@ config VMAP_STACK
the stack to map directly to the KASAN shadow map using a formula
that is incorrect if the stack is in vmalloc space.
+config ARCH_WANT_RELAX_ORDER
+ bool
+
source "kernel/gcov/Kconfig"