|
NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | SEE ALSO | AUTHOR | COLOPHON |
|
|
|
mlx5dv_g...ort_sizes(3) Library Functions Manual mlx5dv_g...ort_sizes(3)
mlx5dv_get_export_sizes - Query export buffer sizes for mlx5
objects
#include <infiniband/mlx5dv.h>
struct mlx5dv_export_sizes {
uint32_t var_attrs_size;
uint32_t devx_umem_attrs_size;
uint32_t devx_obj_attrs_size;
};
void mlx5dv_get_export_sizes(struct mlx5dv_export_sizes *sizes);
mlx5dv_get_export_sizes() returns the buffer sizes required by the
export/import APIs for each supported object type. The caller
should use these sizes to allocate data buffers before calling the
corresponding export/import functions.
The returned sizes reflect the library’s internal data layout and
may change between library versions.
sizes Pointer to a struct mlx5dv_export_sizes to be filled.
mlx5dv_export_sizes
var_attrs_size
Buffer size required for mlx5dv_var_export() /
mlx5dv_var_import().
devx_umem_attrs_size
Buffer size required for mlx5dv_devx_umem_export() /
mlx5dv_devx_umem_import().
devx_obj_attrs_size
Buffer size required for mlx5dv_devx_obj_export() /
mlx5dv_devx_obj_import().
mlx5dv_var_export, mlx5dv_devx_umem_export, mlx5dv_devx_obj_export
Maher Sanalla ⟨msanalla@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
mlx5dv_g...ort_sizes(3)