]> git.baikalelectronics.ru Git - kernel.git/commit
net/macvtap: add vhost support
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 Feb 2010 05:46:50 +0000 (05:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 22:08:38 +0000 (14:08 -0800)
commit74cb685526a37a66df54e963cf3a4c6839acf5b7
tree65db25ce76a5c038d69c304d9b6456e4f68e9f47
parent685f75483c1ae11406e17e9ed8758a1f1018e04e
net/macvtap: add vhost support

This adds support for passing a macvtap file descriptor into
vhost-net, much like we already do for tun/tap.

Most of the new code is taken from the respective patch
in the tun driver and may get consolidated in the future.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c
drivers/vhost/Kconfig
drivers/vhost/net.c
include/linux/if_macvlan.h