Patchwork [net-next-2.6,1/2] niu: Enable GRO by default.

login
register
mail settings
Submitter David Miller
Date April 21, 2010, 2:08 a.m.
Message ID <20100420.190825.14335753.davem@davemloft.net>
Download mbox | patch
Permalink /patch/50608/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - April 21, 2010, 2:08 a.m.
This was merely an oversight when I added the napi_gro_receive()
calls.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/niu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index ef94022..493e25c 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -9838,7 +9838,7 @@  static int __devinit niu_pci_init_one(struct pci_dev *pdev,
 		}
 	}
 
-	dev->features |= (NETIF_F_SG | NETIF_F_HW_CSUM);
+	dev->features |= (NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_GRO);
 
 	np->regs = pci_ioremap_bar(pdev, 0);
 	if (!np->regs) {