diff options
author | Maciej W. Rozycki <[email protected]> | 2014-07-05 15:14:40 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-07-08 15:30:11 -0700 |
commit | b37cccf031bdcaba2f461cdb5a2b93ebbd0af03c (patch) | |
tree | a7b05f482ba6835c23ad01772d018c53ee780763 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | a630be70771ddbe8253f619ac4b9ca4c3277b13b (diff) |
defxx: Handle DMA mapping errors
This adds error handling for DMA mapping requests; I think there isn't
much else to say about it.
A good side-effect is the mapping in the transmit path is now made with
the board lock released. Also if DMA mapping fails for a newly
allocated receive buffer, then data from the old buffer will be copied
out (as is presently done for small frames only whose size does not
exceed SKBUFF_RX_COPYBREAK) and the original buffer returned, with its
mapping unchanged, to the DMA descriptor ring.
Reported-by: Robert Coerver <[email protected]>
Tested-by: Robert Coerver <[email protected]>
Signed-off-by: Maciej W. Rozycki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions