diff options
author | Brandon Philips <bphilips@suse.de> | 2010-09-15 09:24:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-15 22:32:29 -0700 |
commit | 16c3ea785fe4a383c6675dfe7316f3c815755bdd (patch) | |
tree | 4eeae9f3d64d53ffa30acf0223df70acb1e2a253 /drivers/net/sungem.h | |
parent | b1cbd5f980863eb97f687baba95850c334c83a47 (diff) |
net: enable GRO by default for vlan devices
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>
Diffstat (limited to 'drivers/net/sungem.h')
0 files changed, 0 insertions, 0 deletions