diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index c28bbba3c23d..f24556813375 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1125,9 +1125,6 @@ struct softnet_data | |||
1125 | struct sk_buff *completion_queue; | 1125 | struct sk_buff *completion_queue; |
1126 | 1126 | ||
1127 | struct napi_struct backlog; | 1127 | struct napi_struct backlog; |
1128 | #ifdef CONFIG_NET_DMA | ||
1129 | struct dma_chan *net_dma; | ||
1130 | #endif | ||
1131 | }; | 1128 | }; |
1132 | 1129 | ||
1133 | DECLARE_PER_CPU(struct softnet_data,softnet_data); | 1130 | DECLARE_PER_CPU(struct softnet_data,softnet_data); |
@@ -1373,8 +1370,14 @@ extern int netif_rx_ni(struct sk_buff *skb); | |||
1373 | #define HAVE_NETIF_RECEIVE_SKB 1 | 1370 | #define HAVE_NETIF_RECEIVE_SKB 1 |
1374 | extern int netif_receive_skb(struct sk_buff *skb); | 1371 | extern int netif_receive_skb(struct sk_buff *skb); |
1375 | extern void napi_gro_flush(struct napi_struct *napi); | 1372 | extern void napi_gro_flush(struct napi_struct *napi); |
1373 | extern int dev_gro_receive(struct napi_struct *napi, | ||
1374 | struct sk_buff *skb); | ||
1376 | extern int napi_gro_receive(struct napi_struct *napi, | 1375 | extern int napi_gro_receive(struct napi_struct *napi, |
1377 | struct sk_buff *skb); | 1376 | struct sk_buff *skb); |
1377 | extern void napi_reuse_skb(struct napi_struct *napi, | ||
1378 | struct sk_buff *skb); | ||
1379 | extern struct sk_buff * napi_fraginfo_skb(struct napi_struct *napi, | ||
1380 | struct napi_gro_fraginfo *info); | ||
1378 | extern int napi_gro_frags(struct napi_struct *napi, | 1381 | extern int napi_gro_frags(struct napi_struct *napi, |
1379 | struct napi_gro_fraginfo *info); | 1382 | struct napi_gro_fraginfo *info); |
1380 | extern void netif_nit_deliver(struct sk_buff *skb); | 1383 | extern void netif_nit_deliver(struct sk_buff *skb); |