1SKB_FRAG_DMA_MAP(9) Linux Networking SKB_FRAG_DMA_MAP(9)
2
3
4
6 skb_frag_dma_map - maps a paged fragment via the DMA API
7
9 dma_addr_t skb_frag_dma_map(struct device * dev,
10 const skb_frag_t * frag, size_t offset,
11 size_t size, enum dma_data_direction dir);
12
14 dev
15 the device to map the fragment to
16
17 frag
18 the paged fragment to map
19
20 offset
21 the offset within the fragment (starting at the fragment´s own
22 offset)
23
24 size
25 the number of bytes to map
26
27 dir
28 the direction of the mapping (PCI_DMA_*)
29
31 Maps the page associated with frag to device.
32
34Kernel Hackers Manual 2.6. June 2019 SKB_FRAG_DMA_MAP(9)