android_kernel_motorola_sm6375/drivers/infiniband
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Bart Van Assche 1e457b63c7 RDMA/core: Set DMA parameters correctly
[ Upstream commit c9121262d57b8a3be4f08073546436ba0128ca6a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-31 16:44:28 +01:00
..
core RDMA/core: Set DMA parameters correctly 2019-12-31 16:44:28 +01:00
hw RDMA/qedr: Fix srqs xarray initialization 2019-12-31 16:44:27 +01:00
sw RDMA/siw: Fix SQ/RQ drain logic 2019-12-31 16:44:14 +01:00
ulp IB/iser: bound protection_sg size by data_sg size 2019-12-31 16:43:15 +01:00
Kconfig RDMA/odp: Use the common interval tree library instead of generic 2019-08-21 13:34:09 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00