diff options
author | Bart Van Assche <[email protected]> | 2019-10-25 15:58:30 -0700 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-10-28 14:52:04 -0300 |
commit | c9121262d57b8a3be4f08073546436ba0128ca6a (patch) | |
tree | 4d06c1748604eeaedfa1ea7e34ca21b1b770befc /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | a401fb819cd6586c2c983dc199be4a9b44c30661 (diff) |
RDMA/core: Set DMA parameters correctly
The dma_set_max_seg_size() call in setup_dma_device() does not have any
effect since device->dev.dma_parms is NULL. Fix this by initializing
device->dev.dma_parms first.
Link: https://lore.kernel.org/r/[email protected]
Fixes: d10bcf947a3e ("RDMA/umem: Combine contiguous PAGE_SIZE regions in SGEs")
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions