diff options
author | Patrick McHardy <kaber@trash.net> | 2013-04-17 02:47:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-19 14:57:57 -0400 |
commit | ccdfcc398594ddf3f77348c5a10938dbe9efefbe (patch) | |
tree | 5458e0eca52d0488e8c24c8587028b5bd29b60de /net/Kconfig | |
parent | cf0a018ac669955c10e4fca24fa55dde58434e9a (diff) |
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/Kconfig | 9 |
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 | |||
23 | 23 | ||
24 | if NET | 24 | if NET |
25 | 25 | ||
26 | config NETLINK_MMAP | ||
27 | bool "Netlink: mmaped IO" | ||
28 | help | ||
29 | This option enables support for memory mapped netlink IO. This | ||
30 | reduces overhead by avoiding copying data between kernel- and | ||
31 | userspace. | ||
32 | |||
33 | If unsure, say N. | ||
34 | |||
26 | config WANT_COMPAT_NETLINK_MESSAGES | 35 | config WANT_COMPAT_NETLINK_MESSAGES |
27 | bool | 36 | bool |
28 | help | 37 | help |