]> git.baikalelectronics.ru Git - kernel.git/commit
macvtap: Let TUNSETOFFLOAD actually controll offload features.
authorVlad Yasevich <vyasevic@redhat.com>
Tue, 25 Jun 2013 20:04:21 +0000 (16:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:44:56 +0000 (16:44 -0700)
commitb3facf6f5129d77e8487f2c274eaf3dda45929c4
treece0bb01b91bad831e290626308b886e9d0d884d2
parent4ba01f9af6167f7a0969048b981990c6bc090374
macvtap: Let TUNSETOFFLOAD actually controll offload features.

When the user issues TUNSETOFFLOAD ioctl, macvtap does not do
anything other then to verify arguments.  This patch adds
functionality to allow users to actually control offload features.
NETIF_F_GSO and NETIF_F_GRO are always on, but the rest of the
features can be controlled.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c
drivers/net/macvtap.c
include/linux/if_macvlan.h