]> git.openfabrics.org - ~ardavis/dapl.git/log
~ardavis/dapl.git
14 years agoRelease 1.2.16-1
Arlin Davis [Wed, 24 Feb 2010 00:04:42 +0000 (16:04 -0800)]
Release 1.2.16-1

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
14 years agoUpdate Copyright file and include the 3 license files in distribution
Arlin Davis [Wed, 3 Feb 2010 19:15:56 +0000 (11:15 -0800)]
Update Copyright file and include the 3 license files in distribution

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
14 years agocma: max sge incorrectly decremented during ibv_device_query
Arlin Davis [Fri, 22 Jan 2010 23:36:45 +0000 (15:36 -0800)]
cma: max sge incorrectly decremented during ibv_device_query

During dat_ia_query, the provider was incorrectly decrementing
reported max sge by 1 if inline data was set. Remove adjustment.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
14 years agoRelease 1.2.15-1 compat-dapl-1.2.15-1
Arlin Davis [Tue, 24 Nov 2009 19:09:35 +0000 (11:09 -0800)]
Release 1.2.15-1

update spec file

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
14 years agoRelease 1.2.15
Arlin Davis [Tue, 24 Nov 2009 19:01:16 +0000 (11:01 -0800)]
Release 1.2.15

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
14 years agodtest, dapltest: conflict with dapl-2 utils package, change to dapl1, dapltest1
Arlin Davis [Tue, 24 Nov 2009 19:00:04 +0000 (11:00 -0800)]
dtest, dapltest: conflict with dapl-2 utils package, change to dapl1, dapltest1

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
14 years agoscm: fix compiler warning, unused variable
Arlin Davis [Tue, 24 Nov 2009 18:57:31 +0000 (10:57 -0800)]
scm: fix compiler warning, unused variable

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agoRelease 1.2.14 ofed_1_4_1-v1
Arlin Davis [Tue, 31 Mar 2009 13:43:23 +0000 (05:43 -0800)]
Release 1.2.14

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodapl: ia64 build problem on SuSE 11, atomic.h no longer exists.
Arlin Davis [Tue, 31 Mar 2009 13:21:59 +0000 (05:21 -0800)]
dapl: ia64 build problem on SuSE 11, atomic.h no longer exists.

Add autotools check for SuSE 11 and include intrinsics.h

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoRelease 1.2.13 compat-dapl-1.2.13-1
Arlin Davis [Mon, 16 Mar 2009 21:18:11 +0000 (13:18 -0800)]
Release 1.2.13

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoBuild: spec files missing Requires(post) statements for sed/coreutils
Arlin Davis [Thu, 12 Mar 2009 20:11:36 +0000 (12:11 -0800)]
Build: spec files missing Requires(post) statements for sed/coreutils

needed for anaconda install

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodapl scm: remove unecessary thread when using direct objects
Arlin Davis [Fri, 16 Jan 2009 16:31:13 +0000 (08:31 -0800)]
dapl scm: remove unecessary thread when using direct objects

A thread is created for processing events on devices without
direct event objecti support. Since all openfabrics devices support
direct events there is no need to start a thread. Move this under

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodapl common: add debug output during thread create failure
Arlin Davis [Fri, 16 Jan 2009 16:21:14 +0000 (08:21 -0800)]
dapl common: add debug output during thread create failure

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodtest/dapltest: use $(top_builddir) for .la files during test builds
Arlin Davis [Fri, 16 Jan 2009 16:15:56 +0000 (08:15 -0800)]
dtest/dapltest: use $(top_builddir) for .la files during test builds

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoRelease 1.2.12 compat-dapl-1.2.12-1
Arlin Davis [Wed, 26 Nov 2008 15:13:49 +0000 (07:13 -0800)]
Release 1.2.12

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodapltest: transaction test moves to cleanup stage before rdma_read processing is...
Arlin Davis [Mon, 27 Oct 2008 16:48:39 +0000 (08:48 -0800)]
dapltest: transaction test moves to cleanup stage before rdma_read processing is complete

With multiple treads, the transaction server tread can move to cleanup
stage and unregister memory before the remote client process has
completed the rdma read. In lieu of a rewrite to add sync messages
at the end of transaction test phase, just add a delay before cleanup.

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodat.conf: add ipath and ehca socket cm entries for v1.2.
Arlin Davis [Fri, 17 Oct 2008 18:02:48 +0000 (11:02 -0700)]
dat.conf: add ipath and ehca socket cm entries for v1.2.

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoCurrent static registration (SR) assumes DAT_OVERRIDE or /etc/dat.conf.
Arlin Davis [Tue, 14 Oct 2008 18:56:50 +0000 (11:56 -0700)]
Current static registration (SR) assumes DAT_OVERRIDE or /etc/dat.conf.
Change SR to include sysconfdir. SR file access in the following order:

- DAT_OVERRIDE
- sysconfdir
- /etc

if DAT_OVERRIDE is set, assume administration override
and do not failover to other locations. Add debug
messages for each failure and retries.

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
Acked-by: Doug Ledford <dledford@redhat.com>
15 years agoRelease 1.2.11 compat-dapl-1.2.11-1
Arlin Davis [Fri, 3 Oct 2008 15:02:42 +0000 (08:02 -0700)]
Release 1.2.11

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodat.conf: add OpenIB-iwarp entry for iwarp devices
Arlin Davis [Fri, 3 Oct 2008 12:40:33 +0000 (05:40 -0700)]
dat.conf: add OpenIB-iwarp entry for iwarp devices

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodapl: adjust max_rdma_read_iov to 1 for query on iWARP devices
Arlin Davis [Fri, 3 Oct 2008 12:30:29 +0000 (05:30 -0700)]
dapl: adjust max_rdma_read_iov to 1 for query on iWARP devices

iWarp spec allows only one iov on rdma reads

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodtest: reduce default IOV's during dat_ep_create for iWARP devices
Arlin Davis [Wed, 1 Oct 2008 15:18:04 +0000 (08:18 -0700)]
dtest: reduce default IOV's during dat_ep_create for iWARP devices

iWarp adapters tend to have less IOV resources then IB adapters.

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoRevert "Release 1.2.11"
Arlin Davis [Fri, 26 Sep 2008 15:54:48 +0000 (08:54 -0700)]
Revert "Release 1.2.11"

This reverts commit 536622b9a13d35902718d7bb6636fe8fe68dd4c4.

need to add more fixes to release package.

15 years agoRelease 1.2.11
Arlin Davis [Wed, 24 Sep 2008 19:09:40 +0000 (12:09 -0700)]
Release 1.2.11

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agobuild: $(DESTDIR) prepend needed on install hooks for dat.conf
Arlin Davis [Wed, 24 Sep 2008 15:33:53 +0000 (08:33 -0700)]
build: $(DESTDIR) prepend needed on install hooks for dat.conf

All install directives that automake creates automatically
have $(DESTDIR) prepended to them so that a make
DESTDIR=<some_path> install will work. The hand written
install hooks for dat.conf was missing DESTDIR.

Signed-off-by: Doug Ledford <dledford@redhat.com>
15 years agoRelease 1.2.10
Arlin Davis [Mon, 1 Sep 2008 22:52:12 +0000 (15:52 -0700)]
Release 1.2.10

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl providers: fix compiler warnings in cma and scm providers
Arlin Davis [Mon, 1 Sep 2008 22:41:27 +0000 (15:41 -0700)]
dapl providers: fix compiler warnings in cma and scm providers

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl build: add correct CFLAGS for GNU
Arlin Davis [Mon, 1 Sep 2008 22:40:23 +0000 (15:40 -0700)]
dapl build: add correct CFLAGS for GNU

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodat: fix compiler warnings in dat common code
Arlin Davis [Mon, 1 Sep 2008 22:39:10 +0000 (15:39 -0700)]
dat: fix compiler warnings in dat common code

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl: fix compiler warnings in common code
Arlin Davis [Mon, 1 Sep 2008 22:38:26 +0000 (15:38 -0700)]
dapl: fix compiler warnings in common code

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodtest/dapltest: fix compiler warnings
Arlin Davis [Mon, 1 Sep 2008 22:36:31 +0000 (15:36 -0700)]
dtest/dapltest: fix compiler warnings

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agoRelease 1.2.9 compat-dapl-1.2.9-1
Arlin Davis [Thu, 21 Aug 2008 19:54:30 +0000 (12:54 -0700)]
Release 1.2.9

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl scm: fix corner case that delivers duplicate disconnect events
Arlin Davis [Thu, 21 Aug 2008 01:55:02 +0000 (18:55 -0700)]
dapl scm: fix corner case that delivers duplicate disconnect events

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodat: include stddef.h for NULL definition in dat_platform_specific.h
Arlin Davis [Thu, 21 Aug 2008 01:54:13 +0000 (18:54 -0700)]
dat: include stddef.h for NULL definition in dat_platform_specific.h

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl: add debug messages during async and overflow events
Arlin Davis [Thu, 21 Aug 2008 01:53:44 +0000 (18:53 -0700)]
dapl: add debug messages during async and overflow events

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapltest: add check for duplicate disconnect events in transaction test
Arlin Davis [Thu, 21 Aug 2008 01:53:14 +0000 (18:53 -0700)]
dapltest: add check for duplicate disconnect events in transaction test

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl scm: better cm debug output in non-debug builds
Arlin Davis [Thu, 14 Aug 2008 18:18:50 +0000 (11:18 -0700)]
dapl scm: better cm debug output in non-debug builds

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl scm: update max_rdma_read_iov, max_rdma_write_iov EP attributes during query
Arlin Davis [Tue, 12 Aug 2008 19:24:58 +0000 (12:24 -0700)]
dapl scm: update max_rdma_read_iov, max_rdma_write_iov EP attributes during query

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl scm: change IB RC qp inline and timer defaults.
Arlin Davis [Tue, 12 Aug 2008 17:07:39 +0000 (10:07 -0700)]
dapl scm: change IB RC qp inline and timer defaults.

rnr nak can be the result of any operation not just
message send recevier not ready. Timer is much too
large given this case.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl scm: use correct device attribute for max_rdma_read_out, max_qp_init_rd_atom
Arlin Davis [Tue, 12 Aug 2008 16:59:05 +0000 (09:59 -0700)]
dapl scm: use correct device attribute for max_rdma_read_out, max_qp_init_rd_atom

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl scm: add mtu adjustments via environment, default = 1024.
Arlin Davis [Tue, 12 Aug 2008 16:54:38 +0000 (09:54 -0700)]
dapl scm: add mtu adjustments via environment, default = 1024.

DAPL_IB_MTU adjusts path mtu setting for RC qp's. Default setting
is min of 1024 and active mtu on IB device.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agodapl scm: change connect and accept to non-blocking to avoid blocking user thread.
Arlin Davis [Mon, 4 Aug 2008 21:13:58 +0000 (14:13 -0700)]
dapl scm: change connect and accept to non-blocking to avoid blocking user thread.

The connect socket that is used to exchange QP information is now non-blocking
and the data exchange is done via the cr thread. New state RTU_PENDING added.
On the passive side there is a new state ACCEPT_DATA used to avoid read blocking
on the user accept call.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

15 years agobuild/install: dat.conf entry removal did not remove corrupted v1 entry.
Arlin Davis [Thu, 31 Jul 2008 21:14:37 +0000 (14:14 -0700)]
build/install: dat.conf entry removal did not remove corrupted v1 entry.

entry removal for v1 entries should match first field with OpenIB-* and ignore rest.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodat: allow TYPE_ERR messages to be turned off with DAT_DBG_TYPE ofed_1_4-alpha-v1
Arlin Davis [Fri, 18 Jul 2008 14:46:36 +0000 (07:46 -0700)]
dat: allow TYPE_ERR messages to be turned off with DAT_DBG_TYPE

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: remove needless terminating 0 in dto_op_str functions.
Arlin Davis [Mon, 23 Jun 2008 22:26:15 +0000 (15:26 -0700)]
dapl: remove needless terminating 0 in dto_op_str functions.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agoFix memory leak in provider specific post send/recv if there's
Arlin Davis [Mon, 23 Jun 2008 19:35:42 +0000 (12:35 -0700)]
Fix memory leak in provider specific post send/recv if there's
more than DEFAULT_DS_ENTRIES iovecs.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoRelease 1.2.8 compat-dapl-1.2.8-1
Arlin Davis [Mon, 23 Jun 2008 17:53:48 +0000 (10:53 -0700)]
Release 1.2.8

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl scm: fix ibv_destroy_cq busy error condition during dat_evd_free.
Arlin Davis [Thu, 19 Jun 2008 20:30:18 +0000 (13:30 -0700)]
dapl scm: fix ibv_destroy_cq busy error condition during dat_evd_free.

Problem surfaced while running Intel MPI 3.1 and mpich2-test suite.
dapli_destroy_cm was incorrectly removing reference to qp_handle in endpoint
and destroy_cq and destroy_pd code was ignoring verbs errors.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl scm: add stdout logging for uname and gethostbyname errors during open.
Arlin Davis [Fri, 13 Jun 2008 20:13:26 +0000 (13:13 -0700)]
dapl scm: add stdout logging for uname and gethostbyname errors during open.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl scm: support global routing and set mtu based on active_mtu
Arlin Davis [Fri, 13 Jun 2008 20:04:25 +0000 (13:04 -0700)]
dapl scm: support global routing and set mtu based on active_mtu

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl scm: Adding socket cm provider for better scalability on large homogeneous clusters.
Arlin Davis [Wed, 11 Jun 2008 18:11:48 +0000 (11:11 -0700)]
dapl scm: Adding socket cm provider for better scalability on large homogeneous clusters.

Bring socket cm provider back to life with some changes:

better threading support for exchanging QP information.
Avoid blocking during connect to support dynamic connection
model with MPI implementations.

consumer control of ack timeout/retries.

disconnect/reject capabilities via socket exchange.

version support for wire protocol to insure compatibility
with peer scm provider. Add gids to exchange.

validated with Intel MPI on a 14,000+ core fabric using IB DDR.

16 years agodapl: add opcode to string function to report opcode during failures.
Arlin Davis [Wed, 11 Jun 2008 17:43:24 +0000 (10:43 -0700)]
dapl: add opcode to string function to report opcode during failures.

Need to use cookie opcode during failures in lieu of cqe opcode.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: remove unused iov buffer allocation on the endpoint
Arlin Davis [Mon, 16 Jun 2008 21:48:28 +0000 (14:48 -0700)]
dapl: remove unused iov buffer allocation on the endpoint

provider's manage iov space on stack during posting.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: endpoint pending request count is wrong
Arlin Davis [Tue, 10 Jun 2008 15:55:30 +0000 (08:55 -0700)]
dapl: endpoint pending request count is wrong

The code assumes every cookie allocated during posting of
requests gets completed. This incorrect assumption results in
wrong pending count. Remove request_pending field and replace
with direct call, dapl_cb_pending, to provide accurate
data to consumer.

Add debug print if consumer overruns request queue.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agoRelease 1.2.7 dapl-1.2.7-1 ofed_1_3_1-v1
Arlin Davis [Tue, 20 May 2008 20:18:28 +0000 (13:18 -0700)]
Release 1.2.7

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodtest: fix build issue with Redhat EL5.1
Arlin Davis [Tue, 20 May 2008 19:48:00 +0000 (12:48 -0700)]
dtest: fix build issue with Redhat EL5.1

need include files/definitions for sleep, getpid, gettimeofday

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: Fix long delays with the cma provider open call when DNS is not configured...
Arlin Davis [Mon, 12 May 2008 17:00:07 +0000 (10:00 -0700)]
dapl: Fix long delays with the cma provider open call when DNS is not configured on server.

Open call should default to netdev names when resolving local IP address for cma binding to match dat.conf settings. The open code attempts to resolve with IP or Hostname first and if there is no DNS services setup the failover to netdev name resolution is delayed for as much as 20 seconds.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: change cma provider to use max_rdma_read_in,out from ep_attr instead of HCA...
Arlin Davis [Mon, 12 May 2008 16:59:07 +0000 (09:59 -0700)]
dapl: change cma provider to use max_rdma_read_in,out from ep_attr instead of HCA max values when connecting.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agoRelease 1.2.6 dapl-1.2.6-1
Arlin Davis [Wed, 30 Apr 2008 21:49:33 +0000 (14:49 -0700)]
Release 1.2.6

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: fix post_send, post_recv to handle 0 byte's and NULL iov handles
Arlin Davis [Wed, 30 Apr 2008 20:51:58 +0000 (13:51 -0700)]
dapl: fix post_send, post_recv to handle 0 byte's and NULL iov handles

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodat: udat_sr_parser ia_name will fail on comments, turn down debug message
Arlin Davis [Wed, 30 Apr 2008 20:27:52 +0000 (13:27 -0700)]
dat: udat_sr_parser ia_name will fail on comments, turn down debug message

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodat: cleanup error handling with static registry parsing of dat.conf
Arlin Davis [Tue, 29 Apr 2008 23:15:24 +0000 (16:15 -0700)]
dat: cleanup error handling with static registry parsing of dat.conf

change asserts to return codes, add log messages, and
report errors via open instead of asserts during dat
library load.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: cma provider needs to support lower inline send default for iWARP
Arlin Davis [Mon, 28 Apr 2008 17:14:35 +0000 (10:14 -0700)]
dapl: cma provider needs to support lower inline send default for iWARP

IB and iWARP work best with different defaults. Add transport check
and set default accordingly. 64 for iWARP, 200 for IB.

DAPL_MAX_INLINE environment variable is still used to override.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: add vendor_err with DTO error logging
Arlin Davis [Mon, 28 Apr 2008 15:40:51 +0000 (08:40 -0700)]
dapl: add vendor_err with DTO error logging

DAPL_GET_CQE_VENDOR_ERR added to get vendor_err via cq entry.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: add check before destroying cm event channel in release
Arlin Davis [Fri, 25 Apr 2008 22:12:14 +0000 (15:12 -0700)]
dapl: add check before destroying cm event channel in release

library may be loaded and unloaded without calling open
in which case the cm event channel is not created.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapltest: does not include definitions for inet_ntoa.
Arlin Davis [Thu, 24 Apr 2008 18:50:00 +0000 (11:50 -0700)]
dapltest: does not include definitions for inet_ntoa.

At load time the symbol was resolved but with the
default definition of int, instead of char*, it caused
segfault. Add correct include files in dapl_mdep_user.h
for linux.

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agodapl: evd_alloc doesn't check for direct_object_create errors.
Arlin Davis [Tue, 22 Apr 2008 19:55:27 +0000 (12:55 -0700)]
dapl: evd_alloc doesn't check for direct_object_create errors.

Fix error check in dapls_ib_wait_object_create() and dat_evd_alloc.
When attempting to create large number of evd's that exceed
open files limit the error was not propagated up causing
a segfault. Note: there are 3 FD's required for each EVD
2 for pipe, and one for cq event_channel.

Change the error reporting to indicate correct return
code and send to log with non-debug builds.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl: change packaging to modify OFA provider contents of dat.conf instead of file...
Arlin Davis [Mon, 14 Apr 2008 20:10:30 +0000 (13:10 -0700)]
dapl: change packaging to modify OFA provider contents of dat.conf instead of file replacement.

Change the packaging to update only the OFA provider contents in dat.conf. This allows other
dapl providers, other then OFA, to co-exist and configure properly. Adding manpage to explain
syntax of this static configuration file.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodapl openib_cma: fix hca query to use correct max_rd_atom values
Arlin Davis [Fri, 11 Apr 2008 18:38:02 +0000 (11:38 -0700)]
dapl openib_cma: fix hca query to use correct max_rd_atom values

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agodat/dapl: add support for logging errors in non-debug build.
Arlin Davis [Wed, 9 Apr 2008 23:45:53 +0000 (16:45 -0700)]
dat/dapl: add support for logging errors in non-debug build.

Add debug logging (stdout, syslog) for error cases during
device open, cm, async, and dto operations. Default settings
are ERR for DAPL_DBG_TYPE, and stdout for DAPL_DBG_DEST.

Add logging by default if library load fails.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agoremove unnecessary assert from dapl_ep_free.
Arlin Davis [Tue, 18 Mar 2008 23:11:07 +0000 (15:11 -0800)]
remove unnecessary assert from dapl_ep_free.

dat_ep_free must handle the case where a consumer calls
free in CONNECTED or DISCONNECT_PENDING states. After
free calls disconnect, there may be a pending event,
in which case the providers dapls_ib_qp_free will block
accordingly and handle pending events.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agofix openib_scm compiler warning
Patrick Marchand Latifi [Fri, 14 Mar 2008 21:30:20 +0000 (14:30 -0700)]
fix openib_scm compiler warning

Cast to socklen_t since accept(2) expects an unsigned argument.

Makes the openib_scm provider now build successfully when using
make VERBS=<provider> (the -Werror flag was causing the build
failure)

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agofix provider-specific compiler warnings
Patrick Marchand Latifi [Fri, 14 Mar 2008 21:30:15 +0000 (14:30 -0700)]
fix provider-specific compiler warnings

Initialize ds_array_start_p otherwise the compiler would claim
that this variable could be used with an uninitialized value.

Makes the uDAPL providers now build successfully when using make
VERBS=<provider> (the -Werror flag was causing the build failure)

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agouDAPL: fix query to adjust max sge for default inline of 64 bytes
Arlin Davis [Tue, 11 Mar 2008 17:24:51 +0000 (09:24 -0800)]
uDAPL: fix query to adjust max sge for default inline of 64 bytes
       and include missing max_rdma_write_iov ep_attr field

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agouDAT: fix reuse of va_list in debugging mode
Patrick Marchand Latifi [Fri, 7 Mar 2008 17:37:41 +0000 (09:37 -0800)]
uDAT: fix reuse of va_list in debugging mode

Make sure we reinitialize the va_list since va_list is undefined
if a function traverses the va_list with va_arg.

This patch fixes the uDAT debugging case when both stdout and
syslog output is wanted.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoAdd hostname and process id to debug output to aid
Arlin Davis [Thu, 6 Mar 2008 23:40:12 +0000 (15:40 -0800)]
Add hostname and process id to debug output to aid
scale-up and out debug.

Signed-off by: Arlin Davis ardavis@ichips.intel.com

16 years agofix reuse of va_list in debugging mode
Patrick Marchand Latifi [Sun, 24 Feb 2008 05:02:05 +0000 (21:02 -0800)]
fix reuse of va_list in debugging mode

Make sure we reinitialize the va_list since va_list is undefined
if a function traverses the va_list with va_arg.

This patch fixes the debugging case when both stdout and syslog
output is wanted.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoFix memory leak in provider specific post send/recv if there's
Patrick Marchand Latifi [Wed, 20 Feb 2008 00:49:45 +0000 (16:49 -0800)]
Fix memory leak in provider specific post send/recv if there's
more than DEFAULT_DS_ENTRIES iovecs.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoFix gethostname handling
Patrick Marchand Latifi [Tue, 19 Feb 2008 11:17:35 +0000 (03:17 -0800)]
Fix gethostname handling
Guarantee NUL termination if hostname gets truncated.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoFix memory leak in error path
Patrick Marchand Latifi [Tue, 19 Feb 2008 11:17:29 +0000 (03:17 -0800)]
Fix memory leak in error path
Make sure we don't leak the hash table if dapl_hca_alloc fails.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoFix memory leak.
Patrick Marchand Latifi [Tue, 19 Feb 2008 11:17:24 +0000 (03:17 -0800)]
Fix memory leak.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoFix memory leak in error path.
Patrick Marchand Latifi [Tue, 19 Feb 2008 11:17:19 +0000 (03:17 -0800)]
Fix memory leak in error path.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoFix memory leak
Patrick Marchand Latifi [Tue, 19 Feb 2008 11:17:14 +0000 (03:17 -0800)]
Fix memory leak

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoDAPL v1: Fix Memory Leak
Patrick Marchand Latifi [Tue, 19 Feb 2008 11:17:09 +0000 (03:17 -0800)]
DAPL v1: Fix Memory Leak

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoRelease 1.2.5 dapl-1.2.5-1 ofed_1_3-v1
Arlin Davis [Fri, 15 Feb 2008 18:07:05 +0000 (10:07 -0800)]
Release 1.2.5

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agouDAPL cma v1: turn down dbg noise level on rejects
Arlin Davis [Fri, 15 Feb 2008 17:59:48 +0000 (09:59 -0800)]
uDAPL cma v1: turn down dbg noise level on rejects

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agodapltest v1: change default provider name to OpenIB-cma
Arlin Davis [Fri, 15 Feb 2008 17:44:57 +0000 (09:44 -0800)]
dapltest v1: change default provider name to OpenIB-cma

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agouDAT: Make sure we initialize the dictionary entry early enough so that
Arlin Davis [Thu, 14 Feb 2008 17:34:27 +0000 (09:34 -0800)]
uDAT: Make sure we initialize the dictionary entry early enough so that
we can base our cleanup decisions on that variable being
initialized.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoMake sure we stay within bounds when manipulating the ia_name.
Arlin Davis [Thu, 14 Feb 2008 17:33:04 +0000 (09:33 -0800)]
Make sure we stay within bounds when manipulating the ia_name.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agouDAT: Make sure we stay within bounds when manipulating the ia handle.
Arlin Davis [Thu, 14 Feb 2008 17:31:46 +0000 (09:31 -0800)]
uDAT: Make sure we stay within bounds when manipulating the ia handle.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agouDAT: Zero-out memory otherwise we might base our cleanup decisions on
Arlin Davis [Thu, 14 Feb 2008 17:30:43 +0000 (09:30 -0800)]
uDAT: Zero-out memory otherwise we might base our cleanup decisions on
uninitialized memory.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agodtest: Fix typo in memset
Arlin Davis [Thu, 14 Feb 2008 17:28:56 +0000 (09:28 -0800)]
dtest: Fix typo in memset

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agouDAPL cma provider: add src/dst addr to reject debug messages
Arlin Davis [Thu, 14 Feb 2008 17:25:43 +0000 (09:25 -0800)]
uDAPL cma provider: add src/dst addr to reject debug messages

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoudapl OFA provider: set listen backlog to default cma backlog max.
Arlin Davis [Mon, 11 Feb 2008 23:43:18 +0000 (15:43 -0800)]
udapl OFA provider: set listen backlog to default cma backlog max.

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoThe OFA dapl provider is checking for incorrect return code
Arlin Davis [Mon, 11 Feb 2008 22:50:51 +0000 (14:50 -0800)]
The OFA dapl provider is checking for incorrect return code
from rdma_bind_addr and rdma_listen calls. This causes an error
to be returned back to the consumer instead of correctly
incrementing the seed port and re-calling the OFA provider
until a valid port is issued. The seed value (1000) is also
incorrect and should start a non-privledged port (1024) to
avoid EPERM errors when seeding the starting port value.

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoRelease 1.2.4 ChangeLog dapl-1.2.4-1
Arlin Davis [Mon, 28 Jan 2008 22:03:30 +0000 (14:03 -0800)]
Release 1.2.4  ChangeLog

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoRelease 1.2.4
Arlin Davis [Mon, 28 Jan 2008 22:01:40 +0000 (14:01 -0800)]
Release 1.2.4

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoopenib_cma: fix cm responder/initiator exchange
Arlin Davis [Mon, 28 Jan 2008 22:00:47 +0000 (14:00 -0800)]
openib_cma: fix cm responder/initiator exchange
            cleanup destroy_conn code

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoUpdate Changelog dapl-1.2.3-1
Arlin Davis [Wed, 31 Oct 2007 18:59:30 +0000 (10:59 -0800)]
Update Changelog

16 years ago- DAT/DAPL Version 1.2.3 Release 1
Arlin Davis [Wed, 31 Oct 2007 18:58:51 +0000 (10:58 -0800)]
- DAT/DAPL Version 1.2.3 Release 1

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>