.\" Automatically generated by Pandoc 1.16.0.2
.\"
.TH "mlx5dv_dm_map_op_addr" "3" "2021\-1\-21" "mlx5" "mlx5 Programmer\[aq]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[]
.fi
.SH DESCRIPTION
.PP
\f[B]mlx5dv_dm_map_op_addr()\f[] returns a mmaped address to the device
memory for the requested \f[B]op\f[].
.SH ARGUMENTS
.TP
.B \f[I]dm\f[]
.IP
.nf
\f[C]
The\ associated\ ibv_dm\ for\ this\ operation.
\f[]
.fi
.RS
.RE
.TP
.B \f[I]op\f[]
.IP
.nf
\f[C]
Indicates\ the\ DM\ operation\ type,\ based\ on\ device\ specification.
\f[]
.fi
.RS
.RE
.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[](3), \f[B]mlx5dv_alloc_dm\f[](3),
.SH AUTHOR
.PP
Maor Gottlieb <maorg@nvidia.com>
