aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAaron Durbin <[email protected]>2014-02-07 16:25:50 -0800
committerJohn W. Linville <[email protected]>2014-02-12 15:36:14 -0500
commitdbccc92b5d543d1ead727f1416af9e113a3ccc4a (patch)
treede19768520319278f26081b60dc0cdac24338608 /tools/perf/scripts/python/bin/stackcollapse-report
parent21f58d200388480547df909b5464b5aafebf299d (diff)
mwifiex: balance dma map/unmap sizes
Depending on the underlying DMA implementation its not possible to partially unmap DMA buffers. Moreover its not possible to understand the intent of passing 0 as the size to dma unmap. The intent of this driver is unmap the entire skb buffer. The only way to ensure that the size matches on unmap is to store both the dma address and the size in the skb ca field. Introduce a mwifiex_dma_mapping structure which tracks the dma address and the size. Additionally, provide a mwifiex_unmap_pci_memory() that utilizes the new structure. This also provide symmetry within the internal API. Signed-off-by: Aaron Durbin <[email protected]> Reviewed-by: Paul Stewart <[email protected]> Reviewed-by: Avinash Patil <[email protected]> Signed-off-by: Bing Zhao <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions