projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d609d28
)
net: korina: use GRO
author
Roman Yeryomin
<leroi.lists@gmail.com>
Sun, 17 Sep 2017 17:24:50 +0000
(20:24 +0300)
committer
David S. Miller
<davem@davemloft.net>
Mon, 18 Sep 2017 23:50:06 +0000
(16:50 -0700)
Performance gain when receiving locally is 55->95Mbps and 50->65Mbps for NAT.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/korina.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/korina.c
b/drivers/net/ethernet/korina.c
index c210add9b65451d75387de30849016ec8d1f2c66..5f36e1703378c30c1eb71781560cc81e9afec9fd 100644
(file)
--- a/
drivers/net/ethernet/korina.c
+++ b/
drivers/net/ethernet/korina.c
@@
-406,7
+406,7
@@
static int korina_rx(struct net_device *dev, int limit)
skb->protocol = eth_type_trans(skb, dev);
/* Pass the packet to upper layers */
- n
etif_receive_skb(
skb);
+ n
api_gro_receive(&lp->napi,
skb);
dev->stats.rx_packets++;
dev->stats.rx_bytes += pkt_len;