Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
		netif_receive_skb(skb);
		napi_gro_receive(&lp->napi, skb);
		dev->stats.rx_packets++;
		dev->stats.rx_bytes += pkt_len;