.\" Automatically generated by Pandoc 3.1.8 .\" .TH "mlx5dv_dm_map_op_addr" "3" "2021-1-21" "mlx5" "mlx5 Programmer\[cq]s Manual" .SH NAME mlx5dv_dm_map_op_addr - Get operation address of a device memory (DM) .SH SYNOPSIS .IP .EX #include void *mlx5dv_dm_map_op_addr(struct ibv_dm *dm, uint8_t op); .EE .SH DESCRIPTION \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 .EX The associated ibv_dm for this operation. .EE .TP \f[I]op\f[R] .IP .EX Indicates the DM operation type, based on device specification. .EE .SH RETURN VALUE Returns a pointer to the mmaped address, on error NULL will be returned and errno will be set. .SH SEE ALSO \f[B]ibv_alloc_dm\f[R](3), \f[B]mlx5dv_alloc_dm\f[R](3), .SH AUTHOR Maor Gottlieb