diff options
author | 2015-01-27 00:50:24 +0000 | |
---|---|---|
committer | 2015-01-27 00:18:54 -0800 | |
commit | 52b9fa3696c44151a2f1d361a00be7c5513db026 (patch) | |
tree | cd61f6cb3d68d8a6a6351ff84dcfc3db3c24b2b5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | sh_eth: Check for DMA mapping errors on transmit (diff) | |
download | wireguard-linux-52b9fa3696c44151a2f1d361a00be7c5513db026.tar.xz wireguard-linux-52b9fa3696c44151a2f1d361a00be7c5513db026.zip |
sh_eth: Fix DMA-API usage for RX buffers
- Use the return value of dma_map_single(), rather than calling
virt_to_page() separately
- Check for mapping failue
- Call dma_unmap_single() rather than dma_sync_single_for_cpu()
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions