Skip to content

Commit 247c78f

Browse files
Roman Yeryomindavem330
authored andcommitted
net: korina: use GRO
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>
1 parent d609d28 commit 247c78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/korina.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ static int korina_rx(struct net_device *dev, int limit)
406406
skb->protocol = eth_type_trans(skb, dev);
407407

408408
/* Pass the packet to upper layers */
409-
netif_receive_skb(skb);
409+
napi_gro_receive(&lp->napi, skb);
410410
dev->stats.rx_packets++;
411411
dev->stats.rx_bytes += pkt_len;
412412

0 commit comments

Comments
 (0)