diff options
author | Ilya Lesokhin <ilyal@mellanox.com> | 2017-08-28 09:47:32 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-05-29 17:27:50 -0700 |
commit | 36dd4902004c39b7e8a16a7cf1535faa7ecfa921 (patch) | |
tree | 82e5f058464c64d2b9e4d7abc34925e1be1d01f6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ba869ee0e0f53077f58ce43a9381b4ee0a20cdd6 (diff) |
net/mlx5: FPGA, Call DMA unmap with the right size
When mlx5_fpga_conn_unmap_buf is called buf->sg[0].size
should equal the actual buffer size, not the message size.
Otherwise we will trigger the following dma debug warning
"DMA-API: device driver frees DMA memory with different size"
Fixes: 537a50574175 ('net/mlx5: FPGA, Add high-speed connection routines')
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions