]> git.openfabrics.org - ~ardavis/dapl.git/log
~ardavis/dapl.git
15 years agowindows ibal-scm: dapl/dirs file needs updated to remove ibal-scm
Arlin Davis [Fri, 1 May 2009 17:18:05 +0000 (10:18 -0700)]
windows ibal-scm: dapl/dirs file needs updated to remove ibal-scm

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agoRelease 2.0.19 dapl-2.0.19-1 ofed_1_4_1-v2
Arlin Davis [Thu, 30 Apr 2009 06:13:36 +0000 (23:13 -0700)]
Release 2.0.19

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agoscm, cma: dat max_lmr_block_size is 32 bit, verbs max_mr_size is 64 bit
Arlin Davis [Wed, 29 Apr 2009 21:33:28 +0000 (14:33 -0700)]
scm, cma: dat max_lmr_block_size is 32 bit, verbs max_mr_size is 64 bit

mismatch of device attribute size restricts max_lmr_block_size to 32 bit
value. Add check, if larger then limit to 4G-1 until DAT v2 spec changes.

Consumers should use max_lmr_virtual_address for actual max
registration block size until attribute interface changes.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agoscm: increase default MTU size from 1024 to 2048
Arlin Davis [Wed, 29 Apr 2009 17:51:03 +0000 (10:51 -0700)]
scm: increase default MTU size from 1024 to 2048

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agoopenib_scm, cma: use direct SGE mappings from dat_lmr_triplet to ibv_sge
Arlin Davis [Wed, 29 Apr 2009 17:49:09 +0000 (10:49 -0700)]
openib_scm, cma: use direct SGE mappings from dat_lmr_triplet to ibv_sge

no need to rebuild scatter gather list given that DAT v2.0
is now aligned with verbs ibv_sge. Fix ib_send_op_type_t typedef.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agodtest: add flush EVD call after data transfer errors
Arlin Davis [Wed, 29 Apr 2009 15:39:37 +0000 (08:39 -0700)]
dtest: add flush EVD call after data transfer errors

Flush and print entries on async, request, and receive
queues after any data transfer error. Will help
identify failing operation during operations
without completion events requested.
Fix -B0 so burst size of 0 works.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agodtest/dapltest: Cleanup code with Lindent
Arlin Davis [Wed, 22 Apr 2009 20:16:19 +0000 (13:16 -0700)]
dtest/dapltest: Cleanup code with Lindent

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoibal-scm: remove, obsolete
Arlin Davis [Tue, 21 Apr 2009 22:51:24 +0000 (15:51 -0700)]
ibal-scm: remove, obsolete

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoscm, cma provider: Cleanup code with Lindent
Arlin Davis [Tue, 21 Apr 2009 22:44:15 +0000 (15:44 -0700)]
scm, cma provider: Cleanup code with Lindent

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoudapl: Cleanup code with Lindent
Arlin Davis [Tue, 21 Apr 2009 22:39:01 +0000 (15:39 -0700)]
udapl: Cleanup code with Lindent

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodapl common: Cleanup code with Lindent
Arlin Davis [Tue, 21 Apr 2009 22:31:20 +0000 (15:31 -0700)]
dapl common: Cleanup code with Lindent

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodat: Cleanup code with Lindent
Arlin Davis [Tue, 21 Apr 2009 19:52:29 +0000 (12:52 -0700)]
dat: Cleanup code with Lindent

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoRelease 2.0.18 dapl-2.0.18-1
Arlin Davis [Mon, 20 Apr 2009 19:28:08 +0000 (12:28 -0700)]
Release 2.0.18

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodapltest: reset server listen ports to avoid collisions during long runs
Arlin Davis [Thu, 16 Apr 2009 21:35:18 +0000 (14:35 -0700)]
dapltest: reset server listen ports to avoid collisions during long runs

If server is running continuously the port number increments
from base without reseting between tests. This will
eventually cause collisions in port space.

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoTo avoid duplicating port numbers between different tests, the next port
Sean Hefty [Thu, 16 Apr 2009 17:21:51 +0000 (10:21 -0700)]
To avoid duplicating port numbers between different tests, the next port
number to use must increment based on the number of endpoints per thread *
the number of threads.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agodapltest assumes that events across multiple endpoints occur in a specific
Sean Hefty [Thu, 16 Apr 2009 17:21:45 +0000 (10:21 -0700)]
dapltest assumes that events across multiple endpoints occur in a specific
order.  Since this is a false assumption, avoid this by directing events to
per endpoint EVDs, rather than using shared EVDs.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoSynchronization is missing between removing items from an EVD and queuing
Sean Hefty [Thu, 16 Apr 2009 17:21:41 +0000 (10:21 -0700)]
Synchronization is missing between removing items from an EVD and queuing
them.  Since the removal thread is the user's, but the queuing thread is
not, the synchronization must be provided by DAPL.  Hold the evd lock
around any calls to dapls_rbuf_*.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoCommunication to the CR thread is done using an internal socket. When a
Sean Hefty [Thu, 16 Apr 2009 17:21:26 +0000 (10:21 -0700)]
Communication to the CR thread is done using an internal socket.  When a
new connection request is ready for processing, an object is placed on
the CR list, and data is written to the internal socket.  The write causes
the CR thread to wake-up and process anything on its cr list.

If multiple objects are placed on the CR list around the same time, then
the CR thread will read in a single character, but process the entire list.
This results in additional data being left on the internal socket.  When
the CR does a select(), it will find more data to read, read the data, but
not have any real work to do.  The result is that the thread spins in a
loop checking for changes when none have occurred until all data on the
internal socket has been read.

Avoid this overhead by reading all data off the internal socket before
processing the CR list.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoThe dapl connect call takes as input an address (sockaddr) and a port number
Sean Hefty [Thu, 16 Apr 2009 17:21:13 +0000 (10:21 -0700)]
The dapl connect call takes as input an address (sockaddr) and a port number
as separate input parameters.  It modifies the sockaddr address to set the
port number before trying to connect.  This leads to a situation in
dapltest with multiple threads that reference the same buffer for their
address, but specify different port numbers, where the different threads
end up trying to connect to the same remote port.

To solve this, do not modify the caller's address buffer and instead use
a local buffer.  This fixes an issue seen running multithreaded tests with
dapltest.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoWindows socket calls should check return values against SOCKET_ERROR to
Sean Hefty [Thu, 16 Apr 2009 17:21:03 +0000 (10:21 -0700)]
Windows socket calls should check return values against SOCKET_ERROR to
determine if an error occurred.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoBuild: add new file dapl/openib_cma/linux/openib_osd.h to EXTRA_DIST
Arlin Davis [Fri, 10 Apr 2009 15:33:41 +0000 (08:33 -0700)]
Build: add new file dapl/openib_cma/linux/openib_osd.h to EXTRA_DIST

Fix rpmbuild problem with new cma osd include file.

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodapl scm: reduce wait time for thread startup.
Arlin Davis [Fri, 10 Apr 2009 15:32:24 +0000 (08:32 -0700)]
dapl scm: reduce wait time for thread startup.

thread startup wait reduce to 2ms to reduce open times.

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodapl-scm: getsockopt optlen needs initialized to size of optval
Arlin Davis [Fri, 10 Apr 2009 15:31:22 +0000 (08:31 -0700)]
dapl-scm: getsockopt optlen needs initialized to size of optval

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoThe connection request thread adds sockets to a select list unless
Sean Hefty [Fri, 10 Apr 2009 15:17:32 +0000 (08:17 -0700)]
The connection request thread adds sockets to a select list unless
the cr->socket is invalid and the cr request state is set to destroy.  If the
cr->socket is invalid, but the cr->state is not destroy, then the cr->socket
is added to an FD set for select/poll.  This results in select/poll
returning an error when select is called.  As a result, the cr thread never
actually blocks during this state.

Fix this by only destroying a cr based on its state being set to destroy
and skip adding cr->sockets to the FD set when they are invalid.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoMake sure all locks are initialized properly and don't zero their memory
Sean Hefty [Fri, 10 Apr 2009 15:08:16 +0000 (08:08 -0700)]
Make sure all locks are initialized properly and don't zero their memory
once they are.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoThe lock functions are defined just a few lines beneath the prototypes
Sean Hefty [Fri, 10 Apr 2009 15:08:13 +0000 (08:08 -0700)]
The lock functions are defined just a few lines beneath the prototypes
as inline.  Remove the duplicate prototypes.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoMake sure all locks are initialized and don't zero out their memory once
Sean Hefty [Fri, 10 Apr 2009 15:08:07 +0000 (08:08 -0700)]
Make sure all locks are initialized and don't zero out their memory once
they are.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoThe IBAL library allocates a small number of threads for callbacks to the
Sean Hefty [Fri, 10 Apr 2009 15:08:03 +0000 (08:08 -0700)]
The IBAL library allocates a small number of threads for callbacks to the
user.  If the user blocks all of the callback threads, no additional
callbacks can be invoked.  The DAPL IBAL provider cancels listen requests
from within an IBAL callback, then waits for a second callback to confirm
that the listen has been canceled.  If there is a single IBAL callback
thread, or multiple listens are canceled simultaneously, then the provider
can deadlock waiting for a cancel callback that never occurs.

This problem is seen when running dapltest with multiple threads.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoWe need to check the return value from select for errors before checking
Sean Hefty [Fri, 10 Apr 2009 15:07:57 +0000 (08:07 -0700)]
We need to check the return value from select for errors before checking
the FD sets.  An item may be in an FD set but select could have returned
an error.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoSigned-off-by: Sean Hefty <sean.hefty@intel.com>
Sean Hefty [Fri, 10 Apr 2009 15:07:53 +0000 (08:07 -0700)]
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoEnable building with CQ_WAIT_OBJECTS support to directly wait on CQ
Sean Hefty [Fri, 10 Apr 2009 15:07:49 +0000 (08:07 -0700)]
Enable building with CQ_WAIT_OBJECTS support to directly wait on CQ
completion channels in the Windows version of the openib_scm provider.
Also minor fixup to use DAPL_DBG_TYPE_UTIL for debug log messages
instead of DAPL_DBG_TYPE_CM.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoThe IBAL-SCM provider will run into an inifinite loop if the check for
Sean Hefty [Fri, 10 Apr 2009 15:07:44 +0000 (08:07 -0700)]
The IBAL-SCM provider will run into an inifinite loop if the check for
cr->socket > SCM_MAX_CONN - 1 fails.  The code continues back to the start
of the while loop without moving to the next connection request entry
in the list.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agonext_cr is set just before and inside the check
Sean Hefty [Fri, 10 Apr 2009 15:07:40 +0000 (08:07 -0700)]
next_cr is set just before and inside the check
if ((cr->socket == DAPL_INVALID_SOCKET && cr->state == SCM_DESTROY)
Remove setting it inside the if statement.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoSome errors on windows are more easily interpretted in hex than decimal.
Sean Hefty [Fri, 10 Apr 2009 15:07:35 +0000 (08:07 -0700)]
Some errors on windows are more easily interpretted in hex than decimal.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoThe WinOF HCA driver cannot handle transitioning from RTS -> RESET ->
Sean Hefty [Fri, 10 Apr 2009 15:07:32 +0000 (08:07 -0700)]
The WinOF HCA driver cannot handle transitioning from RTS -> RESET ->
INIT -> ERROR.  Simply delete the QP and re-create it to reinitialize
the endpoint until the bug is fixed.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoSigned-off-by: Sean Hefty <sean.hefty@intel.com>
Sean Hefty [Fri, 10 Apr 2009 15:07:23 +0000 (08:07 -0700)]
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoConvert the openib_cma provider to common code between linux and windows.
Sean Hefty [Fri, 10 Apr 2009 15:07:18 +0000 (08:07 -0700)]
Convert the openib_cma provider to common code between linux and windows.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoMove from using pipes to sockets for internal communication. This
Sean Hefty [Fri, 10 Apr 2009 15:06:53 +0000 (08:06 -0700)]
Move from using pipes to sockets for internal communication.  This
avoids issues with windows only supporting select() on sockets.

Remove windows specific definition of dapl_dbg_log.

Update to latest windows libibverbs implementation using completion
channel abstraction to improve windows scalability and simplify
porting where FD's are accessed directly in Linux.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoRelease 2.0.17
Arlin Davis [Tue, 31 Mar 2009 13:41:50 +0000 (05:41 -0800)]
Release 2.0.17

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:22:11 +0000 (05:22 -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 2.0.16 dapl-2.0.16-1
Arlin Davis [Mon, 16 Mar 2009 21:23:50 +0000 (13:23 -0800)]
Release 2.0.16

Fix changelog year in spec file.

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

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agouDAPL: scm provider, remove query gid/lid from connection setup phase
Arlin Davis [Fri, 13 Mar 2009 20:39:12 +0000 (12:39 -0800)]
uDAPL: scm provider, remove query gid/lid from connection setup phase

move lid/gid queries from the connection setup phase
and put them in the open call to avoid overhead
of more fd's during connections. No need
to query during connection setup since uDAPL
binds to specific hca/ports via dat_ia_open.

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoBuild: missing new linux/osd include file in EXTRA_DIST
Arlin Davis [Thu, 12 Mar 2009 20:44:43 +0000 (12:44 -0800)]
Build: missing new linux/osd include file in EXTRA_DIST

Add dapl/openib_scm/linux/openib_osd.h to EXTRA_DIST

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:21 +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 [Wed, 4 Mar 2009 18:04:13 +0000 (10:04 -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 agodtestx: add missing F64u definition for windows
Arlin Davis [Tue, 3 Mar 2009 19:08:12 +0000 (11:08 -0800)]
dtestx: add missing F64u definition for windows

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agouDAPL common: add 64 bit counters for IA, EP, and EVD's.
Arlin Davis [Tue, 3 Mar 2009 17:25:26 +0000 (09:25 -0800)]
uDAPL common: add 64 bit counters for IA, EP, and EVD's.

 -DDAPL_COUNTERS to build-in counters for cma and scm providers.
 New extension calls in dat_ib_extensions.h for counters
dat_print_counters, dat_query_counters
 Counters for operations, async errors, and data
 Update dtestx (-p) with print and query counter examples

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agoModify the openib_scm provider to support both OFED and WinOF releases.
Sean Hefty [Tue, 17 Feb 2009 15:24:27 +0000 (07:24 -0800)]
Modify the openib_scm provider to support both OFED and WinOF releases.
This takes advantage of having a libibverbs compatibility library.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoUpdate the dapl.git tree with the latest SVN version of the
Stan Smith [Fri, 30 Jan 2009 17:52:33 +0000 (09:52 -0800)]
Update the dapl.git tree with the latest SVN version of the
ibal-scm provider.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoMerge SVN IBAL provider code back into the main git tree.
Stan Smith [Fri, 30 Jan 2009 17:52:25 +0000 (09:52 -0800)]
Merge SVN IBAL provider code back into the main git tree.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoChanges to dtest to support building on Windows.
Sean Hefty [Fri, 30 Jan 2009 17:52:11 +0000 (09:52 -0800)]
Changes to dtest to support building on Windows.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoAdd return codes to various functions.
Stan Smith [Fri, 30 Jan 2009 17:48:26 +0000 (09:48 -0800)]
Add return codes to various functions.
Add script (batch file) for Windows testing.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoMerge OFED and WinOF trees for common dapl code.
Sean Hefty [Fri, 30 Jan 2009 17:46:40 +0000 (09:46 -0800)]
Merge OFED and WinOF trees for common dapl code.

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

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

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:53 +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 agoCurrent static registration (SR) assumes DAT_OVERRIDE or /etc/dat.conf.
Arlin Davis [Tue, 14 Oct 2008 18:56:35 +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 2.0.14 dapl-2.0.14-1
Arlin Davis [Fri, 3 Oct 2008 15:00:56 +0000 (08:00 -0700)]
Release 2.0.14

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodat.conf: add ofa-v2-iwarp entry for iwarp devices
Arlin Davis [Fri, 3 Oct 2008 12:40:04 +0000 (05:40 -0700)]
dat.conf: add ofa-v2-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:10 +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:17:49 +0000 (08:17 -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 agodtest: fix 32-bit build issues in dtest and dtestx examples.
Arlin Davis [Fri, 26 Sep 2008 19:43:13 +0000 (12:43 -0700)]
dtest: fix 32-bit build issues in dtest and dtestx examples.

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

This reverts commit 816d1c3acfb4a457c6b1cc07d657f018312f2a63.

missed some fixes for package release.

15 years agoRelease 2.0.14
Arlin Davis [Wed, 24 Sep 2008 19:13:37 +0000 (12:13 -0700)]
Release 2.0.14

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:32 +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 agodapl scm: UD shares EP's which requires serialization
Arlin Davis [Wed, 24 Sep 2008 15:26:28 +0000 (08:26 -0700)]
dapl scm: UD shares EP's which requires serialization

add locking around the modify_qp state changes to avoid
unnecessary modify_qp calls during multiple resolve
remote AH connection events on a single EP.

Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
15 years agodtestx: Add new options to test UD.
Arlin Davis [Sat, 20 Sep 2008 23:02:00 +0000 (16:02 -0700)]
dtestx: Add new options to test UD.

- many to one/many EP remote AH resolution, data flow
- bi-directional EP remote AH resolution, data flow

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

15 years agodapl: fixes for IB UD extensions in common code and socket cm provider.
Arlin Davis [Sat, 20 Sep 2008 22:58:59 +0000 (15:58 -0700)]
dapl: fixes for IB UD extensions in common code and socket cm provider.

 - Manage EP states base on attribute service type.
 - Allow multiple connections (remote_ah resolution)
   and accepts on UD type endpoints.
 - Supply private data on CR conn establishment
 - Add UD extension conn event type - DAT_IB_UD_PASSIVE_REMOTE_AH

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

15 years agodapl: add provider specific attribute query option for IB UD MTU size
Arlin Davis [Sat, 20 Sep 2008 22:49:40 +0000 (15:49 -0700)]
dapl: add provider specific attribute query option for IB UD MTU size

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

15 years agoRelease 2.0.13
Arlin Davis [Mon, 1 Sep 2008 22:52:37 +0000 (15:52 -0700)]
Release 2.0.13

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

15 years agodapl build: add correct CFLAGS, set non-debug build by default for v2
Arlin Davis [Mon, 1 Sep 2008 19:24:49 +0000 (12:24 -0700)]
dapl build: add correct CFLAGS, set non-debug build by default for v2

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 19:22:19 +0000 (12:22 -0700)]
dapl providers: fix compiler warnings in cma and scm providers

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 19:20:08 +0000 (12:20 -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 19:18:48 +0000 (12:18 -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 19:16:58 +0000 (12:16 -0700)]
dtest/dapltest: fix compiler warnings

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

15 years agodapl cma: debug message during query needs definition for inet_ntoa
Arlin Davis [Fri, 22 Aug 2008 21:51:22 +0000 (14:51 -0700)]
dapl cma: debug message during query needs definition for inet_ntoa

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

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

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:51:00 +0000 (18:51 -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:47:19 +0000 (18:47 -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:27:08 +0000 (18:27 -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:24:33 +0000 (18:24 -0700)]
dapltest: add check for duplicate disconnect events in transaction test

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

15 years agodtestx: fix stack corruption problem with hostname strcpy
Arlin Davis [Thu, 21 Aug 2008 01:22:42 +0000 (18:22 -0700)]
dtestx: fix stack corruption problem with hostname strcpy

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

16 years agodapl scm: use correct device attribute for max_rdma_read_out, max_qp_init_rd_atom
Arlin Davis [Thu, 14 Aug 2008 16:42:57 +0000 (09:42 -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

16 years agodapl scm: change IB RC qp inline and timer defaults.
Arlin Davis [Thu, 14 Aug 2008 16:19:53 +0000 (09:19 -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

16 years agodapl scm: add mtu adjustments via environment, default = 1024.
Arlin Davis [Thu, 14 Aug 2008 16:12:38 +0000 (09:12 -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

16 years agodapl scm: change connect and accept to non-blocking to avoid blocking user thread.
Arlin Davis [Wed, 13 Aug 2008 21:17:40 +0000 (14:17 -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

16 years agodapl scm: update max_rdma_read_iov, max_rdma_write_iov EP attributes during query
Arlin Davis [Tue, 29 Jul 2008 15:18:25 +0000 (08:18 -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

16 years agoRelease 2.0.11 dapl-2.0.11-1 ofed_1_4-alpha-v2
Arlin Davis [Sun, 20 Jul 2008 20:20:45 +0000 (13:20 -0700)]
Release 2.0.11

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

16 years agodtestx: add -d option to test new IB UD extension.
Arlin Davis [Sun, 20 Jul 2008 20:17:22 +0000 (13:17 -0700)]
dtestx: add -d option to test new IB UD extension.

modify dtestx to connect peer UD QP's and exchange/verify messages as an example for new extension.

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

16 years agodapl scm: add support for UD extensions in Openfabrics socket cm provider
Arlin Davis [Sun, 20 Jul 2008 20:13:09 +0000 (13:13 -0700)]
dapl scm: add support for UD extensions in Openfabrics socket cm provider

add qp_type in connection information exchange
add new post_send_ud call
changes to connection manager to support qp types beyond RC.
changes to connection events to use new extended event calls.
exchange address handle information during connection phase.
changes to modify_qp to handle both RC and UD types.

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

16 years agodapl: add support for UD extensions in common code.
Arlin Davis [Sun, 20 Jul 2008 20:07:34 +0000 (13:07 -0700)]
dapl: add support for UD extensions in common code.

allow EP create for extended service types.
extend connection event types to include UD AH resolution/exchange.
add new extended connect and connect request upcalls for providers.
- dapls_evd_post_cr_event_ext
- dapls_evd_post_connection_event_ext

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

16 years agodat: New definitions for IB unreliable datagram extension
Arlin Davis [Sun, 20 Jul 2008 19:57:49 +0000 (12:57 -0700)]
dat: New definitions for IB unreliable datagram extension

Extend EP dat_service_type, with DAT_IB_SERVICE_TYPE_UD
Add IB extension call dat_ib_post_send_ud().
Add address handle definition for UD calls.
Add IB event definitions to provide remote AH via connect and connect requests
Roll IB extension version to 2.0.2

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

16 years agodat: allow TYPE_ERR messages to be turned off with DAT_DBG_TYPE
Arlin Davis [Fri, 18 Jul 2008 14:46:20 +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 agodapltest: manpage - rdma write example incorrect
Arlin Davis [Wed, 25 Jun 2008 15:02:11 +0000 (08:02 -0700)]
dapltest: manpage - rdma write example incorrect

parameter for rdma write should be RW and not WR

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:30 +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 agoRelease 2.0.10 dapl-2.0.10-1
Arlin Davis [Mon, 23 Jun 2008 17:52:46 +0000 (10:52 -0700)]
Release 2.0.10

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

16 years agoremove reference to doc/dat.conf in makefile.am
Arlin Davis [Mon, 23 Jun 2008 17:35:17 +0000 (10:35 -0700)]
remove reference to doc/dat.conf in makefile.am

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:34:49 +0000 (13:34 -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 [Wed, 18 Jun 2008 21:21:28 +0000 (14:21 -0700)]
dapl scm: add stdout logging for uname and gethostbyname errors during open.

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