From: Roman Yeryomin Date: Sun, 17 Sep 2017 17:24:50 +0000 (+0300) Subject: net: korina: use GRO X-Git-Tag: v4.19~2168^2~703^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=247c78f2bed0c4d72c381c9caf429173513dcc51;p=platform%2Fkernel%2Flinux-rpi.git net: korina: use GRO Performance gain when receiving locally is 55->95Mbps and 50->65Mbps for NAT. Signed-off-by: Roman Yeryomin Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index c210add..5f36e17 100644 --- 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 */ - netif_receive_skb(skb); + napi_gro_receive(&lp->napi, skb); dev->stats.rx_packets++; dev->stats.rx_bytes += pkt_len;