Patchwork sky2: enable GRO by default

login
register
mail settings
Submitter stephen hemminger
Date Sept. 16, 2010, 3:22 a.m.
Message ID <20100915202217.365fee46@nehalam>
Download mbox | patch
Permalink /patch/64932/
State Accepted
Delegated to: David Miller
Headers show

Comments

stephen hemminger - Sept. 16, 2010, 3:22 a.m.
The driver has supported GRO for a while, but it was not enabled
by default.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Sept. 16, 2010, 5:29 a.m.
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Wed, 15 Sep 2010 20:22:17 -0700

> The driver has supported GRO for a while, but it was not enabled
> by default.
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- a/drivers/net/sky2.c	2010-09-15 18:09:55.656753541 -0700
+++ b/drivers/net/sky2.c	2010-09-15 18:13:50.953918039 -0700
@@ -4581,7 +4581,8 @@  static __devinit struct net_device *sky2
 
 	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;