• Arnd Bergmann's avatar
    net: macvtap driver · 20d29d7a
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    20d29d7a
Kconfig 107 KB