aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2015-07-14 17:56:52 -0400
committerDavid S. Miller <davem@davemloft.net>2015-07-17 03:10:47 -0400
commite2370f07cf703c0920c99bc24de3d152262738f0 (patch)
tree774464cccb5fc59dc5785e83af1f3f3f478d1f7f /tools/perf/scripts/python/export-to-postgresql.py
parent15afb10df4a3f1bd781373ffd968e70cc4b21a42 (diff)
ravb: do not invalidate cache for RX buffer twice
First, dma_sync_single_for_cpu() shouldn't have been called in the first place (it's a streaming DMA API), dma_unmap_single() should have been called instead. Second, dma_unmap_single() call after handing the buffer to napi_gro_receive() makes little sense. Moreover desc->dptr might not be valid at this point. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions