]> Pileus Git - ~andy/linux/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)
commit2be5c76794b0e570aa87b012df5ac864ce668a74
treece0bb01b91bad831e290626308b886e9d0d884d2
parentac4e4af1e59e16a018527ffa58d9d3f30bb96ca9
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