summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-06 19:19:33 +0100
committerJason Gunthorpe <jgg@nvidia.com>2020-11-12 18:33:43 +0100
commitb116c702791a9834e6485f67ca6267d9fdf59b87 (patch)
tree05b7ce8cc48a6e565e824563826d07129e1ae264 /include/rdma
parentRDMa/mthca: Work around -Wenum-conversion warning (diff)
downloadlinux-b116c702791a9834e6485f67ca6267d9fdf59b87.tar.xz
linux-b116c702791a9834e6485f67ca6267d9fdf59b87.zip
RDMA/umem: Use ib_dma_max_seg_size instead of dma_get_max_seg_size
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>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions