|
NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON |
|
|
|
ibv_dm_...mabuf_fd(3) Libibverbs Programmer’s Manualibv_dm_...mabuf_fd(3)
ibv_dm_export_dmabuf_fd - export dmabuf fd for a given ibv_dm.
#include <infiniband/verbs.h>
int ibv_dm_export_dmabuf_fd(struct ibv_dm *dm);
ibv_dm_export_dmabuf_fd() exports a dmabuf fd that is associated
with the given dm.
The returned fd can be later used for DMA and RDMA operations
associated with it.
Once the usage has been ended close() should be called while
supplying the fd.
This call will release resources that were earlier allocated using
the ibv_dm_export_dmabuf_fd() API.
dm An ibv_dm pointer to export the dmabuf fd for its memory.
ibv_dm_export_dmabuf_fd() returns an fd number >= 0 upon success,
or -1 if the request fails and errno set to the error.
ibv_reg_mr_ex(3)
Yishai Hadas ⟨yishaih@nvidia.com⟩
This page is part of the rdma-core (RDMA Core Userspace Libraries
and Daemons) project. Information about the project can be found
at ⟨https://github.com/linux-rdma/rdma-core⟩. If you have a bug
report for this manual page, send it to
linux-rdma@vger.kernel.org. This page was obtained from the
project's upstream Git repository
⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2026-05-24. (At
that time, the date of the most recent commit that was found in
the repository was 2026-05-20.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org
libibverbs 2025-12-7 ibv_dm_...mabuf_fd(3)
Pages that refer to this page: mlx5dv_devx_uar_export_dmabuf_fd(3)