]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 22 Oct 2012 05:00:00 +0000 (22:00 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 22 Oct 2012 05:00:00 +0000 (22:00 -0700)]
refresh (create temporary patch)

11 years agoRefresh of rs-ddp
Sean Hefty [Mon, 22 Oct 2012 05:00:00 +0000 (22:00 -0700)]
Refresh of rs-ddp

11 years agonew
Sean Hefty [Sun, 21 Oct 2012 21:16:03 +0000 (14:16 -0700)]
new

11 years agonew
Sean Hefty [Sun, 21 Oct 2012 21:16:03 +0000 (14:16 -0700)]
new

11 years agorsocket: Add direct data placement
Sean Hefty [Sun, 21 Oct 2012 21:16:03 +0000 (14:16 -0700)]
rsocket: Add direct data placement

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Sun, 21 Oct 2012 07:32:45 +0000 (00:32 -0700)]
pop

11 years agopop
Sean Hefty [Sun, 21 Oct 2012 07:32:45 +0000 (00:32 -0700)]
pop

11 years agopop
Sean Hefty [Sun, 21 Oct 2012 07:32:38 +0000 (00:32 -0700)]
pop

11 years agopop
Sean Hefty [Sun, 21 Oct 2012 07:32:38 +0000 (00:32 -0700)]
pop

11 years agorefresh
Sean Hefty [Sun, 21 Oct 2012 07:32:30 +0000 (00:32 -0700)]
refresh

11 years agorefresh
Sean Hefty [Sun, 21 Oct 2012 07:32:30 +0000 (00:32 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Sun, 21 Oct 2012 07:32:29 +0000 (00:32 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Sun, 21 Oct 2012 07:32:29 +0000 (00:32 -0700)]
refresh (create temporary patch)

11 years agoRefresh of rs-target-sgl
Sean Hefty [Sun, 21 Oct 2012 07:32:29 +0000 (00:32 -0700)]
Refresh of rs-target-sgl

11 years agorsocket: Expand definition of target SGE
Sean Hefty [Sun, 21 Oct 2012 06:43:13 +0000 (23:43 -0700)]
rsocket: Expand definition of target SGE

During connection establishment, rsocket exchanges a
target SGE.  The target SGE contains the address, rkey,
and length of the target SGL.  The target SGL is the
location where rsocket publishes data buffers at the
remote peer.

The length contained in the target SGE is the number of
entries in the target SGL, which is currently set to 2.
Divide the length field into 3 separate values.

bits 31:16 - reserved
bits 15:8  - use for direct data placement algorithm
bits 7:0   - use for target SGL size

Bits 15 and 7 are used as scaling factors.  If set, then
the size specified in the corresponding lower bits is
multiplied by 128.

Backwards compatibility is maintained, since we never use
a value greater than 2 anyway.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agonew
Sean Hefty [Sun, 21 Oct 2012 06:43:13 +0000 (23:43 -0700)]
new

11 years agonew
Sean Hefty [Sun, 21 Oct 2012 06:43:13 +0000 (23:43 -0700)]
new

11 years agorsocket: Expand definition of target SGE
Sean Hefty [Sun, 21 Oct 2012 06:43:13 +0000 (23:43 -0700)]
rsocket: Expand definition of target SGE

During connection establishment, rsocket exchanges a
target SGE.  The target SGE contains the address, rkey,
and length of the target SGL.  The target SGL is the
location where rsocket publishes data buffers at the
remote peer.

The length contained in the target SGE is the number of
entries in the target SGL, which is currently set to 2.
Divide the length field into 3 separate values.

bits 31:16 - reserved
bits 15:8  - use for direct data placement algorithm
bits 7:0   - use for target SGL size

Bits 15 and 7 are used as scaling factors.  If set, then
the size specified in the corresponding lower bits is
multiplied by 128.

Backwards compatibility is maintained, since we never use
a value greater than 2 anyway.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorefresh
Sean Hefty [Sat, 20 Oct 2012 16:35:46 +0000 (09:35 -0700)]
refresh

11 years agorefresh
Sean Hefty [Sat, 20 Oct 2012 16:35:46 +0000 (09:35 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Sat, 20 Oct 2012 16:33:04 +0000 (09:33 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Sat, 20 Oct 2012 16:33:03 +0000 (09:33 -0700)]
refresh (create temporary patch)

11 years agoRefresh of resv-rs-len
Sean Hefty [Sat, 20 Oct 2012 16:33:03 +0000 (09:33 -0700)]
Refresh of resv-rs-len

11 years agorefresh
Sean Hefty [Sat, 20 Oct 2012 16:32:21 +0000 (09:32 -0700)]
refresh

11 years agorefresh
Sean Hefty [Sat, 20 Oct 2012 16:32:21 +0000 (09:32 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Sat, 20 Oct 2012 16:32:21 +0000 (09:32 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Sat, 20 Oct 2012 16:32:21 +0000 (09:32 -0700)]
refresh (create temporary patch)

11 years agoRefresh of resv-rs-len
Sean Hefty [Sat, 20 Oct 2012 16:32:21 +0000 (09:32 -0700)]
Refresh of resv-rs-len

11 years agorefresh
Sean Hefty [Sat, 20 Oct 2012 16:27:04 +0000 (09:27 -0700)]
refresh

11 years agorefresh
Sean Hefty [Sat, 20 Oct 2012 16:27:04 +0000 (09:27 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Sat, 20 Oct 2012 16:27:03 +0000 (09:27 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Sat, 20 Oct 2012 16:27:03 +0000 (09:27 -0700)]
refresh (create temporary patch)

11 years agoRefresh of resv-rs-len
Sean Hefty [Sat, 20 Oct 2012 16:27:03 +0000 (09:27 -0700)]
Refresh of resv-rs-len

11 years agorsocket: Reserve bits in rsocket message
Sean Hefty [Sat, 20 Oct 2012 16:19:22 +0000 (09:19 -0700)]
rsocket: Reserve bits in rsocket message

rsockets includes the length of a data transfer in the
immediate data.  Currently 29 bits are reserved for the
length, but the maximum transfer is capped at 64K.
For future expansion, limit the length field
to 17 bits and reserve the other 12.

The interpretation of the 17 bits is modified as follows.
The lower 16 bits indicate a length, with the upper bit
indicating a scaling factor.  If the upper bit is
0, the scaling factor is 1.  The lower 16 bits indicate the
transfer size in bytes.  If the upper bit is 1, then a
scaling factor of 64K is applied.  The total transfer size is
calculated as (value carried in bits 0-15 + 1) * 64 KB.

This is backwards compatible with the current implementation.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorsocket: Reserve bits in data transfer message
Sean Hefty [Sat, 20 Oct 2012 16:19:22 +0000 (09:19 -0700)]
rsocket: Reserve bits in data transfer message

rsockets includes the length of a data transfer in the
immediate data.  Currently 29 bits are reserved for the
length, but the maximum transfer is currently capped
at 64K.  For future expansion, limit the length field
to 17 bits and reserve the other 12.

The interpretation of the 17 bits is modified as follows.
The lower 16 bits indicate a length.  If the upper bit is
0, then the lower 16 bits indicate a transfer size in bytes.
If the upper bit is 1, the the total transfer size is
calculated as (size carried in bits 0-15 + 1) * 64 KB.

This is backwards compatible with the current implementation,
allows for transfers up to 4 GB, and provides us some
additional bits for future use.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorsocket: Reserve bits in data transfer message
Sean Hefty [Sat, 20 Oct 2012 16:19:22 +0000 (09:19 -0700)]
rsocket: Reserve bits in data transfer message

rsockets includes the length of a data transfer in the
immediate data.  Currently 29 bits are reserved for the
length, but the maximum transfer is currently capped
at 64K.  For future expansion, limit the length field
to 17 bits and reserve the other 12.

The interpretation of the 17 bits is modified as follows.
The lower 16 bits indicate a length.  If the upper bit is
0, then the lower 16 bits indicate a transfer size in bytes.
If the upper bit is 1, the the total transfer size is
calculated as (size carried in bits 0-15 + 1) * 64 KB.

This is backwards compatible with the current implementation,
allows for transfers up to 4 GB, and provides us some
additional bits for future use.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agonew
Sean Hefty [Sat, 20 Oct 2012 16:19:22 +0000 (09:19 -0700)]
new

11 years agonew
Sean Hefty [Sat, 20 Oct 2012 16:19:22 +0000 (09:19 -0700)]
new

11 years agorsocket: Reserve bits in data transfer message
Sean Hefty [Sat, 20 Oct 2012 16:19:22 +0000 (09:19 -0700)]
rsocket: Reserve bits in data transfer message

rsockets includes the length of a data transfer in the
immediate data.  Currently 29 bits are reserved for the
length, but the maximum transfer is currently capped
at 64K.  For future expansion, limit the length field
to 17 bits and reserve the other 12.

The interpretation of the 17 bits is modified as follows.
The lower 16 bits indicate a length.  If the upper bit is
0, then the lower 16 bits indicate a transfer size in bytes.
If the upper bit is 1, the the total transfer size is
calculated as (size carried in bits 0-15 + 1) * 64 KB.

This is backwards compatible with the current implementation,
allows for transfers up to 4 GB, and provides us some
additional bits for future use.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agocommit
Sean Hefty [Wed, 17 Oct 2012 00:29:00 +0000 (17:29 -0700)]
commit

11 years agocommit
Sean Hefty [Wed, 17 Oct 2012 00:29:00 +0000 (17:29 -0700)]
commit

11 years agorefresh
Sean Hefty [Wed, 17 Oct 2012 00:28:56 +0000 (17:28 -0700)]
refresh

11 years agorefresh
Sean Hefty [Wed, 17 Oct 2012 00:28:56 +0000 (17:28 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 17 Oct 2012 00:28:45 +0000 (17:28 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 17 Oct 2012 00:28:45 +0000 (17:28 -0700)]
refresh (create temporary patch)

11 years agoRefresh of rdma_xserver-client-fix-man-pa
Sean Hefty [Wed, 17 Oct 2012 00:28:45 +0000 (17:28 -0700)]
Refresh of rdma_xserver-client-fix-man-pa

11 years agoimport
Sean Hefty [Wed, 17 Oct 2012 00:28:34 +0000 (17:28 -0700)]
import

11 years agoimport
Sean Hefty [Wed, 17 Oct 2012 00:28:34 +0000 (17:28 -0700)]
import

11 years agordma_xserver/client: Fix man page formatting
Roland Dreier [Tue, 16 Oct 2012 19:44:39 +0000 (19:44 +0000)]
rdma_xserver/client: Fix man page formatting

Putting 'r' at the beginning of a line in the nroff source for man pages
is confusing to nroff because lines that start with a single quote
character ' or a dot character . are treated as control lines, which is
not what's intended here.  Some of the man page text ends up left out of
the formatted output.

Fix this by just wrapping the text slightly differently in the source
(which doesn't matter since nroff reflows the text anyway).  Also add a
missing ".TP" so that the -p and -c options are not run together in the
formatted output.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agordma_xserver/client: Fix man page formatting
Roland Dreier [Tue, 16 Oct 2012 19:44:39 +0000 (19:44 +0000)]
rdma_xserver/client: Fix man page formatting

Putting 'r' at the beginning of a line in the nroff source for man pages
is confusing to nroff because lines that start with a single quote
character ' or a dot character . are treated as control lines, which is
not what's intended here.  Some of the man page text ends up left out of
the formatted output.

Fix this by just wrapping the text slightly differently in the source
(which doesn't matter since nroff reflows the text anyway).  Also add a
missing ".TP" so that the -p and -c options are not run together in the
formatted output.

Signed-off-by: Roland Dreier <roland@purestorage.com>
11 years agorename
Sean Hefty [Tue, 9 Oct 2012 22:05:36 +0000 (15:05 -0700)]
rename

11 years agorename
Sean Hefty [Tue, 9 Oct 2012 22:05:36 +0000 (15:05 -0700)]
rename

11 years agocommit
Sean Hefty [Tue, 9 Oct 2012 18:28:02 +0000 (11:28 -0700)]
commit

11 years agocommit
Sean Hefty [Tue, 9 Oct 2012 18:28:02 +0000 (11:28 -0700)]
commit

11 years agopop
Sean Hefty [Tue, 9 Oct 2012 18:22:12 +0000 (11:22 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 9 Oct 2012 18:22:12 +0000 (11:22 -0700)]
pop

11 years agolibrdmacm: Disable ACM support if ibacm.port is not found
Sean Hefty [Mon, 8 Oct 2012 17:33:21 +0000 (10:33 -0700)]
librdmacm: Disable ACM support if ibacm.port is not found

The librdmacm will try to connect port 6125 if ibacm.port is
not found.  The problem is that some other service or application
could be using that port and respond with garbage.  Rather
than falling back to a hard coded port number, if ibacm.port
is not found, simply disable ACM support.

This has the effect of removing support for older versions
of ibacm, unless the port file is created manually.

Patch created based on feedback from Doug Ledford and Florian
Weimer from RedHat.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 18:22:09 +0000 (11:22 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 18:22:09 +0000 (11:22 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 18:21:58 +0000 (11:21 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 18:21:58 +0000 (11:21 -0700)]
refresh (create temporary patch)

11 years agoRefresh of 5-5-librdmacm-rping-added-chec
Sean Hefty [Tue, 9 Oct 2012 18:21:58 +0000 (11:21 -0700)]
Refresh of 5-5-librdmacm-rping-added-chec

11 years ago[5/5,librdmacm] rping: added checks to the return values functions
Dotan Barak [Tue, 9 Oct 2012 12:27:52 +0000 (12:27 +0000)]
[5/5,librdmacm] rping: added checks to the return values functions

This will make rping to exit with return value other than zero in case of an
error.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Tue, 9 Oct 2012 17:00:26 +0000 (10:00 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 9 Oct 2012 17:00:26 +0000 (10:00 -0700)]
pop

11 years ago[5/5,librdmacm] rping: added checks to the return values functions
Dotan Barak [Tue, 9 Oct 2012 12:27:52 +0000 (12:27 +0000)]
[5/5,librdmacm] rping: added checks to the return values functions

This will make rping to exit with return value other than zero in case of an
error.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 17:00:22 +0000 (10:00 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 17:00:22 +0000 (10:00 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 17:00:12 +0000 (10:00 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 17:00:12 +0000 (10:00 -0700)]
refresh (create temporary patch)

11 years agoRefresh of 4-5-librdmacm-rstream-added-mi
Sean Hefty [Tue, 9 Oct 2012 17:00:12 +0000 (10:00 -0700)]
Refresh of 4-5-librdmacm-rstream-added-mi

11 years ago[4/5,librdmacm] rstream: added missing return is accept() failed
Dotan Barak [Tue, 9 Oct 2012 12:27:51 +0000 (12:27 +0000)]
[4/5,librdmacm] rstream: added missing return is accept() failed

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Tue, 9 Oct 2012 16:58:54 +0000 (09:58 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 9 Oct 2012 16:58:54 +0000 (09:58 -0700)]
pop

11 years ago[4/5,librdmacm] rstream: added missing return is accept() failed
Dotan Barak [Tue, 9 Oct 2012 12:27:51 +0000 (12:27 +0000)]
[4/5,librdmacm] rstream: added missing return is accept() failed

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 16:58:48 +0000 (09:58 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 16:58:48 +0000 (09:58 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 16:58:37 +0000 (09:58 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 16:58:37 +0000 (09:58 -0700)]
refresh (create temporary patch)

11 years agoRefresh of 3-5-librdmacm-rstream-initiali
Sean Hefty [Tue, 9 Oct 2012 16:58:37 +0000 (09:58 -0700)]
Refresh of 3-5-librdmacm-rstream-initiali

11 years ago[3/5,librdmacm] rstream: initialize return value in server_connect()
Dotan Barak [Tue, 9 Oct 2012 12:27:50 +0000 (12:27 +0000)]
[3/5,librdmacm] rstream: initialize return value in server_connect()

If use_async == 0 and rs_accept() passes (i.e. non negative value), then
the return value from the function was uninitialized.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Tue, 9 Oct 2012 16:57:09 +0000 (09:57 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 9 Oct 2012 16:57:09 +0000 (09:57 -0700)]
pop

11 years ago[3/5,librdmacm] rstream: initialize return value in server_connect()
Dotan Barak [Tue, 9 Oct 2012 12:27:50 +0000 (12:27 +0000)]
[3/5,librdmacm] rstream: initialize return value in server_connect()

If use_async == 0 and rs_accept() passes (i.e. non negative value), then
the return value from the function was uninitialized.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 16:57:07 +0000 (09:57 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 16:57:07 +0000 (09:57 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 16:56:57 +0000 (09:56 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 16:56:57 +0000 (09:56 -0700)]
refresh (create temporary patch)

11 years agoRefresh of 2-5-librdmacm-rsocket-added-mi
Sean Hefty [Tue, 9 Oct 2012 16:56:57 +0000 (09:56 -0700)]
Refresh of 2-5-librdmacm-rsocket-added-mi

11 years agopop
Sean Hefty [Tue, 9 Oct 2012 16:56:11 +0000 (09:56 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 9 Oct 2012 16:56:11 +0000 (09:56 -0700)]
pop

11 years ago[2/5,librdmacm] rsocket: added missing break
Dotan Barak [Tue, 9 Oct 2012 12:27:49 +0000 (12:27 +0000)]
[2/5,librdmacm] rsocket: added missing break

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years ago[2/5,librdmacm] rsocket: added missing break
Dotan Barak [Tue, 9 Oct 2012 12:27:49 +0000 (12:27 +0000)]
[2/5,librdmacm] rsocket: added missing break

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 16:56:05 +0000 (09:56 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 16:56:05 +0000 (09:56 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 16:55:53 +0000 (09:55 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 9 Oct 2012 16:55:53 +0000 (09:55 -0700)]
refresh (create temporary patch)

11 years agoRefresh of 1-5-librdmacm-rsocket-add-miss
Sean Hefty [Tue, 9 Oct 2012 16:55:53 +0000 (09:55 -0700)]
Refresh of 1-5-librdmacm-rsocket-add-miss

11 years agorefresh
Sean Hefty [Tue, 9 Oct 2012 16:55:38 +0000 (09:55 -0700)]
refresh