diff options
author | 2017-08-28 09:47:32 +0300 | |
---|---|---|
committer | 2018-05-29 17:27:50 -0700 | |
commit | 36dd4902004c39b7e8a16a7cf1535faa7ecfa921 (patch) | |
tree | 82e5f058464c64d2b9e4d7abc34925e1be1d01f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5: FPGA, Properly initialize dma direction on fpga conn send (diff) | |
download | wireguard-linux-36dd4902004c39b7e8a16a7cf1535faa7ecfa921.tar.xz wireguard-linux-36dd4902004c39b7e8a16a7cf1535faa7ecfa921.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions