Christoph Hellwig 1c0899636d RDMA/umem: Use ib_dma_max_seg_size instead of dma_get_max_seg_size
commit b116c702791a9834e6485f67ca6267d9fdf59b87 upstream.

RDMA ULPs must not call DMA mapping APIs directly but instead use the
ib_dma_* wrappers.

Fixes: 0c16d9635e3a ("RDMA/umem: Move to allocate SG table from pages")
Link: https://lore.kernel.org/r/20201106181941.1878556-3-hch@lst.de
Reported-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Cc: "Marciniszyn, Mike" <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-17 17:06:37 +01:00
..
2021-03-17 17:06:28 +01:00
2021-01-27 11:55:12 +01:00
2021-03-04 11:38:21 +01:00
2020-12-03 10:00:23 +01:00
2021-01-19 18:27:26 +01:00
2021-03-17 17:06:33 +01:00
2020-12-30 11:53:53 +01:00
2021-01-17 14:17:02 +01:00
2021-03-04 11:38:03 +01:00
2021-03-04 11:37:28 +01:00
2021-03-04 11:38:17 +01:00