diff options
author | Rami Rosen <ramirose@gmail.com> | 2012-11-28 16:55:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-29 13:18:32 -0500 |
commit | bb728820fe7c42fdb838ab2745fb5fe6b18b5ffa (patch) | |
tree | 8a866acd8f41eba652321eb26f2aae5a29b8c8db /include | |
parent | 7e3a2dc52953f126103a36b33db1f57463fbbb8f (diff) |
core: make GRO methods static.
This patch changes three methods to be static and removes their
EXPORT_SYMBOLs in core/dev.c and their external declaration in
netdevice.h. The methods, dev_gro_receive(), napi_frags_finish() and
napi_skb_finish(), which are in the GRO rx path, are not used
outside core/dev.c.
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index e9929abeb932..18c5dc98f6dc 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2153,16 +2153,10 @@ extern void dev_kfree_skb_any(struct sk_buff *skb); | |||
2153 | extern int netif_rx(struct sk_buff *skb); | 2153 | extern int netif_rx(struct sk_buff *skb); |
2154 | extern int netif_rx_ni(struct sk_buff *skb); | 2154 | extern int netif_rx_ni(struct sk_buff *skb); |
2155 | extern int netif_receive_skb(struct sk_buff *skb); | 2155 | extern int netif_receive_skb(struct sk_buff *skb); |
2156 | extern gro_result_t dev_gro_receive(struct napi_struct *napi, | ||
2157 | struct sk_buff *skb); | ||
2158 | extern gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb); | ||
2159 | extern gro_result_t napi_gro_receive(struct napi_struct *napi, | 2156 | extern gro_result_t napi_gro_receive(struct napi_struct *napi, |
2160 | struct sk_buff *skb); | 2157 | struct sk_buff *skb); |
2161 | extern void napi_gro_flush(struct napi_struct *napi, bool flush_old); | 2158 | extern void napi_gro_flush(struct napi_struct *napi, bool flush_old); |
2162 | extern struct sk_buff * napi_get_frags(struct napi_struct *napi); | 2159 | extern struct sk_buff * napi_get_frags(struct napi_struct *napi); |
2163 | extern gro_result_t napi_frags_finish(struct napi_struct *napi, | ||
2164 | struct sk_buff *skb, | ||
2165 | gro_result_t ret); | ||
2166 | extern gro_result_t napi_gro_frags(struct napi_struct *napi); | 2160 | extern gro_result_t napi_gro_frags(struct napi_struct *napi); |
2167 | 2161 | ||
2168 | static inline void napi_free_frags(struct napi_struct *napi) | 2162 | static inline void napi_free_frags(struct napi_struct *napi) |