]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 17:46:37 +0000 (10:46 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 17:46:37 +0000 (10:46 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rstream-opt
Sean Hefty [Mon, 28 May 2012 17:46:37 +0000 (10:46 -0700)]
Refresh of rstream-opt

12 years agorefresh
Sean Hefty [Mon, 28 May 2012 09:17:35 +0000 (02:17 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 28 May 2012 09:17:35 +0000 (02:17 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 09:17:35 +0000 (02:17 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 09:17:35 +0000 (02:17 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rstream-opt
Sean Hefty [Mon, 28 May 2012 09:17:35 +0000 (02:17 -0700)]
Refresh of rstream-opt

12 years agorefresh
Sean Hefty [Mon, 28 May 2012 09:06:56 +0000 (02:06 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 28 May 2012 09:06:56 +0000 (02:06 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 09:06:56 +0000 (02:06 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 09:06:56 +0000 (02:06 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rstream-opt
Sean Hefty [Mon, 28 May 2012 09:06:56 +0000 (02:06 -0700)]
Refresh of rstream-opt

12 years agopop
Sean Hefty [Mon, 28 May 2012 09:06:06 +0000 (02:06 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 09:06:06 +0000 (02:06 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 09:04:16 +0000 (02:04 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 09:04:16 +0000 (02:04 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 09:03:13 +0000 (02:03 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 09:03:13 +0000 (02:03 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 09:02:00 +0000 (02:02 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 09:02:00 +0000 (02:02 -0700)]
pop

12 years agorefresh
Sean Hefty [Mon, 28 May 2012 09:01:58 +0000 (02:01 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 28 May 2012 09:01:58 +0000 (02:01 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 09:01:58 +0000 (02:01 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 09:01:58 +0000 (02:01 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rstream-opt
Sean Hefty [Mon, 28 May 2012 09:01:58 +0000 (02:01 -0700)]
Refresh of rstream-opt

12 years agorefresh
Sean Hefty [Mon, 28 May 2012 08:47:55 +0000 (01:47 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 28 May 2012 08:47:55 +0000 (01:47 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 08:47:55 +0000 (01:47 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 08:47:55 +0000 (01:47 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rstream-opt
Sean Hefty [Mon, 28 May 2012 08:47:54 +0000 (01:47 -0700)]
Refresh of rstream-opt

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:44:11 +0000 (01:44 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:44:11 +0000 (01:44 -0700)]
pop

12 years agorstream: Use separate connections for latency/bw tests
Sean Hefty [Sun, 27 May 2012 21:07:42 +0000 (14:07 -0700)]
rstream: Use separate connections for latency/bw tests

Optimize each connection for either latency or bandwidth
results.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorstream: Use separate connections for latency/bw tests
Sean Hefty [Sun, 27 May 2012 21:07:42 +0000 (14:07 -0700)]
rstream: Use separate connections for latency/bw tests

Optimize each connection for either latency or bandwidth
results.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorstream: Use separate connections for latency/bw tests
Sean Hefty [Sun, 27 May 2012 21:07:42 +0000 (14:07 -0700)]
rstream: Use separate connections for latency/bw tests

Optimize each connection for either latency or bandwidth
results.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorstream: Use separate connections for latency/bw tests
Sean Hefty [Sun, 27 May 2012 21:07:42 +0000 (14:07 -0700)]
rstream: Use separate connections for latency/bw tests

Optimize each connection for either latency or bandwidth
results.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorstream: Use separate connections for latency/bw tests
Sean Hefty [Sun, 27 May 2012 21:07:42 +0000 (14:07 -0700)]
rstream: Use separate connections for latency/bw tests

Optimize each connection for either latency or bandwidth
results.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:41:34 +0000 (01:41 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:41:34 +0000 (01:41 -0700)]
pop

12 years agorstream: Add option to specify size of send/recv buffers
Sean Hefty [Wed, 23 May 2012 18:32:46 +0000 (11:32 -0700)]
rstream: Add option to specify size of send/recv buffers

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorefresh
Sean Hefty [Mon, 28 May 2012 08:38:44 +0000 (01:38 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 28 May 2012 08:38:44 +0000 (01:38 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 08:38:07 +0000 (01:38 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 28 May 2012 08:38:07 +0000 (01:38 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-def-qpsize
Sean Hefty [Mon, 28 May 2012 08:38:07 +0000 (01:38 -0700)]
Refresh of rs-def-qpsize

12 years agorsockets: Change the default QP size from 512 to 384
Sean Hefty [Thu, 24 May 2012 21:31:12 +0000 (14:31 -0700)]
rsockets: Change the default QP size from 512 to 384

Simple latency/bandwidth tests using rstream showed minimal
difference in performance between using a QP sized to 384
entries versus 512.  Reduce the overhead of a default rsocket
by using 384 entries.  A user can request a larger size by
calling rsetsockopt.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:35:11 +0000 (01:35 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:35:11 +0000 (01:35 -0700)]
pop

12 years agorsockets: Change the default QP size from 512 to 384
Sean Hefty [Thu, 24 May 2012 21:31:12 +0000 (14:31 -0700)]
rsockets: Change the default QP size from 512 to 384

Simple bandwidth tests using rstream showed no difference in
performance between using a QP sized to 384 entries versus 512.
Reduce the overhead of a default rsocket by using 384 entries.
A user can request a larger size by calling rsetsockopt.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsockets: Simplify state checks
Sean Hefty [Sat, 26 May 2012 00:28:44 +0000 (17:28 -0700)]
rsockets: Simplify state checks

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:32:51 +0000 (01:32 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:32:51 +0000 (01:32 -0700)]
pop

12 years agorsocket preload: Use environment variable to set QP size
Sean Hefty [Tue, 22 May 2012 01:46:36 +0000 (18:46 -0700)]
rsocket preload: Use environment variable to set QP size

Allow the user to specify the size of the send/receive queues
and inline data size through environment variables:
RS_SQ_SIZE, RS_RQ_SIZE, and RS_INLINE.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:41 +0000 (01:30 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:41 +0000 (01:30 -0700)]
pop

12 years agorsocket: Add option to specify size of inline data
Sean Hefty [Tue, 22 May 2012 18:39:21 +0000 (11:39 -0700)]
rsocket: Add option to specify size of inline data

Allow the user to override the default inline data size.
We still require a minimum size in order to transfer receive
buffer update message.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:38 +0000 (01:30 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:38 +0000 (01:30 -0700)]
pop

12 years agorsockets: Allow user to specify the QP sizes
Sean Hefty [Fri, 18 May 2012 23:56:15 +0000 (16:56 -0700)]
rsockets: Allow user to specify the QP sizes

Add setsockopt options that allow the user to specify the desired
size of the underlying QP.  The provided sizes are used as the
maximum size when creating the QP.  The actual sizes of the QP
are the smaller of the user provided maximum and the maximum
sizes supported by the underlying hardware.

A user may retrieve the actual sizes of the QP through the
getsockopt call.

The send and receive queue sizes are specified separately.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:12 +0000 (01:30 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:12 +0000 (01:30 -0700)]
pop

12 years agorsockets: Define options specific to rsockets
Sean Hefty [Fri, 18 May 2012 23:36:07 +0000 (16:36 -0700)]
rsockets: Define options specific to rsockets

Allow a user to control some of the RDMA related attributes
of an rsocket through setsockopt/getsockopt.  A user specifies
that the rsocket should be modified through SOL_RDMA level.

This patch provides the initial framework.  Subsequent patches
will add the configurable parameters.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:11 +0000 (01:30 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:11 +0000 (01:30 -0700)]
pop

12 years agorsockets: Reduce QP size if larger than hardware maximums
Sean Hefty [Sat, 19 May 2012 00:07:11 +0000 (17:07 -0700)]
rsockets: Reduce QP size if larger than hardware maximums

When porting rsockets to iwarp, it was discovered that the default
QP size (512) was larger than that supported by the hardware.
Decrease the size of the QP if the default size is larger than
the maximum supported by the hardware.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:10 +0000 (01:30 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:30:10 +0000 (01:30 -0700)]
pop

12 years agors-preload: Handle recursive socket() calls
Sean Hefty [Fri, 25 May 2012 19:42:12 +0000 (12:42 -0700)]
rs-preload: Handle recursive socket() calls

When ACM support is enabled in the librdmacm, it will attempt to
establish a socket connection to the ACM daemon.  When the rsocket
preload library is in use, this can result in a recursive call
to socket() that results in the library hanging.  The resulting
call stack is:

socket() -> rsocket() -> rdma_create_id() -> ucma_init() ->
socket() -> rsocket() -> rdma_create_id() -> ucma_init()

The second call to ucma_init() hangs because initialization is
still pending.

Fix this by checking for recursive calls to socket() in the preload
library.  When detected, call the real socket() call instead of
directing the call back into rsockets().  Since rsockets is a part
of the librdmacm, it can call rsockets directly if it wants to use
rsockets instead of standard sockets.

This problem and the cause was reported by Chet Murthy <chet@watson.ibm.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:58 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:58 +0000 (01:29 -0700)]
pop

12 years agolibrdmacm: Delay ACM connection until resolving an address
Sean Hefty [Fri, 25 May 2012 17:48:47 +0000 (10:48 -0700)]
librdmacm: Delay ACM connection until resolving an address

Avoid creating a connection to the ACM service when
it's not needed.  For example, if the user of the librdmacm
is a server application, it will not use ACM services.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:49 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:49 +0000 (01:29 -0700)]
pop

12 years agoacm: Use -1 to indicate an invalid socket rather than 0
Sean Hefty [Fri, 25 May 2012 19:23:10 +0000 (12:23 -0700)]
acm: Use -1 to indicate an invalid socket rather than 0

socket() can return 0 as a valid socket.  This can happen
when using a daemon that closes stdin/out/err.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:46 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:46 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:42 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:42 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:30 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:30 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:28 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:28 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:27 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:27 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:25 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:29:25 +0000 (01:29 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:28:52 +0000 (01:28 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:28:52 +0000 (01:28 -0700)]
pop

12 years agorsocket preload: Use environment variable to set QP size
Sean Hefty [Tue, 22 May 2012 01:46:36 +0000 (18:46 -0700)]
rsocket preload: Use environment variable to set QP size

Allow the user to specify the size of the send/receive queues
and inline data size through environment variables:
RS_SQ_SIZE, RS_RQ_SIZE, and RS_INLINE.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:28:45 +0000 (01:28 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:28:45 +0000 (01:28 -0700)]
pop

12 years agorsocket: Add option to specify size of inline data
Sean Hefty [Tue, 22 May 2012 18:39:21 +0000 (11:39 -0700)]
rsocket: Add option to specify size of inline data

Allow the user to override the default inline data size.
We still require a minimum size in order to transfer receive
buffer update message.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:28:42 +0000 (01:28 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:28:42 +0000 (01:28 -0700)]
pop

12 years agorsockets: Allow user to specify the QP sizes
Sean Hefty [Fri, 18 May 2012 23:56:15 +0000 (16:56 -0700)]
rsockets: Allow user to specify the QP sizes

Add setsockopt options that allow the user to specify the desired
size of the underlying QP.  The provided sizes are used as the
maximum size when creating the QP.  The actual sizes of the QP
are the smaller of the user provided maximum and the maximum
sizes supported by the underlying hardware.

A user may retrieve the actual sizes of the QP through the
getsockopt call.

The send and receive queue sizes are specified separately.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:27:08 +0000 (01:27 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 28 May 2012 08:27:08 +0000 (01:27 -0700)]
pop

12 years agorsockets: Define options specific to rsockets
Sean Hefty [Fri, 18 May 2012 23:36:07 +0000 (16:36 -0700)]
rsockets: Define options specific to rsockets

Allow a user to control some of the RDMA related attributes
of an rsocket through setsockopt/getsockopt.  A user specifies
that the rsocket should be modified through SOL_RDMA level.

This patch provides the initial framework.  Subsequent patches
will add the configurable parameters.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Mon, 28 May 2012 08:27:00 +0000 (01:27 -0700)]
pop