e1000e: Add GRO support
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Dec 2008 07:46:15 +0000 (23:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 07:46:15 +0000 (23:46 -0800)
This patch adds GRO support to e1000e by making it invoke napi_gro_receive
instead of netif_receive_skb.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c

index a4278bbf560cfc80b4ff06b27fb790824ec5272a..f7b05609073df59edd4f8065c1c1f039affbf15b 100644 (file)
@@ -102,7 +102,7 @@ static void e1000_receive_skb(struct e1000_adapter *adapter,
                vlan_hwaccel_receive_skb(skb, adapter->vlgrp,
                                         le16_to_cpu(vlan));
        else
-               netif_receive_skb(skb);
+               napi_gro_receive(&adapter->napi, skb);
 }
 
 /**