aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-01-29 09:19:48 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-29 19:33:02 -0500
commit5d0d9be8ef456afc6c3fb5f8aad06ef19b704b05 (patch)
tree9fc987d5c6850800a83465105af43af4ce9c76a4 /include/linux/netdevice.h
parent7019298a2a5058c4e324494d6c8d0598214c28f4 (diff)
gro: Move common completion code into helpers
Currently VLAN still has a bit of common code handling the aftermath of GRO that's shared with the common path. This patch moves them into shared helpers to reduce code duplication. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index dd8a35b3e8b2..20419508eec1 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1375,12 +1375,15 @@ extern int netif_receive_skb(struct sk_buff *skb);
1375extern void napi_gro_flush(struct napi_struct *napi); 1375extern void napi_gro_flush(struct napi_struct *napi);
1376extern int dev_gro_receive(struct napi_struct *napi, 1376extern int dev_gro_receive(struct napi_struct *napi,
1377 struct sk_buff *skb); 1377 struct sk_buff *skb);
1378extern int napi_skb_finish(int ret, struct sk_buff *skb);
1378extern int napi_gro_receive(struct napi_struct *napi, 1379extern int napi_gro_receive(struct napi_struct *napi,
1379 struct sk_buff *skb); 1380 struct sk_buff *skb);
1380extern void napi_reuse_skb(struct napi_struct *napi, 1381extern void napi_reuse_skb(struct napi_struct *napi,
1381 struct sk_buff *skb); 1382 struct sk_buff *skb);
1382extern struct sk_buff * napi_fraginfo_skb(struct napi_struct *napi, 1383extern struct sk_buff * napi_fraginfo_skb(struct napi_struct *napi,
1383 struct napi_gro_fraginfo *info); 1384 struct napi_gro_fraginfo *info);
1385extern int napi_frags_finish(struct napi_struct *napi,
1386 struct sk_buff *skb, int ret);
1384extern int napi_gro_frags(struct napi_struct *napi, 1387extern int napi_gro_frags(struct napi_struct *napi,
1385 struct napi_gro_fraginfo *info); 1388 struct napi_gro_fraginfo *info);
1386extern void netif_nit_deliver(struct sk_buff *skb); 1389extern void netif_nit_deliver(struct sk_buff *skb);