diff options
| author | Marcin Wojtas <[email protected]> | 2015-12-03 15:20:50 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-12-04 15:01:13 -0500 |
| commit | 4229d502ad3091e54c6f2e44d21dd8190881b49c (patch) | |
| tree | 3dce1059c93ee3fca6dc644b8c5eaf46d814e16d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | e864b4c7b184bde36fa6a02bb3190983d2f796f9 (diff) | |
net: mvpp2: fix buffers' DMA handling on RX path
Each allocated buffer, whose pointer is put into BM pool is DMA-mapped.
Hence it should be properly unmapped after usage or when removing buffers
from pool.
This commit fixes DMA handling on RX path by adding dma_unmap_single() in
mvpp2_rx() and in mvpp2_bufs_free(). The latter function's argument number
had to be increased for this purpose.
Signed-off-by: Marcin Wojtas <[email protected]>
Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375
network unit")
Cc: <[email protected]> # v3.18+
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions