]> git.openfabrics.org - ~ardavis/dapl.git/log
~ardavis/dapl.git
16 years agodat: cleanup error handling with static registry parsing of dat.conf
Arlin Davis [Tue, 29 Apr 2008 23:15:44 +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:20 +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 agodtestx: need to include string.h for memset/strcpy declarations
Arlin Davis [Mon, 28 Apr 2008 16:44:12 +0000 (09:44 -0700)]
dtestx: need to include string.h for memset/strcpy declarations

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:41:05 +0000 (08:41 -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:34 +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 agodapl: evd_alloc doesn't check for direct_object_create errors.
Arlin Davis [Tue, 22 Apr 2008 19:55:13 +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:13 +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:37:48 +0000 (11:37 -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: add logging by default during library load failures.
Arlin Davis [Thu, 10 Apr 2008 00:26:06 +0000 (17:26 -0700)]
dat: add logging by default during library load failures.

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

16 years agodtest: add private data validation with connect and accept.
Arlin Davis [Wed, 9 Apr 2008 00:32:03 +0000 (17:32 -0700)]
dtest: add private data validation with connect and accept.

Include code, with build option, to validate private data with
consumer rejects.

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

16 years agodapl: add hooks in evd connection callback code to deliver private data with consumer...
Arlin Davis [Wed, 9 Apr 2008 00:25:11 +0000 (17:25 -0700)]
dapl: add hooks in evd connection callback code to deliver private data with consumer reject.

PEER rejects can include private data. The common code didn't support delivery
via the connect event data structure. Add the necessary hooks in
dapl_evd_connection_callback function and include checks in openib_cma
provider to check and delivery properly. Also, fix the private data size
check in dapls_ib_reject_connection function.

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

16 years agodapl: increase reject private data size to avoid odd byte offets.
Arlin Davis [Mon, 7 Apr 2008 22:47:57 +0000 (15:47 -0700)]
dapl: increase reject private data size to avoid odd byte offets.

remove reject type checking on passive side since it will
always be non-consumer from active side.

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

16 years agodapl: update vendor information for OFA v2 provider.
Arlin Davis [Sat, 5 Apr 2008 00:04:11 +0000 (16:04 -0800)]
dapl: update vendor information for OFA v2 provider.

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

16 years agodapl: add provider vendor revision data in private data with reject
Arlin Davis [Sat, 5 Apr 2008 00:03:03 +0000 (16:03 -0800)]
dapl: add provider vendor revision data in private data with reject

Add 1 byte header containing provider/vendor major revision
to distinguish between consumer and non-consumer rejects.
Validate size of consumer reject privated data.

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

16 years agodapl: add support for logging errors in non-debug build.
Arlin Davis [Fri, 4 Apr 2008 01:06:27 +0000 (17:06 -0800)]
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.

Change default configuration to build non-debug.

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

16 years agodapl: add support for private data in CR reject.
Arlin Davis [Fri, 4 Apr 2008 00:23:29 +0000 (16:23 -0800)]
dapl: add support for private data in CR reject.

Private data support via dat_cr_reject was added to
the v2 DAT specification but dapl was never extended
to support at the provider level.

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

16 years agodapl: calculate private data size based on transport type and cma_hdr overhead
Arlin Davis [Tue, 1 Apr 2008 19:02:37 +0000 (11:02 -0800)]
dapl: calculate private data size based on transport type and cma_hdr overhead

Need to adjust CM private date size based on different transport types.
Add hca_ptr to dapls_ib_private_data_size call for transport type
validation via verbs device. Add definitions to include iWARP size
of 512 and subtract 36 bytes for cma_hdr overhead.

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

16 years agoRemove improperly licensed GETOPT code from dtest source tree.
Arlin Davis [Thu, 27 Mar 2008 01:58:17 +0000 (17:58 -0800)]
Remove improperly licensed GETOPT code from dtest source tree.

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:04:34 +0000 (15:04 -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:31:40 +0000 (14:31 -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:31:34 +0000 (14:31 -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:25:07 +0000 (09:25 -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:39:22 +0000 (09:39 -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:35 +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:03:21 +0000 (21:03 -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:54:45 +0000 (16:54 -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 agoGuarantee NUL termination if hostname gets truncated.
Patrick Marchand Latifi [Tue, 19 Feb 2008 11:19:42 +0000 (03:19 -0800)]
Guarantee NUL termination if hostname gets truncated.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoMake sure we don't leak the hash table if dapl_hca_alloc fails.
Patrick Marchand Latifi [Tue, 19 Feb 2008 11:19:37 +0000 (03:19 -0800)]
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:19:32 +0000 (03:19 -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:19:27 +0000 (03:19 -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:19:22 +0000 (03:19 -0800)]
Fix memory leak

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

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
16 years agoRelease 2.0.7 master dapl-2.0.7.1 ofed_1_3-v2
Arlin Davis [Fri, 15 Feb 2008 18:10:01 +0000 (10:10 -0800)]
Release 2.0.7

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:46:56 +0000 (09:46 -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 agouDAT: Make sure we stay within bounds when manipulating the ia_name.
Arlin Davis [Thu, 14 Feb 2008 17:46:18 +0000 (09:46 -0800)]
uDAT: 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:44:56 +0000 (09:44 -0800)]
uDAT: Make sure we stay within bounds when manipulating the ia handle.
Fix typo in comment.

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:43:39 +0000 (09:43 -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 agoModify default configure options to match rpm spec file
Arlin Davis [Thu, 14 Feb 2008 04:39:26 +0000 (20:39 -0800)]
Modify default configure options to match rpm spec file
 --enable-debug, --enable-ext-type=ib

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:03 +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:33 +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 2.0.6 - ChangeLog dapl-2.0.6-1
Arlin Davis [Tue, 5 Feb 2008 00:16:10 +0000 (16:16 -0800)]
Release 2.0.6 - ChangeLog

16 years agoRelease 2.0.6
Arlin Davis [Tue, 5 Feb 2008 00:14:02 +0000 (16:14 -0800)]
Release 2.0.6

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

16 years agoFix OFED v2 package to build against and target /dat2/include directory.
Arlin Davis [Tue, 5 Feb 2008 00:12:47 +0000 (16:12 -0800)]
Fix OFED v2 package to build against and target /dat2/include directory.

Prevous patch missed dat_osd.h, dapltest/dtest incorrect.

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

16 years agouDAT/DAPL: Fix package to build against and target /dat2/include directory.
Arlin Davis [Mon, 4 Feb 2008 21:00:45 +0000 (13:00 -0800)]
uDAT/DAPL: Fix package to build against and target /dat2/include directory.

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

16 years agoRelease 2.0.5 - ChangeLog updated dapl-2.0.5-1
Arlin Davis [Wed, 30 Jan 2008 00:34:49 +0000 (16:34 -0800)]
Release 2.0.5 - ChangeLog updated

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

16 years agolibdat: rename libdat.so to libdat2.so to coexist with v1 devel
Arlin Davis [Wed, 30 Jan 2008 00:33:10 +0000 (16:33 -0800)]
libdat: rename libdat.so to libdat2.so to coexist with v1 devel

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

16 years agoRelease 2.0.4 - README dapl-2.0.4-1
Arlin Davis [Mon, 28 Jan 2008 21:55:35 +0000 (13:55 -0800)]
Release 2.0.4 - README

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

16 years agoRelease 2.0.4 Changelog
Arlin Davis [Mon, 28 Jan 2008 20:06:03 +0000 (12:06 -0800)]
Release 2.0.4 Changelog

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

16 years agoRelase package 2.0.4
Arlin Davis [Mon, 28 Jan 2008 20:04:18 +0000 (12:04 -0800)]
Relase package 2.0.4

16 years agodapltest does not include definitions for inet_ntoa.
Arlin Davis [Thu, 24 Jan 2008 00:40:48 +0000 (16:40 -0800)]
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 agoAdd freeaddrinfo to deallocate getaddrinfo buffer.
Arlin Davis [Wed, 23 Jan 2008 22:46:30 +0000 (14:46 -0800)]
Add freeaddrinfo to deallocate getaddrinfo buffer.
Cleanup a few printf messages.

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

16 years agoFix for uDAPL v2 using extended operation. After extension completion,
Arlin Davis [Wed, 23 Jan 2008 22:25:21 +0000 (14:25 -0800)]
Fix for uDAPL v2 using extended operation. After extension completion,
the DTO cookie must be checked for type before deallocating to handle
inbound immediate data in receive. The sample dtestx client will fail
when running loopback if the rdma immediate is received from remote
before the rdma immediate request completion fires.

Bug causes following dtestx client error:
dat_ib_post_rdma_write_immed
   returned DAT_INSUFFICIENT_RESOURCES : DAT_RESOURCE_MEMORY

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

16 years agoWinOF: update dapltest,dtest directories for windows build
Arlin Davis [Thu, 17 Jan 2008 19:30:27 +0000 (11:30 -0800)]
WinOF: update dapltest,dtest directories for windows build
WinOF: add README.windows

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoWinOF: update dtestx for windows build
Arlin Davis [Thu, 17 Jan 2008 19:24:46 +0000 (11:24 -0800)]
WinOF: update dtestx for windows build

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoWinOF: add build enviroment, cleanup old makefiles
Arlin Davis [Thu, 17 Jan 2008 19:23:21 +0000 (11:23 -0800)]
WinOF: add build enviroment, cleanup old makefiles

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoWinOF: name collision with ibal verbs ib_cm_handle_t
Arlin Davis [Wed, 16 Jan 2008 00:59:34 +0000 (16:59 -0800)]
WinOF: name collision with ibal verbs ib_cm_handle_t

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agodtest: dat_evd_query for correct size
Arlin Davis [Wed, 16 Jan 2008 00:06:10 +0000 (16:06 -0800)]
dtest: dat_evd_query for correct size

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

16 years agodapltest: WinOF support.
Arlin Davis [Wed, 16 Jan 2008 00:03:27 +0000 (16:03 -0800)]
dapltest: WinOF support.

Signed-off by: Stan Smith <stan.smith@intel.com>

16 years agoopenib_cma: fix cleanup issues in destroy_cm_id
Arlin Davis [Tue, 15 Jan 2008 22:54:57 +0000 (14:54 -0800)]
openib_cma: fix cleanup issues in destroy_cm_id
            add macros to convert SID and PORT
            fix init/responder settings in accept

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

16 years agoModifications for WinOF build and endian support for RMR info
Arlin Davis [Tue, 15 Jan 2008 22:49:54 +0000 (14:49 -0800)]
Modifications for WinOF build and endian support for RMR info

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoWinOF: DAT_API changes, white space and tab cleanup
Arlin Davis [Tue, 15 Jan 2008 22:39:18 +0000 (14:39 -0800)]
WinOF: DAT_API changes, white space and tab cleanup
       IBAL provider code added

Common code: initialize cookie pool buffer
             add dapl extension DTO counter
             add get_cqe_op_str debug call
             remove excess dbg in evd_dequeue
             add dbg assert to sp_search_cr
             IBAL provider support _VENDOR_IBAL_

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoWindows specific -
Arlin Davis [Fri, 4 Jan 2008 16:32:39 +0000 (08:32 -0800)]
Windows specific -
   IBAL support in evd_create
   Build IB extensions by default
Common code -
   check return status, evd_free, evd_wait
   add dapl_event_str function
   definitions for dat_os_library_error, dat_os_ungetc

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoCommon code -
Arlin Davis [Fri, 4 Jan 2008 16:32:19 +0000 (08:32 -0800)]
Common code -
   Missing DAT_API defs
   casting to fix build issues
   bitmaps for extension debug
   DAPL_BAD_PTR macro

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoCommon code -
Arlin Davis [Fri, 4 Jan 2008 16:31:59 +0000 (08:31 -0800)]
Common code -
   Add DAT_API definitions for dat_redirection.h, udat_redirection.h

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years agoWindows specific -
Arlin Davis [Fri, 4 Jan 2008 16:31:27 +0000 (08:31 -0800)]
Windows specific -
   Add dapl_ep fields ibal_cm_handle, recv_disc, sent_disc for IBAL provider
   Support for direct object on CQ
   INIT and FINI changes
   setup dat.conf default path, fix sr parsing
Common code -
   Add Stan Smith as contributor
   O/S independent dat_os_library_error()

Signed-off by: Stan Smith <stan.smith@intel.com>
Signed-off by: Arlin Davis <ardavis@ichips.intel.com>

16 years ago2/2 uDAPL changes to sync common code base with WinOF
Arlin Davis [Tue, 11 Dec 2007 22:44:24 +0000 (14:44 -0800)]
2/2 uDAPL changes to sync common code base with WinOF
 - add DAT_API to specify calling conventions (windows=__stdcall, linux= )
 - cleanup platform specific definitions for windows
 - c++ support
 - add handle check macros DAT_IA_HANDLE_TO_UL and DAT_UL_TO_IA_HANDLE

16 years ago1/2 uDAT changes to sync common code base with WinOF
Arlin Davis [Tue, 11 Dec 2007 22:43:05 +0000 (14:43 -0800)]
1/2 uDAT changes to sync common code base with WinOF
 - add DAT_API to specify calling conventions (windows=__stdcall, linux= )
 - cleanup platform specific definitions for windows
 - c++ support
 - add handle check macros DAT_IA_HANDLE_TO_UL and DAT_UL_TO_IA_HANDLE

Signed-off by: Arlin Davis <ardavis@ichips.intel.com>
Signed-off by: Stan Smith <stan.smith@intel.com>

16 years ago- Fix size of evd request queue on creation
Arlin Davis [Tue, 4 Dec 2007 21:19:27 +0000 (13:19 -0800)]
- Fix size of evd request queue on creation
- Add query and checking of DTO request queue

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

16 years agomaster_dat2.0_merge
Arlin Davis [Tue, 27 Nov 2007 21:31:32 +0000 (13:31 -0800)]
master_dat2.0_merge

16 years agoRelease 2.0.3 dat2.0 dapl-2.0.3-1
Arlin Davis [Tue, 20 Nov 2007 20:10:39 +0000 (12:10 -0800)]
Release 2.0.3

16 years ago- Lower default settings (rdma ops, inline sends) for latest iWARP/IB devices
Arlin Davis [Tue, 20 Nov 2007 20:07:58 +0000 (12:07 -0800)]
- Lower default settings (rdma ops, inline sends) for latest iWARP/IB devices
- Add missing ia_query for max_iov_segments_per_rdma_write
- Cleanup CMA code no longer supported by rdma_cm

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

16 years agoChange dapltest timers to use gettimeofday instead of get_cycles for better portability.
Arlin Davis [Mon, 19 Nov 2007 23:26:44 +0000 (15:26 -0800)]
Change dapltest timers to use gettimeofday instead of get_cycles for better portability.

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

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>

16 years agoChangeLog update dapl-2.0.2-1
Arlin Davis [Wed, 31 Oct 2007 18:55:48 +0000 (10:55 -0800)]
ChangeLog update

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

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

16 years ago- Add ChangeLog
Arlin Davis [Tue, 30 Oct 2007 17:06:24 +0000 (09:06 -0800)]
- Add ChangeLog
- update cma provider to report remote and local ports via dat_ep_query.

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

16 years agoFix dapltest endian issue with mem_handle, mem_address.
Arlin Davis [Thu, 25 Oct 2007 21:37:14 +0000 (14:37 -0700)]
Fix dapltest endian issue with mem_handle, mem_address.

Signed-off-by: Shirley Ma <xma@us.ibm.com>
16 years agoFix dapltest endian issue with mem_handle, mem_address.
Arlin Davis [Thu, 25 Oct 2007 21:36:12 +0000 (14:36 -0700)]
Fix dapltest endian issue with mem_handle, mem_address.

Signed-off-by: Shirley Ma <xma@us.ibm.com>
16 years ago Fix dtest to build properly with extensions.
Arlin Davis [Tue, 16 Oct 2007 21:23:17 +0000 (14:23 -0700)]
 Fix dtest to build properly with extensions.

 Modify dat.h dat_event to include event_extension_data[8].
 Extend struct dat_event outside of extension build
 switch to enable non-extended applications to work
 with extended libraries. Otherwise, there is a potential
 for the event callee to write back too much event data
 and exceed callers non-extended event buffer.

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

16 years ago Use inet_ntoa instead of open coding it. IP addresses were being
Arlin Davis [Tue, 16 Oct 2007 21:10:52 +0000 (14:10 -0700)]
Use inet_ntoa instead of open coding it. IP addresses were being
    reversed on PowerPC.

    On PowerPC the timebase ticks at a different frequency to the CPU.
    dapltest currently assumes a 1:1 relationship, and gives bogus values
    when scaling timebase to real time.

    To fix this, look at the timebase field in /proc/cpuinfo instead. To
    keep things consistent with x86, scale that value to MHz.

Signed-off-by: Anton Blanchard <anton@samba.org>
16 years agoUse inet_ntoa instead of open coding it. IP addresses were being
Arlin Davis [Tue, 16 Oct 2007 21:09:56 +0000 (14:09 -0700)]
Use inet_ntoa instead of open coding it. IP addresses were being
reversed on PowerPC.

On PowerPC the timebase ticks at a different frequency to the CPU.
dapltest currently assumes a 1:1 relationship, and gives bogus values
when scaling timebase to real time.

To fix this, look at the timebase field in /proc/cpuinfo instead. To
keep things consistent with x86, scale that value to MHz.

Signed-off-by: Anton Blanchard <anton@samba.org>
16 years ago Minor clean-up of cr/lf
Arlin Davis [Tue, 16 Oct 2007 21:02:36 +0000 (14:02 -0700)]
 Minor clean-up of cr/lf

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

16 years agoFinal changes for 2.0.1-1 package, OFED 1.3 ALPHA dapl-2.0.1-1
Arlin Davis [Tue, 2 Oct 2007 23:01:37 +0000 (16:01 -0700)]
Final changes for 2.0.1-1 package, OFED 1.3 ALPHA
Fix build issue with SLES 10, gcc++ compiler

Signed-off-by: Jimmy Hill <jimmy.hill@us.ibm.com>
Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
16 years agoFinal changes for package 1.2.2-1, OFED 1.3 ALPHA dapl-1.2.2-1
Arlin Davis [Tue, 2 Oct 2007 21:50:02 +0000 (14:50 -0700)]
Final changes for package 1.2.2-1, OFED 1.3 ALPHA

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

16 years agoChange v2 dat.conf provider names to associate with ib net devices
Arlin Davis [Tue, 2 Oct 2007 18:58:46 +0000 (11:58 -0700)]
Change v2 dat.conf provider names to associate with ib net devices

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

16 years agoChange DT_Mdep_GetTime to use gettimeofday() which has more resolution
Arlin Davis [Tue, 2 Oct 2007 18:43:34 +0000 (11:43 -0700)]
Change DT_Mdep_GetTime to use gettimeofday() which has more resolution
than times().

Signed-off-by: Anton Blanchard <anton@samba.org>
16 years agoChange v2 dat.conf provider names to associate with ib net devices
Arlin Davis [Tue, 2 Oct 2007 18:41:40 +0000 (11:41 -0700)]
Change v2 dat.conf provider names to associate with ib net devices

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

16 years agoChange DT_Mdep_GetTime to use gettimeofday() which has more resolution
Arlin Davis [Tue, 2 Oct 2007 18:35:21 +0000 (11:35 -0700)]
Change DT_Mdep_GetTime to use gettimeofday() which has more resolution
than times().

Signed-off-by: Anton Blanchard <anton@samba.org>
16 years agoChange DT_Mdep_GetTime to use gettimeofday() which has more resolution
Arlin Davis [Tue, 2 Oct 2007 18:30:15 +0000 (11:30 -0700)]
Change DT_Mdep_GetTime to use gettimeofday() which has more resolution
than times().

Signed-off-by: Anton Blanchard <anton@samba.org>
16 years agoFix dapl to compile as both 32bit and 64bit on PowerPC. Instead of using
Arlin Davis [Tue, 2 Oct 2007 17:39:09 +0000 (10:39 -0700)]
Fix dapl to compile as both 32bit and 64bit on PowerPC. Instead of using
the kernel atomic routines, code them explicitely like x86 does.

Signed-off-by: Anton Blanchard <anton@samba.org>
16 years agoClean up packaging, modify dat.conf for v2.0 cma provider name change to ofa
Arlin Davis [Sat, 29 Sep 2007 00:04:54 +0000 (17:04 -0700)]
Clean up packaging, modify dat.conf for v2.0 cma provider name change to ofa

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

16 years agoClean up packaging, modify dat.conf for cma provider name change to ofa
Arlin Davis [Sat, 29 Sep 2007 00:03:41 +0000 (17:03 -0700)]
Clean up packaging, modify dat.conf for cma provider name change to ofa

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

16 years ago Modifications to coexist with 2.0 libraries
Arlin Davis [Thu, 20 Sep 2007 19:25:55 +0000 (12:25 -0700)]
  Modifications to coexist with 2.0 libraries
     - fix RPM specfile, configure.in,  1.2.2 package
     - modify dat.conf

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

16 years agoModifications to coexist with 1.2 libraries
Arlin Davis [Thu, 20 Sep 2007 17:55:19 +0000 (10:55 -0700)]
Modifications to coexist with 1.2 libraries
 - cleanup CR-LF in dtestx
 - fix RPM specfile, 2.0.1 package

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

17 years agoUpdate copyright in specfile
Arlin Davis [Fri, 22 Jun 2007 18:48:20 +0000 (11:48 -0700)]
Update copyright in specfile

17 years agoUpdate Copyright in specfile libdapl-2.0
Arlin Davis [Fri, 22 Jun 2007 18:47:14 +0000 (11:47 -0700)]
Update Copyright in specfile

17 years agoUpdate specfile to reflect DAT/DAPL 1.2.1 release ofed_1_2 libdapl-1.2.1
Arlin Davis [Wed, 6 Jun 2007 20:20:38 +0000 (13:20 -0700)]
Update specfile to reflect DAT/DAPL 1.2.1 release

17 years agoMore changes to the release notes
Arlin Davis [Wed, 6 Jun 2007 18:48:07 +0000 (11:48 -0700)]
More changes to the release notes

17 years agoUpdate release notes
Arlin Davis [Tue, 5 Jun 2007 22:56:17 +0000 (15:56 -0700)]
Update release notes

17 years agoAdd release notes updated for OFED 1.2 release
Arlin Davis [Tue, 5 Jun 2007 22:52:18 +0000 (15:52 -0700)]
Add release notes updated for OFED 1.2 release