aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netdma.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/netdma.h b/include/net/netdma.h
index cbfe89d7e5d0..19760eb131aa 100644
--- a/include/net/netdma.h
+++ b/include/net/netdma.h
@@ -23,6 +23,7 @@
23#include <linux/config.h> 23#include <linux/config.h>
24#ifdef CONFIG_NET_DMA 24#ifdef CONFIG_NET_DMA
25#include <linux/dmaengine.h> 25#include <linux/dmaengine.h>
26#include <linux/skbuff.h>
26 27
27static inline struct dma_chan *get_softnet_dma(void) 28static inline struct dma_chan *get_softnet_dma(void)
28{ 29{
@@ -34,5 +35,10 @@ static inline struct dma_chan *get_softnet_dma(void)
34 rcu_read_unlock(); 35 rcu_read_unlock();
35 return chan; 36 return chan;
36} 37}
38
39int dma_skb_copy_datagram_iovec(struct dma_chan* chan,
40 const struct sk_buff *skb, int offset, struct iovec *to,
41 size_t len, struct dma_pinned_list *pinned_list);
42
37#endif /* CONFIG_NET_DMA */ 43#endif /* CONFIG_NET_DMA */
38#endif /* NETDMA_H */ 44#endif /* NETDMA_H */