.\" Automatically generated by Pandoc 2.5
.\"
.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 <infiniband/mlx5dv.h>

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
.B \f[I]dm\f[R]
.IP
.nf
\f[C]
The associated ibv_dm for this operation.
\f[R]
.fi
.TP
.B \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 <maorg@nvidia.com>
