Commit 247c78f2 authored by Roman Yeryomin's avatar Roman Yeryomin Committed by David S. Miller

net: korina: use GRO

Performance gain when receiving locally is 55->95Mbps and 50->65Mbps for NAT.
Signed-off-by: default avatarRoman Yeryomin <roman@advem.lv>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d609d289
...@@ -406,7 +406,7 @@ static int korina_rx(struct net_device *dev, int limit) ...@@ -406,7 +406,7 @@ static int korina_rx(struct net_device *dev, int limit)
skb->protocol = eth_type_trans(skb, dev); skb->protocol = eth_type_trans(skb, dev);
/* Pass the packet to upper layers */ /* Pass the packet to upper layers */
netif_receive_skb(skb); napi_gro_receive(&lp->napi, skb);
dev->stats.rx_packets++; dev->stats.rx_packets++;
dev->stats.rx_bytes += pkt_len; dev->stats.rx_bytes += pkt_len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment