Files
linux/drivers/net
Ilya Lesokhin 36dd490200 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: 537a505741 ('net/mlx5: FPGA, Add high-speed connection routines')
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2018-05-29 17:27:50 -07:00
..
2018-05-24 22:55:07 -04:00
2018-03-27 13:18:09 -04:00
2018-05-28 23:02:22 -04:00
2018-03-27 13:18:09 -04:00
2018-05-28 22:59:54 -04:00
2018-04-17 13:53:13 -04:00