]> 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)
commitead688ef4596c50ddb0ef8ddbd59dcf0d3889760
treece0bb01b91bad831e290626308b886e9d0d884d2
parent2bb627ffefe1fca6eadc895f05cb4602599fc8d9
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