diff options
author | Arnd Bergmann <arnd@arndb.de> | 2010-01-30 07:24:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-03 23:20:33 -0500 |
commit | 20d29d7a916a47bf533b5709437fe735b6b5b79e (patch) | |
tree | 8dbe4178b90915a18e83f97a3e71cdcd39892da1 /drivers/net/Kconfig | |
parent | fc0663d6b5e6d8e9b57f872a644c0aafd82361b7 (diff) |
net: macvtap driver
In order to use macvlan with qemu and other tools that require
a tap file descriptor, the macvtap driver adds a small backend
with a character device with the same interface as the tun
driver, with a minimum set of features.
Macvtap interfaces are created in the same way as macvlan
interfaces using ip link, but the netif is just used as a
handle for configuration and accounting, while the data
goes through the chardev. Each macvtap interface has its
own character device, simplifying permission management
significantly over the generic tun/tap driver.
Cc: Patrick McHardy <kaber@trash.net>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: David S. Miller" <davem@davemloft.net>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Or Gerlitz <ogerlitz@voltaire.com>
Cc: netdev@vger.kernel.org
Cc: bridge@lists.linux-foundation.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index cb0e534418e3..411e20703110 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -90,6 +90,18 @@ config MACVLAN | |||
90 | To compile this driver as a module, choose M here: the module | 90 | To compile this driver as a module, choose M here: the module |
91 | will be called macvlan. | 91 | will be called macvlan. |
92 | 92 | ||
93 | config MACVTAP | ||
94 | tristate "MAC-VLAN based tap driver (EXPERIMENTAL)" | ||
95 | depends on MACVLAN | ||
96 | help | ||
97 | This adds a specialized tap character device driver that is based | ||
98 | on the MAC-VLAN network interface, called macvtap. A macvtap device | ||
99 | can be added in the same way as a macvlan device, using 'type | ||
100 | macvlan', and then be accessed through the tap user space interface. | ||
101 | |||
102 | To compile this driver as a module, choose M here: the module | ||
103 | will be called macvtap. | ||
104 | |||
93 | config EQUALIZER | 105 | config EQUALIZER |
94 | tristate "EQL (serial line load balancing) support" | 106 | tristate "EQL (serial line load balancing) support" |
95 | ---help--- | 107 | ---help--- |