]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
sky2: enable GRO by default
authorstephen hemminger <shemminger@vyatta.com>
Wed, 15 Sep 2010 17:22:17 +0000 (17:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Sep 2010 05:28:09 +0000 (22:28 -0700)
The driver has supported GRO for a while, but it was not enabled
by default.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c

index 194e5cf8c763d8055e988ea14d1c5c43a8819029..3ef9b67ac6e62158839d23a4c2b1c82f9bb4948a 100644 (file)
@@ -4581,7 +4581,8 @@ static __devinit struct net_device *sky2_init_netdev(struct sky2_hw *hw,
 
        sky2->port = port;
 
-       dev->features |= NETIF_F_TSO | NETIF_F_IP_CSUM | NETIF_F_SG;
+       dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG
+               | NETIF_F_TSO  | NETIF_F_GRO;
        if (highmem)
                dev->features |= NETIF_F_HIGHDMA;