summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-12-15 23:46:15 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-15 23:46:15 -0800
commit89c88b16f12e9df9ac39418638f267ec3b36a6c6 (patch)
tree404d1841e190a423817762fec3bcc164e9cc3b22 /drivers/net/e1000e
parentb240a0e5644eb817c4a397098a40e1ad42a615bc (diff)
downloadlinux-89c88b16f12e9df9ac39418638f267ec3b36a6c6.tar.gz
linux-89c88b16f12e9df9ac39418638f267ec3b36a6c6.tar.bz2
linux-89c88b16f12e9df9ac39418638f267ec3b36a6c6.zip
e1000e: Add GRO support
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>
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r--drivers/net/e1000e/netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index a4278bbf560c..f7b05609073d 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -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);
}
/**