Re: [PATCH] net: enable GRO by default for vlan devices

Eric Dumazet
2010-09-15T22:03:29Z

Le mercredi 15 septembre 2010 à 12:24 -0700, Brandon Philips a écrit :
> 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>