]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
17 years agoRelease 1.0 v1.0
Sean Hefty [Fri, 27 Apr 2007 18:02:02 +0000 (11:02 -0700)]
Release 1.0

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agolibrdmacm: set source port after calling rdma_bind_addr.
Sean Hefty [Wed, 25 Apr 2007 23:17:25 +0000 (16:17 -0700)]
librdmacm: set source port after calling rdma_bind_addr.

If a user specified port 0 when binding, the actual port number
assigned was being overwritten before returning from rdma_bind_addr.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agolibrdmacm: update mailing list info
Sean Hefty [Wed, 25 Apr 2007 17:27:53 +0000 (10:27 -0700)]
librdmacm: update mailing list info

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agorping: Transfer rkey/addr/len information in network byte order.
Steve Wise [Wed, 25 Apr 2007 15:34:31 +0000 (10:34 -0500)]
rping: Transfer rkey/addr/len information in network byte order.

Transfer rkey/addr/len information in network byte order.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
17 years agolibrdmacm: update datagram tests to abort if msg size > MTU
Sean Hefty [Fri, 20 Apr 2007 22:16:07 +0000 (15:16 -0700)]
librdmacm: update datagram tests to abort if msg size > MTU

If the user specifies a message size for mckey or udaddy tests that's
larger than the active MTU of the bound port, the sends will fail.
Detect this condition and abort the test if the message size is >
the active MTU of the port.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoRDMA/librdmacm: update to rc2 v1.0-rc2
Sean Hefty [Fri, 6 Apr 2007 19:10:27 +0000 (12:10 -0700)]
RDMA/librdmacm: update to rc2

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoRDMA/cma: fix 32-bit user / 64-bit kernel mismatch issue
Sean Hefty [Fri, 6 Apr 2007 17:14:02 +0000 (10:14 -0700)]
RDMA/cma: fix 32-bit user / 64-bit kernel mismatch issue

A 64-bit kernel will pad the size of the event structure to a
multiple of 8-bytes.  When using a 32-bit kernel, the structure is left
aligned to a 4-byte boundary.  This results in the userspace event structure
being too small because of the padding.  Fix this by increasing the padding
at the end of the userspace event structure.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoFix build when version script is supported.
Sean Hefty [Mon, 5 Mar 2007 17:58:57 +0000 (09:58 -0800)]
Fix build when version script is supported.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoAdd some documentation references to libibverbs calls. v1.0-rc1
Sean Hefty [Wed, 28 Feb 2007 22:58:00 +0000 (14:58 -0800)]
Add some documentation references to libibverbs calls.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoEnhance API documentation.
Sean Hefty [Wed, 28 Feb 2007 01:41:55 +0000 (17:41 -0800)]
Enhance API documentation.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoFix RPM release name.
Sean Hefty [Fri, 23 Feb 2007 22:57:24 +0000 (14:57 -0800)]
Fix RPM release name.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoUpdate autotools info for 1.0-rc1 release.
Sean Hefty [Fri, 23 Feb 2007 21:16:02 +0000 (13:16 -0800)]
Update autotools info for 1.0-rc1 release.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoWorkaround kernel crash when running with ABI 3.
Sean Hefty [Wed, 31 Jan 2007 19:55:24 +0000 (11:55 -0800)]
Workaround kernel crash when running with ABI 3.

There's a bug in kernel version ABI 3 that leads to a system crash.
Avoid calling rdma_init_qp_attr which causes this crash when working with
ABI 3.

17 years agoUpdate mckey test program to join specific multicast groups.
Sean Hefty [Wed, 31 Jan 2007 01:37:12 +0000 (17:37 -0800)]
Update mckey test program to join specific multicast groups.

Add options to mckey to allow a user to specify a given multicast group.
This allows the user to join a group using IP address 0, get back the
actual group MGID that was created for the user, and join that group from
a separate copy of mckey.

17 years agoAllow unicast traffic over IPOIB port space.
Sean Hefty [Fri, 26 Jan 2007 18:21:17 +0000 (10:21 -0800)]
Allow unicast traffic over IPOIB port space.

Adjust the RMDA_PS_IPOIB to allow unicast traffic.  This requires
changing how QPs are initialized in order to get the correct qkey
to use.  We need to call into the kernel to get the initial QP
attributes.

Update the udaddy unicast test program to test this capability.

17 years agoAdd support to join IPOIB multicast groups
Sean Hefty [Wed, 24 Jan 2007 00:11:45 +0000 (16:11 -0800)]
Add support to join IPOIB multicast groups

Add to the librdmacm an IPOIB port space that allows interoperability with
IPOIB multicast traffic.  Use of the RDMA_PS_IPOIB is limited to multicast
join/leave.

Rename the RDMA_UD_QKEY to RDMA_UDP_QKEY to signify that the qkey is only
used with the RDMA_PS_IPOIB port space.  Update mckey test program based on
patch from Or Gerlitz.

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agolibrdmacm: return 0 if rdma_leave_multicast is successful.
Sean Hefty [Mon, 8 Jan 2007 22:27:43 +0000 (14:27 -0800)]
librdmacm: return 0 if rdma_leave_multicast is successful.

Return 0 if leave multicast succeeds, rather than the size of the write.
Update mckey test program to call rdma_leave_multicast to verify its
operation.

17 years agoMerge branch 'master' into multicast
Sean Hefty [Mon, 8 Jan 2007 20:19:03 +0000 (12:19 -0800)]
Merge branch 'master' into multicast

17 years agolibrdmacm Pass back the status or errno in RDMA CM events.
Steve Wise [Fri, 15 Dec 2006 22:56:06 +0000 (16:56 -0600)]
librdmacm Pass back the status or errno in RDMA CM events.

The librdmacm code isn't passing back the errno in all events.

For example, if a connection request times out the kernel CMA will pass
up event RDMA_CM_EVENT_UNREACHABLE with the status set to -ETIMEDOUT.
This errno isn't currently passed back to the librdmacm user in the event.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoMerge branch 'rdma_ucm-abi3'
Sean Hefty [Fri, 15 Dec 2006 01:18:40 +0000 (17:18 -0800)]
Merge branch 'rdma_ucm-abi3'

17 years agoAuto-create config directory during build.
Sean Hefty [Fri, 15 Dec 2006 01:17:14 +0000 (17:17 -0800)]
Auto-create config directory during build.

17 years agordma_leave_multicast does not return zero on success
Or Gerlitz [Mon, 11 Dec 2006 23:55:34 +0000 (15:55 -0800)]
rdma_leave_multicast does not return zero on success

rdma_leave_multicast does not return zero on success, but rather the size
of the leave multicast message.

Signed-off-by: Or Gerlitz <orgerlitz@voltaire.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agoAdd multicast support to librdmacm
Sean Hefty [Tue, 5 Dec 2006 03:38:08 +0000 (19:38 -0800)]
Add multicast support to librdmacm

Add support for multicast QPs through the rdma cm library.

17 years agoUpdate librdmacm to support ABI version 3
Sean Hefty [Tue, 5 Dec 2006 03:17:44 +0000 (19:17 -0800)]
Update librdmacm to support ABI version 3

rdma_ucm ABI 3 adds support for reporting connection information with
connect events and UDP port space support.  Update the librdmacm to
take advantage of these features, and update test programs as well.

17 years agor9898: Compilation warning on 64 bit machines was fixed.
Dotan Barak [Thu, 19 Oct 2006 13:08:19 +0000 (13:08 +0000)]
r9898: Compilation warning on 64 bit machines was fixed.

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
17 years agor9696: Add support for iwarp to librdmacm.
Steve Wise [Tue, 3 Oct 2006 21:35:30 +0000 (21:35 +0000)]
r9696: Add support for iwarp to librdmacm.

Signed-off-by: Steve Wise <swise@opengidcomputing.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor9420: Identify declarations as C, to support C++.
Sean Hefty [Mon, 11 Sep 2006 17:37:48 +0000 (17:37 +0000)]
r9420: Identify declarations as C, to support C++.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor9272: Update documentation for rdma_destroy_id to call out that it will cancel
Sean Hefty [Tue, 5 Sep 2006 19:32:38 +0000 (19:32 +0000)]
r9272: Update documentation for rdma_destroy_id to call out that it will cancel
any oustanding asynchronous operation on the id.  Suggested clarification
by Or.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor9208: Remove inlining of sends and set send size = message_size, rather than
Sean Hefty [Thu, 31 Aug 2006 19:34:38 +0000 (19:34 +0000)]
r9208: Remove inlining of sends and set send size = message_size, rather than
subtracting the length of the GRH.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor9183: Need to poll both send and receive completions from the CQ on the passive...
Sean Hefty [Tue, 29 Aug 2006 22:03:47 +0000 (22:03 +0000)]
r9183: Need to poll both send and receive completions from the CQ on the passive side
of the connection.  Without polling the sends first, we exit before receiving
all replies.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor9105: Older versions of Linux do not have the misc device. Backport patches create
Sean Hefty [Thu, 24 Aug 2006 17:36:24 +0000 (17:36 +0000)]
r9105: Older versions of Linux do not have the misc device.  Backport patches create
the RDMA CM abi_version file under /sys/class/infiniband_ucma, so we'll auto-
matically look there for the abi_version if we don't find it in its normal
location.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor9104: Command structure is already initialized to zeroes. No need to set
Sean Hefty [Thu, 24 Aug 2006 17:07:34 +0000 (17:07 +0000)]
r9104: Command structure is already initialized to zeroes.  No need to set
private_data_len field to 0 separately.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor9008: Set the QKEY to a common global value for all UD QPs and multicast groups
Steve Wise [Fri, 18 Aug 2006 21:06:41 +0000 (21:06 +0000)]
r9008: Set the QKEY to a common global value for all UD QPs and multicast groups
created by the RDMA CM.  This lets a UD QP be used for datagram communication,
as well as multicast group communication over any number of groups.

Signed-off-by: Steve Wise <swise@opengridcomputer.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor8851: Set dst->private_data_len to 0, not src.
Sean Hefty [Tue, 8 Aug 2006 16:10:49 +0000 (16:10 +0000)]
r8851: Set dst->private_data_len to 0, not src.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor8825: Do not type the characters "dst_ip=" explicitly, just the IP address, in both
Pete Wyckoff [Fri, 4 Aug 2006 20:45:10 +0000 (20:45 +0000)]
r8825: Do not type the characters "dst_ip=" explicitly, just the IP address, in both
the trunk and iwarp branch.

Signed-off-by: Pete Wyckoff <pw@osc.edu>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor8824: Fix RDMA CM event declaration.
Pete Wyckoff [Fri, 4 Aug 2006 20:40:48 +0000 (20:40 +0000)]
r8824: Fix RDMA CM event declaration.

Signed-off-by: Pete Wyckoff <pw@osc.edu>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
17 years agor8647: Re-instate fix from svn 7079, which was removed in svn 7497.
Sean Hefty [Mon, 24 Jul 2006 17:29:56 +0000 (17:29 +0000)]
r8647: Re-instate fix from svn 7079, which was removed in svn 7497.

On kernels 2.6.9 an older, class/misc does not exist.  To support kernel
backports, if we are unable to locate rdma_cm/abi_version, assume the
latest version.  If we're wrong, we'll fail later in the code calling into
the ABI.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor8548: Offsetof macro needs stddef.h to pull in the definition.
Michael S. Tsirkin [Mon, 17 Jul 2006 16:41:29 +0000 (16:41 +0000)]
r8548: Offsetof macro needs stddef.h to pull in the definition.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor8523: Add calls to the RDMA CM to return its list of RDMA devices. The calls are
Sean Hefty [Fri, 14 Jul 2006 16:19:16 +0000 (16:19 +0000)]
r8523: Add calls to the RDMA CM to return its list of RDMA devices.  The calls are
similar to ibv_get_device_list() / ibv_free_device_list().

Without this patch, RDMA device contexts are handed to the user only after
they create an rdma_cm_id and bind it to a local device.  By exposing the
device list to the user, it makes it easier for the user to allocate device
specific resources (such as PDs, CQs, etc.) that are shared among multiple
rdma_cm_id's.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor8517: Remove dependency on libsysfs.
Sean Hefty [Thu, 13 Jul 2006 22:44:45 +0000 (22:44 +0000)]
r8517: Remove dependency on libsysfs.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor8215: Enable svn ID on files.
Sean Hefty [Mon, 26 Jun 2006 20:53:22 +0000 (20:53 +0000)]
r8215: Enable svn ID on files.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor8187: librdmacm/examples/udaddy.c: Fix example name in messages
Hal Rosenstock [Fri, 23 Jun 2006 12:15:45 +0000 (12:15 +0000)]
r8187: librdmacm/examples/udaddy.c: Fix example name in messages

Signed-off-by: Hal Rosenstock <halr@voltaire.com>
18 years agor8170: librdmacm/examples/mckey.c: Fix example name in messages
Hal Rosenstock [Thu, 22 Jun 2006 09:50:53 +0000 (09:50 +0000)]
r8170: librdmacm/examples/mckey.c: Fix example name in messages

Signed-off-by: Hal Rosenstock <halr@voltaire.com>
18 years agor8159: Added checks to the return values of all of the functions that may fail
Dotan Barak [Wed, 21 Jun 2006 14:11:52 +0000 (14:11 +0000)]
r8159: Added checks to the return values of all of the functions that may fail
(in order to add this test to the regression system).

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
18 years agor8084: Add support to the userspace RDMA CM library for joining and leaving multicast
Sean Hefty [Fri, 16 Jun 2006 19:31:02 +0000 (19:31 +0000)]
r8084: Add support to the userspace RDMA CM library for joining and leaving multicast
groups based on IP addressing.  Add a goofy test program for this.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor8077: Add support for UD QPs to the RDMA CM library, along with a goofy test program
Sean Hefty [Fri, 16 Jun 2006 18:30:49 +0000 (18:30 +0000)]
r8077: Add support for UD QPs to the RDMA CM library, along with a goofy test program

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor7968: Ensure that the rping buffer is big enough for the minimum
Pradipta Kumar Banerjee [Tue, 13 Jun 2006 17:30:36 +0000 (17:30 +0000)]
r7968: Ensure that the rping buffer is big enough for the minimum
string transmitted.

Signed-off-by: Pradipta Kumar Banerjee <bpradipt@in.ibm.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
18 years agor7966: This patch resolves a race condition between the receipt of
Boyd Faulkner [Tue, 13 Jun 2006 17:26:11 +0000 (17:26 +0000)]
r7966: This patch resolves a race condition between the receipt of
a connection established event and a receive completion from
the client.  The server no longer goes to connected state but
merely waits for the READ_ADV state to begin its looping.  This
keeps the server from going back to CONNECTED from the later
states if the connection established event comes in after the
receive completion (i.e. the loop starts).

Signed-off-by: Boyd Faulkner <faulkner@opengridcomputing.com>
18 years agor7743: Userspace support to allow overriding the default timeout and retry used by
Sean Hefty [Tue, 6 Jun 2006 18:42:56 +0000 (18:42 +0000)]
r7743: Userspace support to allow overriding the default timeout and retry used by
the RDMA CM when connecting over Infiniband.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor7620: We need to ack discarded events to avoid hanging during destruction.
Sean Hefty [Thu, 1 Jun 2006 17:50:42 +0000 (17:50 +0000)]
r7620: We need to ack discarded events to avoid hanging during destruction.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor7497: Development versions of libibverbs don't include libsysfs headers or
Roland Dreier [Thu, 25 May 2006 16:38:11 +0000 (16:38 +0000)]
r7497: Development versions of libibverbs don't include libsysfs headers or
link with libsysfs implicitly any more.  So libibcm and librdmacm
need to explicitly include and link libsysfs.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
18 years agor7341: Fixed usage statement.
Steve Wise [Thu, 18 May 2006 17:06:41 +0000 (17:06 +0000)]
r7341: Fixed usage statement.

Signed-off-by: Steve Wise <swise@opengricomputing.com>
18 years agor7298: Added checks to the return values of all functions that may fail - in order
Dotan Barak [Wed, 17 May 2006 18:36:29 +0000 (18:36 +0000)]
r7298: Added checks to the return values of all functions that may fail - in order
to add the test to the regression system.

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor7079: On kernels 2.6.9 and back, we didn't find a way to add sysfs attributes to
Jack Morgenstein [Wed, 10 May 2006 17:06:53 +0000 (17:06 +0000)]
r7079: On kernels 2.6.9 and back, we didn't find a way to add sysfs attributes to
misc devices. If the abi version file does not exist, assume latest ABI to
make it possible to use librdmacm on such systems.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor7077: rdma_destroy_event_channel() should be a void, not return an int.
Sean Hefty [Wed, 10 May 2006 17:01:09 +0000 (17:01 +0000)]
r7077: rdma_destroy_event_channel() should be a void, not return an int.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor7021: Replace deprecated function and structure names with updated names.
Sean Hefty [Tue, 9 May 2006 18:31:13 +0000 (18:31 +0000)]
r7021: Replace deprecated function and structure names with updated names.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor7019: Introduce event channels. Event channels allow the application to direct
Sean Hefty [Tue, 9 May 2006 18:25:10 +0000 (18:25 +0000)]
r7019: Introduce event channels.  Event channels allow the application to direct
how RDMA CM events are reported, by directing events on different rdma_cm_id's
to different event channels.  These are similar to completion channels used
in verbs.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor6950: Add routines to the user RDMA CM library to get/set transport specific options.
Sean Hefty [Fri, 5 May 2006 18:05:03 +0000 (18:05 +0000)]
r6950: Add routines to the user RDMA CM library to get/set transport specific options.

Add an option to retrieve possible path records for a connection, and set
which path a connection will be established on.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor6787: Move the state to ERROR if rdma_resolve_route() fails.
Steve Wise [Sun, 30 Apr 2006 17:37:04 +0000 (17:37 +0000)]
r6787: Move the state to ERROR if rdma_resolve_route() fails.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
18 years agor6674: If librdmacm has an error processing an ESTABLISHED event, it will report a
Sean Hefty [Wed, 26 Apr 2006 22:54:45 +0000 (22:54 +0000)]
r6674: If librdmacm has an error processing an ESTABLISHED event, it will report a
CONNECT_ERROR event to the user.  However, the kernel will list the cm_id
state as connected.  This can result in librdmacm receiving a DISCONNECTED
event on a cm_id that it failed to fully connect from userspace.  This event
should not be reported to the user.

This condition can occur when the remote side establishes a connection, then
disconnects before the local side processes the ESTABLISHED event.  When the
ESTABLISHED event is finally processed, the local side will get a failure
transitioning the QP, causing librdmacm to report CONNECT_ERROR.  Since the
connection was never reported as ESTABLISHED to the user, do not report the
DISCONNECTED event.

A similar situation exists between the CONNECT_RESPONSE and REJECTED events.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor6628: Update to support calling listen without having previously bound. After
Sean Hefty [Tue, 25 Apr 2006 17:02:48 +0000 (17:02 +0000)]
r6628: Update to support calling listen without having previously bound.  After
listen is called, we need to query for the route information to know which
port has been assigned.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor6593: Fixed X86_64 compile warnings.
Steve Wise [Mon, 24 Apr 2006 21:45:02 +0000 (21:45 +0000)]
r6593: Fixed X86_64 compile warnings.

18 years agor6503: Remove ABI check surrounding call to query route information after performing
Sean Hefty [Mon, 17 Apr 2006 22:35:31 +0000 (22:35 +0000)]
r6503: Remove ABI check surrounding call to query route information after performing
a local bind.  We always need to get the route information in order to bind
to the local device, or DAPL breaks.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor6335: Reset ABI version to 1. We will not maintain backwards compatibility until
Sean Hefty [Fri, 7 Apr 2006 23:49:48 +0000 (23:49 +0000)]
r6335: Reset ABI version to 1.  We will not maintain backwards compatibility until
the RDMA CM has been merged upstream.  This removes the ABI version hack that
tried to handle the case where the ABI version was not exported into userspace.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor6319: Handle the case on the server side where the first RECV completion
Steve Wise [Fri, 7 Apr 2006 17:59:35 +0000 (17:59 +0000)]
r6319: Handle the case on the server side where the first RECV completion
happens before the connect ESTABLISHED event.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
18 years agor6297: update librdmacm.spec.in from 1.0 branch.
Bryan O'Sullivan [Thu, 6 Apr 2006 16:52:09 +0000 (16:52 +0000)]
r6297: update librdmacm.spec.in from 1.0 branch.

18 years agor6296: update librdmacm.
Bryan O'Sullivan [Thu, 6 Apr 2006 16:51:32 +0000 (16:51 +0000)]
r6296: update librdmacm.

18 years agor6183: Added a print if post send fails.
Dotan Barak [Mon, 3 Apr 2006 17:32:13 +0000 (17:32 +0000)]
r6183: Added a print if post send fails.

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor6171: merge cmatose example from main trunk
Tziporet Koren [Mon, 3 Apr 2006 14:30:35 +0000 (14:30 +0000)]
r6171: merge cmatose example from main trunk

18 years agor6135: If the user calls rdma_bind_addr(), but specifies either a zero IP address
Sean Hefty [Fri, 31 Mar 2006 20:07:25 +0000 (20:07 +0000)]
r6135: If the user calls rdma_bind_addr(), but specifies either a zero IP address
or the loopback address, bind will succeed, but the cm_id will not be
attached to an RDMA device.  This will result in a failure if rdma_resolve_addr
is called.  Fix rdma_resolve_addr(), so that it handles this condition
properly.

Also fix the userspace interface to allow querying for address information
after binding to the zero or loopback address.  This breaks the behavior of
the current ABI, so bump the ABI version, and add the proper support to
allow checking the kernel ABI version from the userspace library.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor6087: Permit specifying the source address of a connection as a command line
Sean Hefty [Wed, 29 Mar 2006 19:57:28 +0000 (19:57 +0000)]
r6087: Permit specifying the source address of a connection as a command line
parameter.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor5906: Fix dev name. Should be 'rdma_cm' instead of 'ucma'.
Sean Hefty [Mon, 20 Mar 2006 16:55:50 +0000 (16:55 +0000)]
r5906: Fix dev name.  Should be 'rdma_cm' instead of 'ucma'.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor5663: first cut at packaging fun for 1.0-rc1.
Bryan O'Sullivan [Tue, 7 Mar 2006 22:26:55 +0000 (22:26 +0000)]
r5663: first cut at packaging fun for 1.0-rc1.

18 years agor5492: Branching for 1.0 release
Bryan O'Sullivan [Fri, 24 Feb 2006 18:29:52 +0000 (18:29 +0000)]
r5492: Branching for 1.0 release

18 years agor5368: Implement an RDMA ping-ping test over an RC connection. This program
Steve Wise [Sat, 11 Feb 2006 00:12:10 +0000 (00:12 +0000)]
r5368: Implement an RDMA ping-ping test over an RC connection.  This program
uses send, recv, RDMA read, and RDMA write operations, as well as CQ
channels to get CQ events.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor4579: Add 'void' to function prototypes to make gcc happy.
Sean Hefty [Thu, 22 Dec 2005 01:12:35 +0000 (01:12 +0000)]
r4579: Add 'void' to function prototypes to make gcc happy.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor4466: Change libibverbs API for listing all known devices from
Roland Dreier [Wed, 14 Dec 2005 20:44:36 +0000 (20:44 +0000)]
r4466: Change libibverbs API for listing all known devices from
ibv_get_devices() to ibv_get_device_list(), and update all
in-tree uses of this API.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
18 years agor4186: Initialize file operations if user tries to get events or retrieve the fd
Sean Hefty [Mon, 28 Nov 2005 23:00:19 +0000 (23:00 +0000)]
r4186: Initialize file operations if user tries to get events or retrieve the fd
before creating a cm_id.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor4128: Fix setting source/destination addresses.
Sean Hefty [Wed, 23 Nov 2005 23:16:26 +0000 (23:16 +0000)]
r4128: Fix setting source/destination addresses.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor4074: Defer initialization from library load until user allocates their first
Sean Hefty [Thu, 17 Nov 2005 22:45:53 +0000 (22:45 +0000)]
r4074: Defer initialization from library load until user allocates their first
rdma_cm_id.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor4067: And now export the rdma_get_fd function...
Sean Hefty [Wed, 16 Nov 2005 22:25:10 +0000 (22:25 +0000)]
r4067: And now export the rdma_get_fd function...

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor4065: Provide call to retrieve fd.
Sean Hefty [Wed, 16 Nov 2005 18:46:29 +0000 (18:46 +0000)]
r4065: Provide call to retrieve fd.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor4050: Fix wildcard bind_addr call. No device is associated with a wildcard bind,
Sean Hefty [Tue, 15 Nov 2005 18:51:31 +0000 (18:51 +0000)]
r4050: Fix wildcard bind_addr call.  No device is associated with a wildcard bind,
so no route is available.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor4022: Add port_num field to struct rdma_cm_id to make it easier for clients to
Sean Hefty [Fri, 11 Nov 2005 19:45:42 +0000 (19:45 +0000)]
r4022: Add port_num field to struct rdma_cm_id to make it easier for clients to
identify which port they are currently using.

Remove a few unneeded variable initializations, and fix a bug where the
IB address was not set after calling rdma_bind_addr() in userspace.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
18 years agor4019: Add support for userspace RDMA connection management abstraction (CMA).
Sean Hefty [Fri, 11 Nov 2005 00:33:09 +0000 (00:33 +0000)]
r4019: Add support for userspace RDMA connection management abstraction (CMA).

- Adds common user/kernel data structures and copy routines in ib_uverbs and
  libibverbs.
- Update ib_ucm and libibcm to use common structures and copy routines.
- Add new kernel module, rdma_ucm, to support userspace CMA.
- Add userspace CMA library, librdmacm.
- Add userspace CMA test program.
- Update kernel CMA to support userspace CMA library.
- Add support for users to transition QP states.
- Add backlog parameter to rdma_listen API.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>