From: Sean Hefty Date: Wed, 5 Mar 2014 00:59:20 +0000 (-0800) Subject: man/rsocket: Enhance riomap documentation X-Git-Tag: v1.0.19~37 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=3c19c968a240a2c50809373f9aa90bdf3454f6b1;p=~shefty%2Flibrdmacm.git man/rsocket: Enhance riomap documentation Document that the user must set IOMAPSIZE in order to use the riomap call. Signed-off-by: Sean Hefty --- diff --git a/man/rsocket.7 b/man/rsocket.7 index 9a55887a..dfb9804d 100644 --- a/man/rsocket.7 +++ b/man/rsocket.7 @@ -63,7 +63,12 @@ selects -1 for the offset, rsockets selects one. The remote peer may access an iomapped buffer directly by specifying the correct offset. The mapping is not guaranteed to be available until after the remote peer receives a data transfer initiated after riomap has completed. -.P +.PP +In order to enable the use of remote IO mapping calls on an rsocket, +an application must set the number of IO mappings that are available +to the remote peer. This may be done using the rsetsockopt +RDMA_IOMAPSIZE option. By default, an rsocket does not support +remote IO mappings. riounmap .TP int riounmap(int socket, void *buf, size_t len)