From 3c19c968a240a2c50809373f9aa90bdf3454f6b1 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Tue, 4 Mar 2014 16:59:20 -0800 Subject: [PATCH] man/rsocket: Enhance riomap documentation Document that the user must set IOMAPSIZE in order to use the riomap call. Signed-off-by: Sean Hefty --- man/rsocket.7 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- 2.41.0