From: Sebastian Hesselbarth Date: Thu, 11 Apr 2013 02:40:23 +0000 (+0000) Subject: net: mv643xx_eth: Add GRO support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=09bf1c1072a94468760f7e2bf945512d53522b07;p=linux-beck.git net: mv643xx_eth: Add GRO support This patch adds GRO support to mv643xx_eth by making it invoke napi_gro_receive instead of netif_receive_skb. Signed-off-by: Soeren Moch Signed-off-by: Sebastian Hesselbarth Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c index 305038f48176..c850d0475c28 100644 --- a/drivers/net/ethernet/marvell/mv643xx_eth.c +++ b/drivers/net/ethernet/marvell/mv643xx_eth.c @@ -604,7 +604,7 @@ static int rxq_process(struct rx_queue *rxq, int budget) lro_receive_skb(&rxq->lro_mgr, skb, (void *)cmd_sts); lro_flush_needed = 1; } else - netif_receive_skb(skb); + napi_gro_receive(&mp->napi, skb); continue;