Эх сурвалжийг харах

sky2: enable GRO by default

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>
stephen hemminger 14 жил өмнө
parent
commit
1953925ea6

+ 2 - 1
drivers/net/sky2.c

@@ -4581,7 +4581,8 @@ static __devinit struct net_device *sky2_init_netdev(struct sky2_hw *hw,
 
 
 	sky2->port = port;
 	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)
 	if (highmem)
 		dev->features |= NETIF_F_HIGHDMA;
 		dev->features |= NETIF_F_HIGHDMA;