aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/netdma.h')
-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 cbfe89d7e5d09c..19760eb131aabe 100644
--- a/include/net/netdma.h
+++ b/include/net/netdma.h
@@ -23,6 +23,7 @@
#include <linux/config.h>
#ifdef CONFIG_NET_DMA
#include <linux/dmaengine.h>
+#include <linux/skbuff.h>
static inline struct dma_chan *get_softnet_dma(void)
{
@@ -34,5 +35,10 @@ static inline struct dma_chan *get_softnet_dma(void)
rcu_read_unlock();
return chan;
}
+
+int dma_skb_copy_datagram_iovec(struct dma_chan* chan,
+ const struct sk_buff *skb, int offset, struct iovec *to,
+ size_t len, struct dma_pinned_list *pinned_list);
+
#endif /* CONFIG_NET_DMA */
#endif /* NETDMA_H */