Linux Kernel
3.7.1
|
#include <linux/dmaengine.h>
#include <linux/socket.h>
#include <linux/export.h>
#include <net/tcp.h>
#include <net/netdma.h>
Go to the source code of this file.
Macros | |
#define | NET_DMA_DEFAULT_COPYBREAK 4096 |
Functions | |
EXPORT_SYMBOL (sysctl_tcp_dma_copybreak) | |
int | dma_skb_copy_datagram_iovec (struct dma_chan *chan, struct sk_buff *skb, int offset, struct iovec *to, size_t len, struct dma_pinned_list *pinned_list) |
Variables | |
int | sysctl_tcp_dma_copybreak = NET_DMA_DEFAULT_COPYBREAK |
#define NET_DMA_DEFAULT_COPYBREAK 4096 |
Definition at line 34 of file user_dma.c.
int dma_skb_copy_datagram_iovec | ( | struct dma_chan * | chan, |
struct sk_buff * | skb, | ||
int | offset, | ||
struct iovec * | to, | ||
size_t | len, | ||
struct dma_pinned_list * | pinned_list | ||
) |
dma_skb_copy_datagram_iovec - Copy a datagram to an iovec. - buffer to copy - offset in the buffer to start copying from - io vector to copy to - amount of data to copy from buffer to iovec - locked iovec buffer data
Note: the iovec is modified during the copy.
Definition at line 49 of file user_dma.c.
EXPORT_SYMBOL | ( | sysctl_tcp_dma_copybreak | ) |
int sysctl_tcp_dma_copybreak = NET_DMA_DEFAULT_COPYBREAK |
Definition at line 36 of file user_dma.c.