]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
refresh
authorSean Hefty <sean.hefty@intel.com>
Wed, 24 Oct 2012 17:23:14 +0000 (10:23 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 24 Oct 2012 17:23:14 +0000 (10:23 -0700)
meta
patches/refresh-temp [deleted file]
patches/rs-iomap

diff --git a/meta b/meta
index 382d05fc470e5ad61fcf6dfaa79058749ae0a541..32c90d5441d431e9c89ed7c1bd4ffa8d26d01d2b 100644 (file)
--- a/meta
+++ b/meta
@@ -1,9 +1,8 @@
 Version: 1
-Previous: 16b95bceee50a72e913e3bcc833b3d650fcfb656
-Head: 45d68d67b4755f360bdfb6c4de26388098e7b9f5
+Previous: 61f32b53d47abf51b6bde30145e5f8fa3fe1aa5c
+Head: aa5ec58a7c5a4849b45c9e97f319cd6cfcca3d06
 Applied:
-  rs-iomap: 159d59076261973e64e7b1b7769a2d746cc4cb05
-  refresh-temp: 45d68d67b4755f360bdfb6c4de26388098e7b9f5
+  rs-iomap: aa5ec58a7c5a4849b45c9e97f319cd6cfcca3d06
 Unapplied:
   resv-rs-len: 7b6ff5c4894f54b221d877adcd709795dffb2fe9
   rs-target-sgl: 7a07c80f2242e80c076dcf3ec6bb4c94626b284f
diff --git a/patches/refresh-temp b/patches/refresh-temp
deleted file mode 100644 (file)
index 9bc538d..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-Bottom: 9ccd39649c1e77168de53a85b3a90c448d674f74
-Top:    f5779eb35742a3071e97dd98c5f5d30f75687733
-Author: Sean Hefty <sean.hefty@intel.com>
-Date:   2012-10-24 10:23:14 -0700
-
-Refresh of rs-iomap
-
----
-
-diff --git a/man/rsocket.7 b/man/rsocket.7
-index 2ed5ca4..6a9ea95 100644
---- a/man/rsocket.7
-+++ b/man/rsocket.7
-@@ -6,7 +6,7 @@ rsocket \- RDMA socket API
- .SH "DESCRIPTION"
- RDMA socket API and protocol
- .SH "NOTES"
--rsockets is a protocol over RDMA that supports a socket-level API
-+Rsockets is a protocol over RDMA that supports a socket-level API
- for applications.  rsocket APIs are intended to match the behavior
- of corresponding socket calls, except where noted.  rsocket
- functions match the name and function signature of socket calls,
-@@ -30,7 +30,7 @@ rgetpeername, rgetsockname
- .P
- rsetsockopt, rgetsockopt, rfcntl
- .P
--Functions take the same parameters as that use for sockets.  The
-+Functions take the same parameters as that used for sockets.  The
- follow capabilities and flags are supported at this time:
- .P
- PF_INET, PF_INET6, SOCK_STREAM, IPPROTO_TCP, TCP_MAXSEG
-@@ -41,6 +41,40 @@ SO_REUSEADDR, TCP_NODELAY, SO_ERROR, SO_SNDBUF, SO_RCVBUF
- .P
- O_NONBLOCK
- .P
-+Rsockets provides extensions beyond normal socket routines that
-+allow for direct placement of data into an application's buffer.
-+This is also known as zero-copy support, since data is sent and
-+received directly, bypassing copies into network controlled buffers.
-+The following calls and options support direct data placement.
-+.P
-+riomap
-+.TP
-+off_t riomap(int socket, void *buf, size_t len, int prot, int flags, off_t offset)
-+.TP
-+Riomap registers an application buffer with the RDMA hardware
-+associated with an rsocket.  The buffer is registered either for
-+local only access (PROT_NONE) or for remote write access (PROT_WRITE).
-+When registered for remote access, the buffer is mapped to a given
-+offset.  The offset is either provided by the user, or if the user
-+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
-+riounmap
-+.TP
-+int riounmap(int socket, void *buf, size_t len)
-+.TP
-+Riounmap removes the mapping between a buffer and an rsocket.
-+.P
-+riowrite
-+.TP
-+size_t riowrite(int socket, const void *buf, size_t count, off_t offset, int flags)
-+.TP
-+Riowrite allows an application to transfer data over an rsocket
-+directly into a remotely iomapped buffer.  The remote buffer is specified
-+through an offset parameter, which corresponds to a remote iomapped buffer. 
-+.P
- In addition to standard socket options, rsockets supports options
- specific to RDMA devices and protocols.  These options are accessible
- through rsetsockopt using SOL_RDMA option level.
index 54b92aff9e3b292db9c8d664129a592ffb74d503..011b336f9624586f9840bdff494df95844049a9c 100644 (file)
@@ -1,5 +1,5 @@
 Bottom: daf53db464152f40dc8d6f2c99844510b03f8567
-Top:    9ccd39649c1e77168de53a85b3a90c448d674f74
+Top:    f5779eb35742a3071e97dd98c5f5d30f75687733
 Author: Sean Hefty <sean.hefty@intel.com>
 Date:   2012-10-21 14:16:03 -0700
 
@@ -50,6 +50,69 @@ index 65feda9..f220c13 100644
  #ifdef __cplusplus
  }
  #endif
+diff --git a/man/rsocket.7 b/man/rsocket.7
+index 2ed5ca4..6a9ea95 100644
+--- a/man/rsocket.7
++++ b/man/rsocket.7
+@@ -6,7 +6,7 @@ rsocket \- RDMA socket API
+ .SH "DESCRIPTION"
+ RDMA socket API and protocol
+ .SH "NOTES"
+-rsockets is a protocol over RDMA that supports a socket-level API
++Rsockets is a protocol over RDMA that supports a socket-level API
+ for applications.  rsocket APIs are intended to match the behavior
+ of corresponding socket calls, except where noted.  rsocket
+ functions match the name and function signature of socket calls,
+@@ -30,7 +30,7 @@ rgetpeername, rgetsockname
+ .P
+ rsetsockopt, rgetsockopt, rfcntl
+ .P
+-Functions take the same parameters as that use for sockets.  The
++Functions take the same parameters as that used for sockets.  The
+ follow capabilities and flags are supported at this time:
+ .P
+ PF_INET, PF_INET6, SOCK_STREAM, IPPROTO_TCP, TCP_MAXSEG
+@@ -41,6 +41,40 @@ SO_REUSEADDR, TCP_NODELAY, SO_ERROR, SO_SNDBUF, SO_RCVBUF
+ .P
+ O_NONBLOCK
+ .P
++Rsockets provides extensions beyond normal socket routines that
++allow for direct placement of data into an application's buffer.
++This is also known as zero-copy support, since data is sent and
++received directly, bypassing copies into network controlled buffers.
++The following calls and options support direct data placement.
++.P
++riomap
++.TP
++off_t riomap(int socket, void *buf, size_t len, int prot, int flags, off_t offset)
++.TP
++Riomap registers an application buffer with the RDMA hardware
++associated with an rsocket.  The buffer is registered either for
++local only access (PROT_NONE) or for remote write access (PROT_WRITE).
++When registered for remote access, the buffer is mapped to a given
++offset.  The offset is either provided by the user, or if the user
++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
++riounmap
++.TP
++int riounmap(int socket, void *buf, size_t len)
++.TP
++Riounmap removes the mapping between a buffer and an rsocket.
++.P
++riowrite
++.TP
++size_t riowrite(int socket, const void *buf, size_t count, off_t offset, int flags)
++.TP
++Riowrite allows an application to transfer data over an rsocket
++directly into a remotely iomapped buffer.  The remote buffer is specified
++through an offset parameter, which corresponds to a remote iomapped buffer. 
++.P
+ In addition to standard socket options, rsockets supports options
+ specific to RDMA devices and protocols.  These options are accessible
+ through rsetsockopt using SOL_RDMA option level.
 diff --git a/src/indexer.h b/src/indexer.h
 index 26e7f98..0c5f388 100644
 --- a/src/indexer.h