skb_frag_dma_map (9) Linux Manual Page
skb_frag_dma_map – maps a paged fragment via the DMA API
Synopsis
-
dma_addr_t skb_frag_dma_map(struct devicedev* , const skb_frag_tfrag* , size_toffset, size_tsize, enum dma_data_directiondir);
Arguments
dev
-
- the device to map the fragment to
frag
- the paged fragment to map
offset
- the offset within the fragment (starting at the fragment’s own offset)
size
- the number of bytes to map
dir
- the direction of the mapping (
PCI_DMA_*)
Description
Maps the page associated with frag to device.
