macvlan: export macvlan mode through netlink
authorArnd Bergmann <arnd@arndb.de>
Thu, 26 Nov 2009 06:07:11 +0000 (06:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Nov 2009 23:53:10 +0000 (15:53 -0800)
commit27c0b1a850cdea6298f573d835782f3337be913c
tree447d5db320dfa2d558a73f841c76b04b975e6ee0
parent618e1b7482f7a8a4c6c6e8ccbe140e4c331df4e9
macvlan: export macvlan mode through netlink

In order to support all three modes of macvlan at
runtime, extend the existing netlink protocol
to allow choosing the mode per macvlan slave
interface.

This depends on a matching patch to iproute2
in order to become accessible in user land.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c
include/linux/if_link.h