projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa39514
)
niu: Enable GRO by default.
author
David S. Miller
<davem@davemloft.net>
Wed, 21 Apr 2010 01:44:52 +0000
(18:44 -0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/niu.c
b/drivers/net/niu.c
index ef940226ee227cbf8157303554a31e5850bb09ef..493e25cf1014e072c2bb29b4633948369095b4b2 100644
(file)
--- 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) {