Arlin Davis [Tue, 16 Oct 2007 21:23:17 +0000 (14:23 -0700)]
Fix dtest to build properly with extensions.
Modify dat.h dat_event to include event_extension_data[8].
Extend struct dat_event outside of extension build
switch to enable non-extended applications to work
with extended libraries. Otherwise, there is a potential
for the event callee to write back too much event data
and exceed callers non-extended event buffer.
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>
Arlin Davis [Tue, 16 Oct 2007 21:09:56 +0000 (14:09 -0700)]
Use inet_ntoa instead of open coding it. IP addresses were being
reversed on PowerPC.
On PowerPC the timebase ticks at a different frequency to the CPU.
dapltest currently assumes a 1:1 relationship, and gives bogus values
when scaling timebase to real time.
To fix this, look at the timebase field in /proc/cpuinfo instead. To
keep things consistent with x86, scale that value to MHz.
Arlin Davis [Thu, 31 May 2007 19:43:28 +0000 (12:43 -0700)]
Add provider specific interface to uDAPL for extensions support.
Fix memory leak with extensions, missing cookie deallocation when processing extended DTO events
Remove unnecessary check on dats_set_ia_handle in dat_ia_openv
Clean up specfile and some extra LF's
Arlin Davis [Mon, 7 May 2007 19:49:18 +0000 (12:49 -0700)]
Fix issues with IB DTO extensions
- debug print_cqe updated for latest IBV definitions
- dapli_evd_cq_to_event modified to handle both post and receive extensions
- dtestx example tested with rdma_write_imm, fetch_add, and cmp_swap
- modify cookie DTO types to support extensions properly
Arlin Davis [Tue, 7 Nov 2006 20:22:05 +0000 (20:22 +0000)]
r10074: Added support for new ib verbs client register event. No extra processing required at the uDAPL
level.
Fix some issues supporting create qp without recv cq handle or recv qp resources. IB verbs assume a
recv_cq handle and uDAPL dapl_ep_create assumes there is always recv_sge resources specified.
Fix some timeout and long disconnect delay issues discovered during scale-out testing. Added support
to retry rdma_cm address and route resolution with configuration options. Provide a disconnect call
when receiving the disconnect request to guarantee a disconnect reply and event on the remote side.
The rdma_disconnect was not being called from dat_ep_disconnect() as a result of the state changing
to DISCONNECTED in the event callback.
Here are the new options (environment variables) with the default setting:
Steve Wise [Tue, 12 Sep 2006 18:15:39 +0000 (18:15 +0000)]
r9442: Update obsolete CLK_TCK to CLOCKS_PER_SEC Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Anton Blanchard [Mon, 17 Jul 2006 21:26:03 +0000 (21:26 +0000)]
r8562: Fix some suspicious inline assembly:
- EIEIO_ON_SMP and ISYNC_ON_SMP are in kernel UP build optimisations, we
shouldnt export them to userspace. Replace it with lwsync and isync.
- The comment says its implemenenting cmpxchg64 but in fact its
implementing cmpxchg32. Fix the comment.
Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Thu, 22 Jun 2006 22:02:56 +0000 (22:02 +0000)]
r8182: Lower the reject debug message level so we don't see warnings
when consumers reject. Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Thu, 22 Jun 2006 21:13:37 +0000 (21:13 +0000)]
r8181: Added support for active side TIMED_OUT event from a provider. Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Thu, 22 Jun 2006 20:58:06 +0000 (20:58 +0000)]
r8180: Fix bug in dapls_ib_get_dat_event() call after adding new unreachable event. Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Mon, 12 Jun 2006 15:42:50 +0000 (15:42 +0000)]
r7931: Report the proper error and timeout events. Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Mon, 12 Jun 2006 14:51:14 +0000 (14:51 +0000)]
r7928: Socket CM fix to guard against using a loopback address
as the local device address. Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Tue, 6 Jun 2006 21:46:44 +0000 (21:46 +0000)]
r7755: Use the uCM set_option feature to adjust connect request timeout
and retry values. Also, a fix to disallow any event after a disconnect
event. Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
James Lentini [Thu, 18 May 2006 21:50:27 +0000 (21:50 +0000)]
r7346: Fix for uCMA provider to return the correct event as a result of
rejects. Also, ran into a segv bug with dapl_ep_create when
creating without a conn_evd.
Signed-off by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Fri, 12 May 2006 19:50:19 +0000 (19:50 +0000)]
r7141: Update the uDAPL openib_cma provider to work with the new
uCMA event channel interface. Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Steve Wise [Tue, 2 May 2006 21:33:35 +0000 (21:33 +0000)]
r6873: Transaction test change to comply with the iWARP MPA protocol's
"Connection Startup Rules". Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Steve Wise [Wed, 19 Apr 2006 16:32:01 +0000 (16:32 +0000)]
r6518: Do not always generate an event for an abrupt disconnect. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: James Lentini <jlentini@netapp.com>
James Lentini [Mon, 10 Apr 2006 20:16:44 +0000 (20:16 +0000)]
r6392: Fix for RDMA cm id destruction and debug builds.
Signed-off by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Steve Wise [Thu, 6 Apr 2006 15:16:10 +0000 (15:16 +0000)]
r6286: Set the IA attribute max_iov_segments_per_rdma_read and the EP attribute
max_rdma_read_iov based on the openib max_sge_rd device attribute. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Fri, 17 Mar 2006 22:02:18 +0000 (22:02 +0000)]
r5879: Add GNU Autotools support and an RPM spec file Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Mon, 9 Jan 2006 16:59:38 +0000 (16:59 +0000)]
r4852: Fix disconnect event processing and update dtest to validate. Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
James Lentini [Fri, 16 Dec 2005 01:57:30 +0000 (01:57 +0000)]
r4501: Allow a network name, network address, or device name in the dat.conf file. Singed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
James Lentini [Thu, 10 Nov 2005 21:39:34 +0000 (21:39 +0000)]
r4018: Fixed some problems with the free build openib_scm version and turned
down some debugging and added some debug prints for uAT path records.
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>
Signed-off by: James Lentini <jlentini@netapp.com>
James Lentini [Thu, 13 Oct 2005 20:45:22 +0000 (20:45 +0000)]
r3774: Fix the async error handling and callback mappings.
Updated TODO list.
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>
Signed-off by: James Lentini <jlentini@netapp.com>
Todd Bowman [Thu, 6 Oct 2005 15:22:08 +0000 (15:22 +0000)]
r3683: Remove the dtest qualifier from the sdp range. Signed-off-by: Todd Bowman <twbowman@gmail.com> Signed-off-by: James Lentini <jlentini@netapp.com>
James Lentini [Mon, 3 Oct 2005 14:59:22 +0000 (14:59 +0000)]
r3637: Support CQ_WAIT_OBJECT with channels and sync with latest verbs.
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>
Signed-off by: James Lentini <jlentini@netapp.com>
James Lentini [Wed, 28 Sep 2005 21:50:13 +0000 (21:50 +0000)]
r3606: Fixes IA64 build problems (atomics) with the latest Redhat EL4.0 update and
adds support for SuSe.
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>
Signed-off by: James Lentini <jlentini@netapp.com>
James Lentini [Wed, 21 Sep 2005 19:54:07 +0000 (19:54 +0000)]
r3513: Temporary workaround for the RDMA read performance anomaly
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>
Signed-off by: James Lentini <jlentini@netapp.com>
James Lentini [Tue, 20 Sep 2005 16:17:59 +0000 (16:17 +0000)]
r3493: Support ib_cm_init_qp_attr(), add cm event processing on a per
device basis, and add copyrights for kDAPL cm work that was
used in uDAPL.
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>
Signed-off by: James Lentini <jlentini@netapp.com>
Sean Hefty [Fri, 9 Sep 2005 21:51:58 +0000 (21:51 +0000)]
r3349: Update DAPL to match the verbs and CM event processing APIs. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>
Arlin Davis [Tue, 6 Sep 2005 19:34:46 +0000 (19:34 +0000)]
r3326: Changes to support async events. Also consolidated the uAT,uCM,uCQ threads into one processing thread. Signed-off-by: Arlin Davis <ardavis@ichips.intel.com> Signed-off-by: James Lentini <jlentini@netapp.com>