WSL2-Linux-Kernel/drivers/infiniband
Bart Van Assche c9121262d5 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/20191025225830.257535-5-bvanassche@acm.org
Fixes: d10bcf947a ("RDMA/umem: Combine contiguous PAGE_SIZE regions in SGEs")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-10-28 14:52:04 -03:00
..
core RDMA/core: Set DMA parameters correctly 2019-10-28 14:52:04 -03:00
hw RDMA/iw_cxgb4: Report correct port speed/width 2019-10-28 14:11:46 -03:00
sw RDMA/siw: Increase DMA max_segment_size parameter 2019-10-28 14:52:04 -03:00
ulp RDMA/srpt: Fix TPG creation 2019-10-28 13:30:00 -03:00
Kconfig RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00