diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-01-06 13:49:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-06 13:49:34 -0500 |
commit | 96e93eab20337d063c70d537bd7bc70d90e04fa3 (patch) | |
tree | 6b50a8d19e6c4d99f035dbede3b7836eed5a7d44 /include/linux/netdevice.h | |
parent | ff5bfc3584efdadf826a21bc76ef42bdfcf3f612 (diff) |
gro: Add internal interfaces for VLAN
Previously GRO's only entry point from the outside is through
napi_gro_receive and napi_gro_frags. These interfaces are for
device drivers.
This patch rearranges things to provide a new set of interfaces
for VLANs. These interfaces are for internal use only. The
VLAN code itself can then provide a set of entry points for
device drivers.
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index c28bbba3c23d..114091be8872 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1373,8 +1373,14 @@ extern int netif_rx_ni(struct sk_buff *skb); | |||
1373 | #define HAVE_NETIF_RECEIVE_SKB 1 | 1373 | #define HAVE_NETIF_RECEIVE_SKB 1 |
1374 | extern int netif_receive_skb(struct sk_buff *skb); | 1374 | extern int netif_receive_skb(struct sk_buff *skb); |
1375 | extern void napi_gro_flush(struct napi_struct *napi); | 1375 | extern void napi_gro_flush(struct napi_struct *napi); |
1376 | extern int dev_gro_receive(struct napi_struct *napi, | ||
1377 | struct sk_buff *skb); | ||
1376 | extern int napi_gro_receive(struct napi_struct *napi, | 1378 | extern int napi_gro_receive(struct napi_struct *napi, |
1377 | struct sk_buff *skb); | 1379 | struct sk_buff *skb); |
1380 | extern void napi_reuse_skb(struct napi_struct *napi, | ||
1381 | struct sk_buff *skb); | ||
1382 | extern struct sk_buff * napi_fraginfo_skb(struct napi_struct *napi, | ||
1383 | struct napi_gro_fraginfo *info); | ||
1378 | extern int napi_gro_frags(struct napi_struct *napi, | 1384 | extern int napi_gro_frags(struct napi_struct *napi, |
1379 | struct napi_gro_fraginfo *info); | 1385 | struct napi_gro_fraginfo *info); |
1380 | extern void netif_nit_deliver(struct sk_buff *skb); | 1386 | extern void netif_nit_deliver(struct sk_buff *skb); |