]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
10 years agorefresh
Sean Hefty [Wed, 9 Apr 2014 19:22:42 +0000 (12:22 -0700)]
refresh

10 years agorefresh
Sean Hefty [Wed, 9 Apr 2014 19:22:42 +0000 (12:22 -0700)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 9 Apr 2014 19:19:32 +0000 (12:19 -0700)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 9 Apr 2014 19:19:32 +0000 (12:19 -0700)]
refresh (create temporary patch)

10 years agoRefresh of 0001-lazy-init.patch
Sean Hefty [Wed, 9 Apr 2014 19:19:32 +0000 (12:19 -0700)]
Refresh of 0001-lazy-init.patch

10 years agoimport
Sean Hefty [Wed, 9 Apr 2014 19:19:26 +0000 (12:19 -0700)]
import

10 years agoimport
Sean Hefty [Wed, 9 Apr 2014 19:19:26 +0000 (12:19 -0700)]
import

10 years agolibrdmacm: Support lazy initialization
Sean Hefty [Wed, 9 Apr 2014 19:19:25 +0000 (12:19 -0700)]
librdmacm: Support lazy initialization

librdmacm currently opens a device context per configured HCA. This is
usually done in rdma_create_event_channel() or first time whenever
ucma_init() is called. If a process is only going to use one of the
configured HCAs/RDMA IPs then the remaining device contexts are not
used/required. Opening a device context on each device apriori limits the
maximum number of processes that can be supported on a node to the maximum
number of open context supported per HCA regardless of number of HCAs present
in the system.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agoFrom patchwork Tue Mar 25 06:58:44 2014
Sean Hefty [Wed, 9 Apr 2014 19:19:25 +0000 (12:19 -0700)]
From patchwork Tue Mar 25 06:58:44 2014
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: librdmacm: lazy initialization for ib devices
From: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
X-Patchwork-Id: 3885371
Message-Id: <20140325065839.GA3794@shamir-pc>
To: linux-rdma@vger.kernel.org
Date: Tue, 25 Mar 2014 08:58:44 +0200

Hi Sean,

Resending the patch with proper mail client.

There was a request by teams in Oracle to decouple the HCA limited
ability to open device context and the rising amount of processes that
run on the servers.
It appear that the lowest capable HCA become the limit to all the
processes that attempt to use the library.
This patch try to decouple this by allowing the process to use the
library w/o implicitly opening the device.
Device will be opened only when needed.

BR, Shamir

LIBRDMACM currently opens a device context per configured HCA. This is
usually done in rdma_create_event_channel() or first time whenever
ucma_init() is called. If a process is only going to use one of the
configured HCAs/RDMA IPs then the remaining device contexts are not
used/required. Opening a device context on each device apriori limits the
maximum number of processes that can be supported on a node to the maximum
number of open context supported per HCA regardless of number of HCAs present
in the system.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
10 years agoexternal modifications
Sean Hefty [Wed, 9 Apr 2014 19:19:25 +0000 (12:19 -0700)]
external modifications

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

10 years agoexternal modifications
Sean Hefty [Wed, 9 Apr 2014 19:19:25 +0000 (12:19 -0700)]
external modifications

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

10 years agorsocket: Fix sbuf_bytes_avail counter 'overrun' with iwarp
Sean Hefty [Thu, 6 Mar 2014 21:42:31 +0000 (13:42 -0800)]
rsocket: Fix sbuf_bytes_avail counter 'overrun' with iwarp

Reported-by: Jonas Pfefferle1 <JPF@zurich.ibm.com>
"The problem is that on the client side sbuf_bytes_avail overflows
in rs_poll_cq.  And from what I debugged so far there are 2
completions for every send and this is because I use iWarp hardware
which does not support write with immediate so there is one completion
for the write and one for the send (both go into the default case
and add the length to sbuf_bytes_avail)."

To avoid the issue, we flag send message operations that are used
in place of immediate data.  Other send message operations are
not affected.  The completion code can then check whether the
completion is for a send message which was paired with an RDMA
write transaction and adjust the behavior accordingly.  Additionally,
such send messages only carry the opcode in their WR_ID, with the
data portion zeroed.  This avoids adding the length value twice.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agoriostream: Add AF_IB support
Hal Rosenstock [Wed, 5 Mar 2014 20:51:54 +0000 (12:51 -0800)]
riostream: Add AF_IB support

Allow the user to specify GID addresses (AF_IB) with riostream

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agorsocket: Return EBADF on bad rsocket fd
Hal Rosenstock [Wed, 5 Mar 2014 01:06:47 +0000 (17:06 -0800)]
rsocket: Return EBADF on bad rsocket fd

Eliminates potential seg faults when passed an invalid rsocket.

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agoman/rsocket: Enhance riomap documentation
Sean Hefty [Wed, 5 Mar 2014 00:59:20 +0000 (16:59 -0800)]
man/rsocket: Enhance riomap documentation

Document that the user must set IOMAPSIZE in order to
use the riomap call.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agocommit
Sean Hefty [Mon, 27 Jan 2014 20:13:19 +0000 (12:13 -0800)]
commit

10 years agocommit
Sean Hefty [Mon, 27 Jan 2014 20:13:19 +0000 (12:13 -0800)]
commit

10 years agorefresh
Sean Hefty [Mon, 27 Jan 2014 20:11:55 +0000 (12:11 -0800)]
refresh

10 years agorefresh
Sean Hefty [Mon, 27 Jan 2014 20:11:55 +0000 (12:11 -0800)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Mon, 27 Jan 2014 20:11:55 +0000 (12:11 -0800)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Mon, 27 Jan 2014 20:11:55 +0000 (12:11 -0800)]
refresh (create temporary patch)

10 years agoRefresh of v18
Sean Hefty [Mon, 27 Jan 2014 20:11:55 +0000 (12:11 -0800)]
Refresh of v18

10 years agorefresh
Sean Hefty [Mon, 27 Jan 2014 20:11:03 +0000 (12:11 -0800)]
refresh

10 years agorefresh
Sean Hefty [Mon, 27 Jan 2014 20:11:03 +0000 (12:11 -0800)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Mon, 27 Jan 2014 20:11:03 +0000 (12:11 -0800)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Mon, 27 Jan 2014 20:11:03 +0000 (12:11 -0800)]
refresh (create temporary patch)

10 years agoRefresh of v18
Sean Hefty [Mon, 27 Jan 2014 20:11:03 +0000 (12:11 -0800)]
Refresh of v18

10 years agonew
Sean Hefty [Mon, 27 Jan 2014 20:10:56 +0000 (12:10 -0800)]
new

10 years agonew
Sean Hefty [Mon, 27 Jan 2014 20:10:56 +0000 (12:10 -0800)]
new

10 years agolibrdmacm 1.0.18 v1.0.18
Sean Hefty [Mon, 27 Jan 2014 20:10:55 +0000 (12:10 -0800)]
librdmacm 1.0.18

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agolibrdmacm 1.0.18
Sean Hefty [Mon, 27 Jan 2014 20:10:55 +0000 (12:10 -0800)]
librdmacm 1.0.18

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agolibrdmacm 1.0.18
Sean Hefty [Mon, 27 Jan 2014 20:10:55 +0000 (12:10 -0800)]
librdmacm 1.0.18

10 years agoexternal modifications
Sean Hefty [Mon, 27 Jan 2014 20:10:55 +0000 (12:10 -0800)]
external modifications

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

10 years agoexternal modifications
Sean Hefty [Mon, 27 Jan 2014 20:10:55 +0000 (12:10 -0800)]
external modifications

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

10 years agoudaddy: Remove support for port space IB
Sean Hefty [Mon, 27 Jan 2014 19:30:34 +0000 (11:30 -0800)]
udaddy: Remove support for port space IB

UD support for the IB port space requires that the application
use rdma_create_ep, rather than rdma_create_id.  However, using
rdma_create_ep results in address and route resolution being
performed synchronously as part of the rdma_create_ep call.
Since udaddy is an example, we want to show how it can be used
with asynchronous events.  So, rather than update udaddy to
use rdma_create_ep in order to support the IB port space, it
would be better to remove that support.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agorsocket: Add keepalive logic
Susan K. Coulter [Fri, 17 Jan 2014 22:31:42 +0000 (14:31 -0800)]
rsocket: Add keepalive logic

Actually send and receive keepalive messages if keepalive is
enabled on an rsocket.

Signed-off-by: Susan K. Coulter <markus@cj-fe2.lanl.gov>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agopop
Sean Hefty [Wed, 4 Dec 2013 00:53:07 +0000 (16:53 -0800)]
pop

10 years agopop
Sean Hefty [Wed, 4 Dec 2013 00:53:07 +0000 (16:53 -0800)]
pop

10 years agorefresh
Sean Hefty [Wed, 4 Dec 2013 00:53:06 +0000 (16:53 -0800)]
refresh

10 years agorefresh
Sean Hefty [Wed, 4 Dec 2013 00:53:06 +0000 (16:53 -0800)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 4 Dec 2013 00:53:06 +0000 (16:53 -0800)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 4 Dec 2013 00:53:06 +0000 (16:53 -0800)]
refresh (create temporary patch)

10 years agoRefresh of old-af-ib
Sean Hefty [Wed, 4 Dec 2013 00:53:06 +0000 (16:53 -0800)]
Refresh of old-af-ib

10 years agocmatose: Support GID addresses
Sean Hefty [Mon, 10 Jun 2013 17:56:57 +0000 (10:56 -0700)]
cmatose: Support GID addresses

Allow a user to specify a GID address as input into cmatose.
This allows the use of native IB addresses via AF_IB support.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agopop (CONFLICT)
Sean Hefty [Wed, 4 Dec 2013 00:52:42 +0000 (16:52 -0800)]
pop (CONFLICT)

10 years agopop (CONFLICT)
Sean Hefty [Wed, 4 Dec 2013 00:52:42 +0000 (16:52 -0800)]
pop (CONFLICT)

10 years agocmatose: Support GID addresses
Sean Hefty [Mon, 10 Jun 2013 17:56:57 +0000 (10:56 -0700)]
cmatose: Support GID addresses

Allow a user to specify a GID address as input into cmatose.
This allows the use of native IB addresses via AF_IB support.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agopop
Sean Hefty [Wed, 4 Dec 2013 00:52:42 +0000 (16:52 -0800)]
pop

10 years agopop
Sean Hefty [Wed, 4 Dec 2013 00:52:42 +0000 (16:52 -0800)]
pop

10 years agocommit
Sean Hefty [Wed, 4 Dec 2013 00:52:40 +0000 (16:52 -0800)]
commit

10 years agocommit
Sean Hefty [Wed, 4 Dec 2013 00:52:40 +0000 (16:52 -0800)]
commit

10 years agorefresh
Sean Hefty [Wed, 4 Dec 2013 00:52:18 +0000 (16:52 -0800)]
refresh

10 years agorefresh
Sean Hefty [Wed, 4 Dec 2013 00:52:18 +0000 (16:52 -0800)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 4 Dec 2013 00:52:18 +0000 (16:52 -0800)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 4 Dec 2013 00:52:18 +0000 (16:52 -0800)]
refresh (create temporary patch)

10 years agoRefresh of cma.mbox
Sean Hefty [Wed, 4 Dec 2013 00:52:18 +0000 (16:52 -0800)]
Refresh of cma.mbox

10 years agorefresh
Sean Hefty [Wed, 4 Dec 2013 00:52:09 +0000 (16:52 -0800)]
refresh

10 years agorefresh
Sean Hefty [Wed, 4 Dec 2013 00:52:09 +0000 (16:52 -0800)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 4 Dec 2013 00:51:32 +0000 (16:51 -0800)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 4 Dec 2013 00:51:32 +0000 (16:51 -0800)]
refresh (create temporary patch)

10 years agoRefresh of cma.mbox
Sean Hefty [Wed, 4 Dec 2013 00:51:32 +0000 (16:51 -0800)]
Refresh of cma.mbox

10 years agolibrdmacm: Add directives on binding to IPv6 any address to man pages
Or Gerlitz [Wed, 4 Dec 2013 00:51:07 +0000 (16:51 -0800)]
librdmacm: Add directives on binding to IPv6 any address to man pages

Explain how to bind to IPv6 any address in the man pages for the examples

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agolibrdmacm: Add directives on binding to IPv6 any address to man pages
Sean Hefty [Wed, 4 Dec 2013 00:51:07 +0000 (16:51 -0800)]
librdmacm: Add directives on binding to IPv6 any address to man pages

Explain how to bind to IPv6 any address in the man pages for the examples

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agoimport
Sean Hefty [Wed, 4 Dec 2013 00:51:07 +0000 (16:51 -0800)]
import

10 years agoimport
Sean Hefty [Wed, 4 Dec 2013 00:51:07 +0000 (16:51 -0800)]
import

10 years agoFrom patchwork Sun Dec 1 07:31:38 2013
Sean Hefty [Wed, 4 Dec 2013 00:51:07 +0000 (16:51 -0800)]
From patchwork Sun Dec  1 07:31:38 2013
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [V1,
librdmacm] Add directives on binding to IPv6 any address to man pages
From: Or Gerlitz <ogerlitz@mellanox.com>
X-Patchwork-Id: 3261731
Message-Id: <1385883098-22307-1-git-send-email-ogerlitz@mellanox.com>
To: sean.hefty@intel.com
Cc: linux-rdma@vger.kernel.org, mrhines@us.ibm.com,
Or Gerlitz <ogerlitz@mellanox.com>
Date: Sun,  1 Dec 2013 09:31:38 +0200

Explain how to bind to IPv6 any address in the man pages for the examples

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
10 years agocommit
Sean Hefty [Tue, 3 Dec 2013 21:34:42 +0000 (13:34 -0800)]
commit

10 years agocommit
Sean Hefty [Tue, 3 Dec 2013 21:34:42 +0000 (13:34 -0800)]
commit

10 years agorefresh
Sean Hefty [Tue, 26 Nov 2013 21:17:59 +0000 (13:17 -0800)]
refresh

10 years agorefresh
Sean Hefty [Tue, 26 Nov 2013 21:17:59 +0000 (13:17 -0800)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Tue, 26 Nov 2013 21:17:59 +0000 (13:17 -0800)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Tue, 26 Nov 2013 21:17:59 +0000 (13:17 -0800)]
refresh (create temporary patch)

10 years agoRefresh of init
Sean Hefty [Tue, 26 Nov 2013 21:17:59 +0000 (13:17 -0800)]
Refresh of init

10 years agorefresh
Sean Hefty [Tue, 26 Nov 2013 21:17:27 +0000 (13:17 -0800)]
refresh

10 years agorefresh
Sean Hefty [Tue, 26 Nov 2013 21:17:27 +0000 (13:17 -0800)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Tue, 26 Nov 2013 21:17:27 +0000 (13:17 -0800)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Tue, 26 Nov 2013 21:17:27 +0000 (13:17 -0800)]
refresh (create temporary patch)

10 years agoRefresh of init
Sean Hefty [Tue, 26 Nov 2013 21:17:27 +0000 (13:17 -0800)]
Refresh of init

10 years agolibrdmacm: Check 'init' under mutex
Sean Hefty [Tue, 26 Nov 2013 21:16:19 +0000 (13:16 -0800)]
librdmacm: Check 'init' under mutex

ucma_ib_init() does a quick check that access to ibacm has
been initialized.  This check is done outside of the
acm_lock mutex.  We need to check init again inside of
holding the mutex to ensure that we don't run the
initialization code twice.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agolibrdmacm: Check 'init' under mutex
Sean Hefty [Tue, 26 Nov 2013 21:16:19 +0000 (13:16 -0800)]
librdmacm: Check 'init' under mutex

ucma_ib_init() does a quick check that access to ibacm has
been initialized.  This check is done outside of the
acm_lock mutex.  We need to check init again inside of
holding the mutex to ensure that we don't run the
initialization code twice.

10 years agonew
Sean Hefty [Tue, 26 Nov 2013 21:16:19 +0000 (13:16 -0800)]
new

10 years agonew
Sean Hefty [Tue, 26 Nov 2013 21:16:19 +0000 (13:16 -0800)]
new

10 years agolibrdmacm: Check 'init' under mutex
Sean Hefty [Tue, 26 Nov 2013 21:16:19 +0000 (13:16 -0800)]
librdmacm: Check 'init' under mutex

ucma_ib_init() does a quick check that access to ibacm has
been initialized.  This check is done outside of the
acm_lock mutex.  We need to check init again inside of
holding the mutex to ensure that we don't run the
initialization code twice.

10 years agocommit
Sean Hefty [Mon, 18 Nov 2013 21:12:14 +0000 (13:12 -0800)]
commit

10 years agocommit
Sean Hefty [Mon, 18 Nov 2013 21:12:14 +0000 (13:12 -0800)]
commit

10 years agorping: Fix server reporting error on exit
Sean Hefty [Mon, 18 Nov 2013 21:12:04 +0000 (13:12 -0800)]
rping: Fix server reporting error on exit

Commit e57196c71ddd850e14f3e66355f02786e4914f72
rping: added checks to the return values functions
resulted in the rping server always reporting that
it failed.  Fix this by only failing in the case of
an unexpected termination, and not the result of
the client completing.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
10 years agopick
Sean Hefty [Mon, 18 Nov 2013 21:12:04 +0000 (13:12 -0800)]
pick

10 years agopick
Sean Hefty [Mon, 18 Nov 2013 21:12:04 +0000 (13:12 -0800)]
pick

10 years agocommit
Sean Hefty [Wed, 13 Nov 2013 20:16:32 +0000 (12:16 -0800)]
commit

10 years agocommit
Sean Hefty [Wed, 13 Nov 2013 20:16:32 +0000 (12:16 -0800)]
commit

10 years agorefresh
Sean Hefty [Wed, 13 Nov 2013 20:16:28 +0000 (12:16 -0800)]
refresh

10 years agorefresh
Sean Hefty [Wed, 13 Nov 2013 20:16:28 +0000 (12:16 -0800)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 13 Nov 2013 20:16:18 +0000 (12:16 -0800)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Wed, 13 Nov 2013 20:16:18 +0000 (12:16 -0800)]
refresh (create temporary patch)

10 years agoRefresh of bindgid
Sean Hefty [Wed, 13 Nov 2013 20:16:17 +0000 (12:16 -0800)]
Refresh of bindgid

10 years agorefresh
Sean Hefty [Mon, 11 Nov 2013 18:25:44 +0000 (10:25 -0800)]
refresh

10 years agorefresh
Sean Hefty [Mon, 11 Nov 2013 18:25:44 +0000 (10:25 -0800)]
refresh

10 years agorefresh (create temporary patch)
Sean Hefty [Mon, 11 Nov 2013 18:25:44 +0000 (10:25 -0800)]
refresh (create temporary patch)

10 years agorefresh (create temporary patch)
Sean Hefty [Mon, 11 Nov 2013 18:25:44 +0000 (10:25 -0800)]
refresh (create temporary patch)

10 years agoRefresh of bindgid
Sean Hefty [Mon, 11 Nov 2013 18:25:44 +0000 (10:25 -0800)]
Refresh of bindgid