net: enable GRO by default for vlan devices
authorBrandon Philips <bphilips@suse.de>
Wed, 15 Sep 2010 09:24:24 +0000 (09:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Sep 2010 05:32:29 +0000 (22:32 -0700)
Currently vlan devices don't have GRO by default as none of the Ethernet
drivers add NETIF_F_GRO to their vlan_features.

As GRO is a software feature add GRO to dev->vlan_features in
register_netdevice() and let vlan_dev_init() take care that it gets
enabled only when dev->features has NETIF_F_GRO too.

Signed-off-by: Brandon Philips <bphilips@suse.de>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found