]> git.openfabrics.org - ~ardavis/dapl.git/log
~ardavis/dapl.git
15 years agodapltest: windows scripts updated
Arlin Davis [Wed, 10 Jun 2009 19:05:17 +0000 (12:05 -0700)]
dapltest: windows scripts updated

Support added for provider specification and general simplification of internal workings.

Signed-off-by: Stan Smith <stan.smith@intel.com>
15 years agoscm: private data is not handled properly via CR rejects.
Arlin Davis [Wed, 10 Jun 2009 16:18:09 +0000 (09:18 -0700)]
scm: private data is not handled properly via CR rejects.

For both RC and UD connect requests, the private
data is not being received on socket and passed
back via the active side REJECT event.

UD requires new extended reject event type of
DAT_IB_UD_CONNECTION_REJECT_EVENT to distiquish
between RC and UD type rejects.

cr_thread exit/cleanup processing fixed to insure
all items are off the list before exiting.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agoscm: cleanup orphaned UD CR's when destroying the EP
Arlin Davis [Wed, 10 Jun 2009 16:09:56 +0000 (09:09 -0700)]
scm: cleanup orphaned UD CR's when destroying the EP

UD CR objects are kept active because of direct private data references
from CONN events. The cr->socket is closed and marked inactive but the
object remains allocated and queued on the CR resource list. There can
be multiple CR's associated with a given EP and there is no way to
determine when consumer is finished with event until the dat_ep_free.
Schedule destruction for all CR's associated with this EP during
free call. cr_thread will complete cleanup with state of SCM_DESTROY.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agoscm: provider specific query for default UD MTU is wrong.
Arlin Davis [Wed, 10 Jun 2009 16:05:32 +0000 (09:05 -0700)]
scm: provider specific query for default UD MTU is wrong.

Change the provider specific query DAT_IB_TRANSPORT_MTU
to report 2048 for new default MTU size.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agoscm: update CM code to shutdown before closing socket
Arlin Davis [Wed, 10 Jun 2009 17:06:59 +0000 (10:06 -0700)]
scm: update CM code to shutdown before closing socket

data could be lost without calling shutdown on the socket
before closing. Update to shutdown and then close. Add
definition for SHUT_RW to SD_BOTH for windows.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
---

15 years agodapltest: windows script dt-cli.bat updated
Arlin Davis [Thu, 4 Jun 2009 20:48:18 +0000 (13:48 -0700)]
dapltest: windows script dt-cli.bat updated

scn should be scm

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agodapl/windows cma provider: add support for network devices based on index
Sean Hefty [Thu, 4 Jun 2009 15:19:12 +0000 (08:19 -0700)]
dapl/windows cma provider: add support for network devices based on index

The linux cma provider provides support for named network devices, such
as 'ib0' or 'eth0'.  This allows the same dapl configuration file to
be used easily across a cluster.

To allow similar support on Windows, allow users to specify the device
name 'rdma_devN' in the dapl.conf file.  The given index, N, is map to a
corresponding IP address that is associated with an RDMA device.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
15 years agoopenib: remove 1st gen provider, replaced with openib_cma and openib_scm
Arlin Davis [Thu, 4 Jun 2009 15:00:29 +0000 (08:00 -0700)]
openib: remove 1st gen provider, replaced with openib_cma and openib_scm

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agodapltest: update windows script files
Arlin Davis [Fri, 29 May 2009 15:21:10 +0000 (08:21 -0700)]
dapltest: update windows script files

Enhancement to take DAPL provider name as cmd-line arguement.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agodapltest: update windows batch files in sripts directory
Arlin Davis [Thu, 28 May 2009 22:30:05 +0000 (15:30 -0700)]
dapltest: update windows batch files in sripts directory

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agowindows_osd/linux_osd: new dapl_os_gettid macro to return thread id
Arlin Davis [Mon, 18 May 2009 21:00:02 +0000 (14:00 -0700)]
windows_osd/linux_osd: new dapl_os_gettid macro to return thread id

Change dapl_os_getpid inline to macro on windows and add dapl_os_gettid
macros on linux and windows to return thread id.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agowindows: missing build files for common and udapl sub-directories
Arlin Davis [Mon, 18 May 2009 20:53:59 +0000 (13:53 -0700)]
windows: missing build files for common and udapl sub-directories

Add dapl/dapl_common_src.c and dapl/dapl_udapl_src.c

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agowindows: add build files for openib_scm, remove /Wp64 build option.
Arlin Davis [Mon, 18 May 2009 16:06:19 +0000 (09:06 -0700)]
windows: add build files for openib_scm, remove /Wp64 build option.

Add build files for windows socket cm and change build
option on windows providers. The new Win7 WDK issues a
depreciated compiler option warning for /Wp64
(Enable 64-bit porting warnings)

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agoscm: multi-hca CM processing broken. Need cr thread wakeup mechanism per HCA.
Arlin Davis [Mon, 18 May 2009 15:50:35 +0000 (08:50 -0700)]
scm: multi-hca CM processing broken. Need cr thread wakeup mechanism per HCA.

Currently there is only one pipe across all
device opens. This results in some posted CR work
getting delayed or not processed at all. Provide
pipe for each device open and cr thread created
and manage on a per device level.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agodtest: add connection timers on client side
Arlin Davis [Fri, 15 May 2009 18:06:19 +0000 (11:06 -0700)]
dtest: add connection timers on client side

Add timers for active connections and print
results. Allow polling or wait on conn event.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 years agolinux_osd: use pthread_self instead of getpid for debug messages
Arlin Davis [Fri, 15 May 2009 16:48:38 +0000 (09:48 -0700)]
linux_osd: use pthread_self instead of getpid for debug messages

getpid provides process ids which are not unique. Use unique thread
id's in debug messages to help isolate issues across many device
opens with multiple CM threads.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
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

15 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