.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "mlx5dv_dm_map_op_addr" "3" "2021-1-21" "mlx5" "mlx5 Programmer\[cq]s Manual" .hy .SH NAME .PP mlx5dv_dm_map_op_addr - Get operation address of a device memory (DM) .SH SYNOPSIS .IP .nf \f[C] #include void *mlx5dv_dm_map_op_addr(struct ibv_dm *dm, uint8_t op); \f[R] .fi .SH DESCRIPTION .PP \f[B]mlx5dv_dm_map_op_addr()\f[R] returns a mmaped address to the device memory for the requested \f[B]op\f[R]. .SH ARGUMENTS .TP \f[I]dm\f[R] .IP .nf \f[C] The associated ibv_dm for this operation. \f[R] .fi .TP \f[I]op\f[R] .IP .nf \f[C] Indicates the DM operation type, based on device specification. \f[R] .fi .SH RETURN VALUE .PP Returns a pointer to the mmaped address, on error NULL will be returned and errno will be set. .SH SEE ALSO .PP \f[B]ibv_alloc_dm\f[R](3), \f[B]mlx5dv_alloc_dm\f[R](3), .SH AUTHOR .PP Maor Gottlieb