summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@linux.dev>2023-02-17 04:14:25 +0300
committerJason Gunthorpe <jgg@nvidia.com>2023-02-17 23:36:14 +0300
commitd2225b838ccad126045e048471441693c7bca217 (patch)
treeefc994898c7c214eb8a48e05d89ca9dced51604b /tools/perf/scripts/python/exported-sql-viewer.py
parent5ef17179da7b779b3029d9a7d3871ba09279d56c (diff)
downloadlinux-d2225b838ccad126045e048471441693c7bca217.tar.xz
RDMA/irdma: Add support for dmabuf pin memory regions
This is a followup to the EFA dmabuf[1]. Irdma driver currently does not support on-demand-paging(ODP). So it uses habanalabs as the dmabuf exporter, and irdma as the importer to allow for peer2peer access through libibverbs. In this commit, the function ib_umem_dmabuf_get_pinned() is used. This function is introduced in EFA dmabuf[1] which allows the driver to get a dmabuf umem which is pinned and does not require move_notify callback implementation. The returned umem is pinned and DMA mapped like standard cpu umems, and is released through ib_umem_release(). [1]https://lore.kernel.org/lkml/20211007114018.GD2688930@ziepe.ca/t/ Link: https://lore.kernel.org/r/20230217011425.498847-1-yanjun.zhu@intel.com Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions