ソースを参照

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 <smoch@web.de>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Sebastian Hesselbarth 12 年 前
コミット
09bf1c1072
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/net/ethernet/marvell/mv643xx_eth.c

+ 1 - 1
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_receive_skb(&rxq->lro_mgr, skb, (void *)cmd_sts);
 			lro_flush_needed = 1;
 			lro_flush_needed = 1;
 		} else
 		} else
-			netif_receive_skb(skb);
+			napi_gro_receive(&mp->napi, skb);
 
 
 		continue;
 		continue;