summaryrefslogtreecommitdiffstats
path: root/net/Kconfig
diff options
context:
space:
mode:
authorPatrick McHardy2013-04-17 08:47:01 +0200
committerDavid S. Miller2013-04-19 20:57:57 +0200
commitccdfcc398594ddf3f77348c5a10938dbe9efefbe (patch)
tree5458e0eca52d0488e8c24c8587028b5bd29b60de /net/Kconfig
parentnetlink: add netlink_skb_set_owner_r() (diff)
downloadkernel-qcow2-linux-ccdfcc398594ddf3f77348c5a10938dbe9efefbe.tar.gz
kernel-qcow2-linux-ccdfcc398594ddf3f77348c5a10938dbe9efefbe.tar.xz
kernel-qcow2-linux-ccdfcc398594ddf3f77348c5a10938dbe9efefbe.zip
netlink: mmaped netlink: ring setup
Add support for mmap'ed RX and TX ring setup and teardown based on the af_packet.c code. The following patches will use this to add the real mmap'ed receive and transmit functionality. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
-rw-r--r--net/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 2ddc9046868e..1a2221630e6a 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -23,6 +23,15 @@ menuconfig NET
if NET
+config NETLINK_MMAP
+ bool "Netlink: mmaped IO"
+ help
+ This option enables support for memory mapped netlink IO. This
+ reduces overhead by avoiding copying data between kernel- and
+ userspace.
+
+ If unsure, say N.
+
config WANT_COMPAT_NETLINK_MESSAGES
bool
help