diff options
author | Achiad Shochat <achiad@mellanox.com> | 2015-11-12 19:35:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-15 18:43:40 -0500 |
commit | d4e28cbd24c8cb004960ddb8b22124953f6c220c (patch) | |
tree | 56c1b4cca0d61a221b61f595027488b659c439fa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 50a9eea694ab8e0779069e0a4e0b12e145521468 (diff) |
net/mlx5e: Use the right DMA free function on TX path
On xmit path we use skb_frag_dma_map() which is using dma_map_page(),
while upon completion we dma-unmap the skb fragments using
dma_unmap_single() rather than dma_unmap_page().
To fix this, we now save the dma map type on xmit path and use this
info to call the right dma unmap method upon TX completion.
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.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