]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
niu: Enable GRO by default.
authorDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2010 01:44:52 +0000 (18:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2010 01:44:52 +0000 (18:44 -0700)
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

index ef940226ee227cbf8157303554a31e5850bb09ef..493e25cf1014e072c2bb29b4633948369095b4b2 100644 (file)
@@ -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) {