]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
10 years agocommit
Sean Hefty [Wed, 30 Apr 2014 03:12:30 +0000 (20:12 -0700)]
commit

10 years agocommit
Sean Hefty [Wed, 30 Apr 2014 03:12:30 +0000 (20:12 -0700)]
commit

10 years agopop
Sean Hefty [Wed, 30 Apr 2014 03:12:23 +0000 (20:12 -0700)]
pop

10 years agopop
Sean Hefty [Wed, 30 Apr 2014 03:12:23 +0000 (20:12 -0700)]
pop

10 years agolibrdmacm: Fix verbs leak due to reentrancy issue
shamir rabinovitch [Wed, 30 Apr 2014 02:57:36 +0000 (19:57 -0700)]
librdmacm: Fix verbs leak due to reentrancy issue

Any call to ucma_init_device must be done under lock.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agorsocket: Relax requirement for minimal inline data
Sean Hefty [Thu, 17 Apr 2014 05:01:51 +0000 (22:01 -0700)]
rsocket: Relax requirement for minimal inline data

Inline data support is optional.  Allow rsockets to work
with devices that do not support inline data, provided
that they do support RDMA writes with immediate data.
This allows rsockets to work over Intel TrueScale HCA.

Patch derived from work by: Amir Hanania

Signed-off-by: Amir Hanania <amir.hanania@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agorsocket: Modify when control messages are available
Sean Hefty [Thu, 17 Apr 2014 05:33:38 +0000 (22:33 -0700)]
rsocket: Modify when control messages are available

Rsockets currently tracks how many control messages (i.e.
entries in the send queue) that are available using a
single ctrl_avail counter.  Seems simple enough.

However, control messages currently require the use of
inline data.  In order to support control messages that
do not use inline data, we need to associate each
control message with a specific data buffer.  This will
become easier to manage if we modify how we track when
control messages are available.

We replace the single ctrl_avail counter with two new
counters.  The new counters conceptually treat control
messages as if each message had its own sequence number.
The sequence number will then be able to correspond to
a specific data buffer in a follow up patch.

ctrl_seqno will be used to indicate the current control
message being sent.  ctrl_max_seqno will track the
highest control message that may be sent.

A side effect of this change is that we will be able to
see how many control messages have been sent.  This also
separates the updating of the control count on the
sending  side, versus the receiving side.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agorsocket: Dedicate a fixed number of SQEs for control messages
Sean Hefty [Thu, 17 Apr 2014 15:37:47 +0000 (08:37 -0700)]
rsocket: Dedicate a fixed number of SQEs for control messages

The number of SQEs allocated for control messages is set
to 1 of 2 constant values (either 4 or 2).  A default
value is used unless the size of the SQ is below a certain
threshold (16 entries).  This results in additional code
complexity, and it is highly unlikely that the SQ would
ever be allocated smaller than 16 entries.

Simplify the code to use a single constant value for the
number of SQEs allocated for control messages.  This will
also help in subsequent patches that will need to deal
with HCAs that do not support inline data.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agorsocket: Check max inline data after creating QP
Sean Hefty [Thu, 17 Apr 2014 04:42:06 +0000 (21:42 -0700)]
rsocket: Check max inline data after creating QP

The ipath provider will ignore the max_inline_size
specified as input into ibv_create_qp and instead
return the size that it supports (which is 0) on
output.

Update the actual inline size returned from create QP,
and check that it meets the minimum requirement for
rsockets.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agorefresh
Sean Hefty [Wed, 30 Apr 2014 03:12:12 +0000 (20:12 -0700)]
refresh

10 years agorefresh
Sean Hefty [Wed, 30 Apr 2014 03:12:12 +0000 (20:12 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 30 Apr 2014 03:12:11 +0000 (20:12 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 30 Apr 2014 03:12:11 +0000 (20:12 -0700)]
refresh (create temporary patch)

10 years agoRefresh of init-static
Sean Hefty [Wed, 30 Apr 2014 03:12:11 +0000 (20:12 -0700)]
Refresh of init-static

10 years agolibrdmacm: Make ucma_init_all static
Sean Hefty [Wed, 30 Apr 2014 03:11:35 +0000 (20:11 -0700)]
librdmacm: Make ucma_init_all static

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agonew
Sean Hefty [Wed, 30 Apr 2014 03:11:35 +0000 (20:11 -0700)]
new

10 years agonew
Sean Hefty [Wed, 30 Apr 2014 03:11:35 +0000 (20:11 -0700)]
new

10 years agolibrdmacm: Make ucma_init_all static
Sean Hefty [Wed, 30 Apr 2014 03:11:35 +0000 (20:11 -0700)]
librdmacm: Make ucma_init_all static

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agoexternal modifications
Sean Hefty [Wed, 30 Apr 2014 03:11:35 +0000 (20:11 -0700)]
external modifications

Modifications by tools other than StGit (e.g. git).

10 years agoexternal modifications
Sean Hefty [Wed, 30 Apr 2014 03:11:35 +0000 (20:11 -0700)]
external modifications

Modifications by tools other than StGit (e.g. git).

10 years agopop
Sean Hefty [Wed, 30 Apr 2014 03:08:04 +0000 (20:08 -0700)]
pop

10 years agopop
Sean Hefty [Wed, 30 Apr 2014 03:08:04 +0000 (20:08 -0700)]
pop

10 years agouncommit
Sean Hefty [Wed, 30 Apr 2014 03:07:59 +0000 (20:07 -0700)]
uncommit

10 years agouncommit
Sean Hefty [Wed, 30 Apr 2014 03:07:59 +0000 (20:07 -0700)]
uncommit

10 years agocommit
Sean Hefty [Wed, 30 Apr 2014 03:02:24 +0000 (20:02 -0700)]
commit

10 years agocommit
Sean Hefty [Wed, 30 Apr 2014 03:02:24 +0000 (20:02 -0700)]
commit

10 years agorefresh
Sean Hefty [Wed, 30 Apr 2014 02:59:10 +0000 (19:59 -0700)]
refresh

10 years agorefresh
Sean Hefty [Wed, 30 Apr 2014 02:59:10 +0000 (19:59 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 30 Apr 2014 02:59:10 +0000 (19:59 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 30 Apr 2014 02:59:10 +0000 (19:59 -0700)]
refresh (create temporary patch)

10 years agoRefresh of fix-lock
Sean Hefty [Wed, 30 Apr 2014 02:59:10 +0000 (19:59 -0700)]
Refresh of fix-lock

10 years agorefresh
Sean Hefty [Wed, 30 Apr 2014 02:58:00 +0000 (19:58 -0700)]
refresh

10 years agorefresh
Sean Hefty [Wed, 30 Apr 2014 02:58:00 +0000 (19:58 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 30 Apr 2014 02:58:00 +0000 (19:58 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 30 Apr 2014 02:58:00 +0000 (19:58 -0700)]
refresh (create temporary patch)

10 years agoRefresh of fix-lock
Sean Hefty [Wed, 30 Apr 2014 02:58:00 +0000 (19:58 -0700)]
Refresh of fix-lock

10 years agorefresh
Sean Hefty [Wed, 30 Apr 2014 02:57:41 +0000 (19:57 -0700)]
refresh

10 years agorefresh
Sean Hefty [Wed, 30 Apr 2014 02:57:41 +0000 (19:57 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 30 Apr 2014 02:57:41 +0000 (19:57 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 30 Apr 2014 02:57:40 +0000 (19:57 -0700)]
refresh (create temporary patch)

10 years agoRefresh of fix-lock
Sean Hefty [Wed, 30 Apr 2014 02:57:40 +0000 (19:57 -0700)]
Refresh of fix-lock

10 years agolibrdmacm: Fix verbs leak due to reentrancy issue
shamir rabinovitch [Wed, 30 Apr 2014 02:57:36 +0000 (19:57 -0700)]
librdmacm: Fix verbs leak due to reentrancy issue

Any call to ucma_init_device must be done under lock.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agolibrdmacm: Fix verbs leak due to reentrancy issue
shamir rabinovitch [Wed, 30 Apr 2014 02:57:36 +0000 (19:57 -0700)]
librdmacm: Fix verbs leak due to reentrancy issue

Any call to ucma_init_device must be done under lock.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agolibrdmacm: Fix verbs leak due to reentrancy issue
Sean Hefty [Wed, 30 Apr 2014 02:57:36 +0000 (19:57 -0700)]
librdmacm: Fix verbs leak due to reentrancy issue

Any call to ucma_init_device must be done under lock.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agonew
Sean Hefty [Wed, 30 Apr 2014 02:57:36 +0000 (19:57 -0700)]
new

10 years agonew
Sean Hefty [Wed, 30 Apr 2014 02:57:36 +0000 (19:57 -0700)]
new

10 years agolibrdmacm: Fix verbs leak due to reentrancy issue
Sean Hefty [Wed, 30 Apr 2014 02:57:36 +0000 (19:57 -0700)]
librdmacm: Fix verbs leak due to reentrancy issue

Any call to ucma_init_device must be done under lock.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
10 years agocommit
Sean Hefty [Wed, 30 Apr 2014 02:56:10 +0000 (19:56 -0700)]
commit

10 years agocommit
Sean Hefty [Wed, 30 Apr 2014 02:56:10 +0000 (19:56 -0700)]
commit

10 years agorsocket: Relax requirement for minimal inline data
Sean Hefty [Thu, 17 Apr 2014 05:01:51 +0000 (22:01 -0700)]
rsocket: Relax requirement for minimal inline data

Inline data support is optional.  Allow rsockets to work
with devices that do not support inline data, provided
that they do support RDMA writes with immediate data.
This allows rsockets to work over Intel TrueScale HCA.

Patch derived from work by: Amir Hanania

Signed-off-by: Amir Hanania <amir.hanania@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agopop
Sean Hefty [Fri, 18 Apr 2014 21:37:44 +0000 (14:37 -0700)]
pop

10 years agopop
Sean Hefty [Fri, 18 Apr 2014 21:37:44 +0000 (14:37 -0700)]
pop

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 21:05:28 +0000 (14:05 -0700)]
refresh

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 21:05:28 +0000 (14:05 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 21:04:49 +0000 (14:04 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 21:04:49 +0000 (14:04 -0700)]
refresh (create temporary patch)

10 years agoRefresh of rs-ctrl
Sean Hefty [Fri, 18 Apr 2014 21:04:49 +0000 (14:04 -0700)]
Refresh of rs-ctrl

10 years agopop
Sean Hefty [Fri, 18 Apr 2014 21:04:47 +0000 (14:04 -0700)]
pop

10 years agopop
Sean Hefty [Fri, 18 Apr 2014 21:04:47 +0000 (14:04 -0700)]
pop

10 years agopop
Sean Hefty [Fri, 18 Apr 2014 17:49:23 +0000 (10:49 -0700)]
pop

10 years agopop
Sean Hefty [Fri, 18 Apr 2014 17:49:23 +0000 (10:49 -0700)]
pop

10 years agopop
Sean Hefty [Fri, 18 Apr 2014 17:48:09 +0000 (10:48 -0700)]
pop

10 years agopop
Sean Hefty [Fri, 18 Apr 2014 17:48:09 +0000 (10:48 -0700)]
pop

10 years agopop
Sean Hefty [Fri, 18 Apr 2014 17:48:02 +0000 (10:48 -0700)]
pop

10 years agopop
Sean Hefty [Fri, 18 Apr 2014 17:48:02 +0000 (10:48 -0700)]
pop

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 06:30:15 +0000 (23:30 -0700)]
refresh

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 06:30:15 +0000 (23:30 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 06:29:14 +0000 (23:29 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 06:29:14 +0000 (23:29 -0700)]
refresh (create temporary patch)

10 years agoRefresh of inline0
Sean Hefty [Fri, 18 Apr 2014 06:29:14 +0000 (23:29 -0700)]
Refresh of inline0

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 06:27:58 +0000 (23:27 -0700)]
refresh

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 06:27:58 +0000 (23:27 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 06:27:58 +0000 (23:27 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 06:27:58 +0000 (23:27 -0700)]
refresh (create temporary patch)

10 years agoRefresh of inline0
Sean Hefty [Fri, 18 Apr 2014 06:27:58 +0000 (23:27 -0700)]
Refresh of inline0

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 06:19:51 +0000 (23:19 -0700)]
refresh

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 06:19:51 +0000 (23:19 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 06:19:51 +0000 (23:19 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 06:19:51 +0000 (23:19 -0700)]
refresh (create temporary patch)

10 years agoRefresh of inline0
Sean Hefty [Fri, 18 Apr 2014 06:19:51 +0000 (23:19 -0700)]
Refresh of inline0

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 01:43:16 +0000 (18:43 -0700)]
refresh

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 01:43:16 +0000 (18:43 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 01:43:16 +0000 (18:43 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 01:43:16 +0000 (18:43 -0700)]
refresh (create temporary patch)

10 years agoRefresh of inline0
Sean Hefty [Fri, 18 Apr 2014 01:43:16 +0000 (18:43 -0700)]
Refresh of inline0

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 01:41:48 +0000 (18:41 -0700)]
refresh

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 01:41:48 +0000 (18:41 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 01:41:48 +0000 (18:41 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 01:41:48 +0000 (18:41 -0700)]
refresh (create temporary patch)

10 years agoRefresh of inline0
Sean Hefty [Fri, 18 Apr 2014 01:41:48 +0000 (18:41 -0700)]
Refresh of inline0

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 01:15:39 +0000 (18:15 -0700)]
refresh

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 01:15:39 +0000 (18:15 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 01:15:38 +0000 (18:15 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 01:15:38 +0000 (18:15 -0700)]
refresh (create temporary patch)

10 years agoRefresh of inline0
Sean Hefty [Fri, 18 Apr 2014 01:15:38 +0000 (18:15 -0700)]
Refresh of inline0

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 00:31:45 +0000 (17:31 -0700)]
refresh

10 years agorefresh
Sean Hefty [Fri, 18 Apr 2014 00:31:45 +0000 (17:31 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 00:30:57 +0000 (17:30 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Fri, 18 Apr 2014 00:30:57 +0000 (17:30 -0700)]
refresh (create temporary patch)

10 years agoRefresh of inline0
Sean Hefty [Fri, 18 Apr 2014 00:30:57 +0000 (17:30 -0700)]
Refresh of inline0