~shefty/rdma-win.git
10 years agowinmad: fixup return values and zero allocated mad master
Sean Hefty [Tue, 15 Jun 2010 17:04:28 +0000 (17:04 +0000)]
winmad: fixup return values and zero allocated mad

Winmad simply returns the status values defined by IBAL.  Convert those values into winmad define status values and align those values with errno.  This matches the expectations of libibumad.

As part of the cleanup, convert the check for success from IB_SUCCESS to IB_WCS_SUCCESS.  Both are defined as 0, so there's no functional change,but the mad status is a 'work completion status' value, not an API status value.

Finally, return the correct status value when canceling a read request.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2823 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years agoupdate ib-mgmt_class_vers
Sean Hefty [Tue, 8 Jun 2010 23:50:01 +0000 (23:50 +0000)]
update ib-mgmt_class_vers

Update libibmad, libibnetdisc, and ib-diags to the management.git tree commit 4a55423059e76ccba95aed36dd256510082b1e27

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2822 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years agolibibumad: add new link_layer field
Sean Hefty [Tue, 8 Jun 2010 21:29:50 +0000 (21:29 +0000)]
libibumad: add new link_layer field

Update libibumad to include a link_layer field as part of the port structure.  This updates the definition to match linux and is needed for the ib-diag port.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2821 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] commit 3.3.6 opensm for review/testing
Stan Smith [Wed, 2 Jun 2010 23:52:47 +0000 (23:52 +0000)]
[OPENSM] commit 3.3.6 opensm for review/testing

git-svn-id: svn://openib.tc.cornell.edu/gen1@2820 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] commit 3.3.6 opensm for review/testing
Stan Smith [Wed, 2 Jun 2010 23:51:29 +0000 (23:51 +0000)]
[OPENSM] commit 3.3.6 opensm for review/testing

git-svn-id: svn://openib.tc.cornell.edu/gen1@2819 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] rename man\opensm8.in --> opensm.8; use auto-tools processed version instead...
Stan Smith [Thu, 27 May 2010 19:42:50 +0000 (19:42 +0000)]
[OPENSM] rename man\opensm8.in --> opensm.8; use auto-tools processed version instead of raw.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2818 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] remove Linux scripts; add Windows osmtest regression script.
Stan Smith [Thu, 27 May 2010 18:00:30 +0000 (18:00 +0000)]
[OPENSM] remove Linux scripts; add Windows osmtest regression script.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2817 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] oops; correct commit #2815, remove opensm file from %windir%\temp
Stan Smith [Thu, 27 May 2010 17:57:47 +0000 (17:57 +0000)]
[WIX] oops; correct commit #2815, remove opensm file from %windir%\temp

git-svn-id: svn://openib.tc.cornell.edu/gen1@2816 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] remove opensm file from %windir%\temp
Stan Smith [Thu, 27 May 2010 16:58:18 +0000 (16:58 +0000)]
[WIX] remove opensm file from %windir%\temp

git-svn-id: svn://openib.tc.cornell.edu/gen1@2815 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years agowinverbs/nd: ND 2.0 provider template
Sean Hefty [Thu, 27 May 2010 16:44:51 +0000 (16:44 +0000)]
winverbs/nd: ND 2.0 provider template

Initial port ND 1.0 provider to 2.0 APIs.  Only those functions which easily ported from 1.0 to 2.0 were implemented.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2814 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[INC] additions to support opensm 3.3.6
Stan Smith [Thu, 27 May 2010 16:39:07 +0000 (16:39 +0000)]
[INC] additions to support opensm 3.3.6

git-svn-id: svn://openib.tc.cornell.edu/gen1@2813 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[IBAL] Avoid the BSOD that can happen as a race consequence.
Leonid Kelly [Wed, 26 May 2010 09:25:49 +0000 (09:25 +0000)]
[IBAL] Avoid the BSOD that can happen as a race consequence.

signed-off-by: alex naslednikov <xalex@mellanox.co.il>

git-svn-id: svn://openib.tc.cornell.edu/gen1@2812 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[INC] Correct spelling, white-space alignment, remove trailing white-space, add comments.
Stan Smith [Tue, 25 May 2010 23:43:04 +0000 (23:43 +0000)]
[INC] Correct spelling, white-space alignment, remove trailing white-space, add comments.
Generally make ib_types.h more compatible with OFED for Linux version in order to make comparisions easier.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2811 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] support standard windows cmd-line help request '/?'
Stan Smith [Sat, 22 May 2010 00:11:23 +0000 (00:11 +0000)]
[OPENSM] support standard windows cmd-line help request '/?'

git-svn-id: svn://openib.tc.cornell.edu/gen1@2810 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] use etc\user\getop.c parser instead of local version.
Stan Smith [Sat, 22 May 2010 00:07:13 +0000 (00:07 +0000)]
[OPENSM] use etc\user\getop.c parser instead of local version.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2809 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[ETC] add getop/getopt_long rewind/reset parsing functionality (optind=0 resets).
Stan Smith [Fri, 21 May 2010 23:44:05 +0000 (23:44 +0000)]
[ETC] add getop/getopt_long rewind/reset parsing functionality (optind=0 resets).

git-svn-id: svn://openib.tc.cornell.edu/gen1@2808 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] comment correction.
Stan Smith [Fri, 21 May 2010 19:38:17 +0000 (19:38 +0000)]
[OPENSM] comment correction.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2807 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] Reduce stack consumption by using a union of structs. Code borrowed from...
Stan Smith [Fri, 21 May 2010 19:36:06 +0000 (19:36 +0000)]
[OPENSM] Reduce stack consumption by using a union of structs. Code borrowed from osm_vendor_umad_sa.c

Support OSMV_QUERY_MULTIPATH_REC queries.

signed-off-by: stan smith <stan.smith@intel.com>

git-svn-id: svn://openib.tc.cornell.edu/gen1@2806 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] support IB_MAD_METHOD_GETMULTI and fix spelling errors.
Stan Smith [Fri, 21 May 2010 19:31:28 +0000 (19:31 +0000)]
[OPENSM] support IB_MAD_METHOD_GETMULTI and fix spelling errors.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2805 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] Code cleanup by replacing 'cl_ntoh16((uint16_t) (attr_size >> 3))' expressio...
Stan Smith [Fri, 21 May 2010 19:28:04 +0000 (19:28 +0000)]
[OPENSM] Code cleanup by replacing 'cl_ntoh16((uint16_t) (attr_size >> 3))' expression with a call to the inline function  'ib_get_attr_offset(attr_size)'; takes advantage of (debug build) attr offset size checking.
Validates input attr_size is a multiple of 8 bytes per IB spec.
Function returns same value as the expression plus it isolates the implementation to a single point to ease future changes.

In function osmtest_stress_path_recs_by_lid()
Skip the destination lid byte-order swap as it's already in the correct order for vendor IBAL.
Permits 'osmtest -f f -s4' test to correctly complete.

signed-off-by: stan smith <stan.smith@intel.com>

git-svn-id: svn://openib.tc.cornell.edu/gen1@2804 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] Setup opensm\user\mad-vendor.inc as the single-point of OSM vendor definitio...
Stan Smith [Fri, 21 May 2010 19:20:09 +0000 (19:20 +0000)]
[OPENSM] Setup opensm\user\mad-vendor.inc as the single-point of OSM vendor definition[IBAL|UMAD].

git-svn-id: svn://openib.tc.cornell.edu/gen1@2803 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] use symstor from the WDK instead of debug tools.
Stan Smith [Fri, 21 May 2010 19:16:56 +0000 (19:16 +0000)]
[OFED] use symstor from the WDK instead of debug tools.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2802 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[INC] complib; companion to commit #2799 - add: cl_fmap_match() & cl_fmap_get_next...
Stan Smith [Fri, 21 May 2010 19:14:26 +0000 (19:14 +0000)]
[INC] complib; companion to commit #2799 - add: cl_fmap_match() & cl_fmap_get_next() for opensm 3.3.5.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2801 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[DOC] added osmtest examples
Stan Smith [Fri, 21 May 2010 19:11:48 +0000 (19:11 +0000)]
[DOC] added osmtest examples

git-svn-id: svn://openib.tc.cornell.edu/gen1@2800 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[COMPLIB] add cl_fmap_match() & cl_fmap_get_next() for opensm 3.3.5.
Stan Smith [Fri, 21 May 2010 19:10:08 +0000 (19:10 +0000)]
[COMPLIB] add cl_fmap_match() & cl_fmap_get_next() for opensm 3.3.5.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2799 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[INC] In function 'ib_get_attr_offset()' replace attr_size adjustment code with an...
Stan Smith [Fri, 21 May 2010 19:05:50 +0000 (19:05 +0000)]
[INC] In function 'ib_get_attr_offset()' replace attr_size adjustment code with an ASSERT() as attr offset sizes are required to be a multiple of 8 bytes.

By removing antiquated structure padding, the sizeof(struct) values return to the correct size alignment.
Removal of padding allows osmtest to correctly generate and validate a fabric inventory file.

signed-off-by: stan smith <stan.smith@intel.com>

git-svn-id: svn://openib.tc.cornell.edu/gen1@2798 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[INC] Fix/add comments plus whitespace: alignment and trailing whitespace removal...
Stan Smith [Thu, 20 May 2010 17:44:35 +0000 (17:44 +0000)]
[INC] Fix/add comments plus whitespace: alignment and trailing whitespace removal for easier comparision with Linux version.

No functionality change!

signed-off-by: stan smith <stan.smith@intel.com>

git-svn-id: svn://openib.tc.cornell.edu/gen1@2797 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[DOC] added librdmacm & libibverbs documentation based on OFED for Linux man pages.
Stan Smith [Fri, 23 Apr 2010 17:53:37 +0000 (17:53 +0000)]
[DOC] added librdmacm & libibverbs documentation based on OFED for Linux man pages.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2796 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WINMAD] clear input structs prior to use.
Stan Smith [Fri, 16 Apr 2010 16:50:31 +0000 (16:50 +0000)]
[WINMAD] clear input structs prior to use.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2795 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] rename CustomAction:DriverInstall to reflect how it's being called now as MS...
Stan Smith [Thu, 15 Apr 2010 22:14:38 +0000 (22:14 +0000)]
[WIX] rename CustomAction:DriverInstall to reflect how it's being called now as MS routines (DIFxApp) now perform the original CustomAction task. rename DriverInstall --> PostDriverInstall.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2794 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] merge 78 file references from SOURCES into osm_files.c to reduce opensm...
Stan Smith [Thu, 15 Apr 2010 21:41:25 +0000 (21:41 +0000)]
[OPENSM] merge 78 file references from SOURCES into osm_files.c to reduce opensm.exe build time by 29 seconds.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2793 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] remove duplicate files from SOURCES list; saves 10 seconds / build.
Stan Smith [Thu, 15 Apr 2010 21:37:46 +0000 (21:37 +0000)]
[OPENSM] remove duplicate files from SOURCES list; saves 10 seconds / build.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2792 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED\WIX] add new file '_errno.h' to enable correct, outside of src tree, ib_verbs...
Stan Smith [Thu, 15 Apr 2010 21:35:48 +0000 (21:35 +0000)]
[OFED\WIX] add new file '_errno.h' to enable correct, outside of src tree, ib_verbs application build.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2791 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED/WIX] add progress indicator messages during install (Installing Drivers & Insta...
Stan Smith [Thu, 15 Apr 2010 21:33:31 +0000 (21:33 +0000)]
[OFED/WIX] add progress indicator messages during install (Installing Drivers & Installing Network Providers).

git-svn-id: svn://openib.tc.cornell.edu/gen1@2790 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED/WIX] replace numeric value indicating Window Style with a constant 'WindowStyle'.
Stan Smith [Thu, 15 Apr 2010 21:31:55 +0000 (21:31 +0000)]
[OFED/WIX] replace numeric value indicating Window Style with a constant 'WindowStyle'.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2789 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] More name change: WinOF/WIX --> OFED
Stan Smith [Thu, 15 Apr 2010 21:29:23 +0000 (21:29 +0000)]
[OFED] More name change: WinOF/WIX --> OFED

git-svn-id: svn://openib.tc.cornell.edu/gen1@2788 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[PERFTEST/rdma_bw] make ibv_rdma_bw.exe buildable outside of OFED-W src tree.
Stan Smith [Thu, 15 Apr 2010 21:26:10 +0000 (21:26 +0000)]
[PERFTEST/rdma_bw] make ibv_rdma_bw.exe buildable outside of OFED-W src tree.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2787 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years agoOFED compat: convert return values to errno
Sean Hefty [Thu, 15 Apr 2010 17:05:21 +0000 (17:05 +0000)]
OFED compat: convert return values to errno

Convert libibverbs and librdmacm to use errno.  Return values
from winverbs and winsock are converted into errno values.

To handle values undefined in the current WDK version of errno.h,
add a new header file under the linux include directory with
missing values.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2786 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] remove Sample code files generated during compilation & link to allow successfu...
Stan Smith [Wed, 14 Apr 2010 23:55:02 +0000 (23:55 +0000)]
[WIX] remove Sample code files generated during compilation & link to allow successful uninstall of OFED_SDK\Samples folder.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2785 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] set include search paths correctly. update README.
Stan Smith [Wed, 14 Apr 2010 23:52:45 +0000 (23:52 +0000)]
[WIX] set include search paths correctly. update README.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2784 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[PERFTEST] faster compile + compile outside of OpenIB src tree; use ws2tcpip.h instea...
Stan Smith [Wed, 14 Apr 2010 17:01:27 +0000 (17:01 +0000)]
[PERFTEST] faster compile + compile outside of OpenIB src tree; use ws2tcpip.h instead of windows.h & winsock2.h.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2783 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED\WIX] some how the delete side of rename did not take. Make sure it takes here...
Stan Smith [Wed, 14 Apr 2010 00:34:26 +0000 (00:34 +0000)]
[OFED\WIX] some how the delete side of rename did not take. Make sure it takes here...

git-svn-id: svn://openib.tc.cornell.edu/gen1@2782 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED\WIX] add winverbs+rdma_cm example to OFED SDK feature.
Stan Smith [Wed, 14 Apr 2010 00:25:03 +0000 (00:25 +0000)]
[OFED\WIX] add winverbs+rdma_cm example to OFED SDK feature.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2781 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED\WIX] rename OFED\WIX\SDK_Samples\ DDK --> WDK VS --> cmtest
Stan Smith [Wed, 14 Apr 2010 00:12:31 +0000 (00:12 +0000)]
[OFED\WIX] rename OFED\WIX\SDK_Samples\  DDK --> WDK   VS --> cmtest

git-svn-id: svn://openib.tc.cornell.edu/gen1@2780 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[PERFTEST] remove unused variables
Stan Smith [Wed, 14 Apr 2010 00:02:43 +0000 (00:02 +0000)]
[PERFTEST] remove unused variables

git-svn-id: svn://openib.tc.cornell.edu/gen1@2779 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WINOF] Prep for the WinOF 2.2.1 point release.
Stan Smith [Tue, 13 Apr 2010 21:04:22 +0000 (21:04 +0000)]
[WINOF] Prep for the WinOF 2.2.1 point release.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2778 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[ETC] copy missing IB SDK files to build dest.
Stan Smith [Fri, 9 Apr 2010 23:44:53 +0000 (23:44 +0000)]
[ETC] copy missing IB SDK files to build dest.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2777 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] simplify \DAT & \OFED_SDK creation by moving to directory creation DAT_config...
Stan Smith [Fri, 9 Apr 2010 22:41:34 +0000 (22:41 +0000)]
[WIX] simplify \DAT & \OFED_SDK creation by moving to directory creation DAT_config.inc & ib_sdk.inc

git-svn-id: svn://openib.tc.cornell.edu/gen1@2776 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] IB SDK - create %SystemDrive%\OFED_SDK\ in a single place (moved from ofed...
Stan Smith [Fri, 9 Apr 2010 22:32:33 +0000 (22:32 +0000)]
[WIX] IB SDK - create %SystemDrive%\OFED_SDK\ in a single place (moved from ofed.wxs)
Include missing headers, libs and symbols.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2775 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] IB SDK examples updated
Stan Smith [Fri, 9 Apr 2010 22:28:30 +0000 (22:28 +0000)]
[WIX] IB SDK examples updated

git-svn-id: svn://openib.tc.cornell.edu/gen1@2774 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] IB SDK - include missing header file components
Stan Smith [Fri, 9 Apr 2010 22:21:57 +0000 (22:21 +0000)]
[WIX] IB SDK - include missing header file components

git-svn-id: svn://openib.tc.cornell.edu/gen1@2773 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WIX] simplify by creating %systemdrive%\DAT in a single place (moved from ofed.wxs...
Stan Smith [Fri, 9 Apr 2010 22:15:47 +0000 (22:15 +0000)]
[WIX] simplify by creating %systemdrive%\DAT in a single place (moved from ofed.wxs files).
Create DAT SDK include file to match uDAT ver 2 conventions (DAT --> DAT2)
Include missing DAT file dat_ib_extensions.h

git-svn-id: svn://openib.tc.cornell.edu/gen1@2772 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[ETC] update default WDK version and KMDF installer version
Stan Smith [Fri, 9 Apr 2010 22:07:18 +0000 (22:07 +0000)]
[ETC] update default WDK version and KMDF installer version

git-svn-id: svn://openib.tc.cornell.edu/gen1@2771 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WINOF] Fix isolated installer crash. In CheckDriversOK() remove usage of Wsh.Sleep...
Stan Smith [Thu, 8 Apr 2010 20:35:13 +0000 (20:35 +0000)]
[WINOF] Fix isolated installer crash. In CheckDriversOK() remove usage of Wsh.Sleep() as it fails in the installer environment. Wait by invoking 'cmd.exe /C timeout /T 2'. Need to wait in a small # of isolated cases for the IPoIB driver (device IBA\IPOIB) to show up in the Window device database before installing ND/WSD. Generally IPoIB device is present prior to ND/WSD provider installation.
Waiting for the IPoIB device ensures NetworkDirect/IBAL & Winsock Direct providers install correctly. Wait 30 seconds max, output timed nastyGram about possible IPoIB driver initialization failure (no errors returned).

git-svn-id: svn://openib.tc.cornell.edu/gen1@2770 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] More WinOF --> OFED name changes. In CheckDriversOK() remove usage of Wsh...
Stan Smith [Thu, 8 Apr 2010 20:29:26 +0000 (20:29 +0000)]
[OFED] More WinOF --> OFED name changes. In CheckDriversOK() remove usage of Wsh.Sleep() as it fails in the installer environment. Wait by invoking 'cmd.exe /C timeout /T 2'. Need to wait in a small # of isolated cases for the IPoIB driver (device IBA\IPOIB) to show up in the Window device database. Waiting ensures NetworkDirect/IBAL & Winsock Direct providers install correctly. Wait 30 seconds max, output timed nastyGram about possible IPoIB driver initialization failure (no errors returned).

git-svn-id: svn://openib.tc.cornell.edu/gen1@2769 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[DOCS] Cleanup openSM node-name-map example formatting; added node-name-map format...
Stan Smith [Thu, 8 Apr 2010 20:20:58 +0000 (20:20 +0000)]
[DOCS] Cleanup openSM node-name-map example formatting; added node-name-map format links.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2768 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] Identify which OSM vendor used in building OSM.
Stan Smith [Thu, 8 Apr 2010 20:17:45 +0000 (20:17 +0000)]
[OPENSM] Identify which OSM vendor used in building OSM.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2767 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] white-space adjustments + comments.
Stan Smith [Thu, 8 Apr 2010 20:16:24 +0000 (20:16 +0000)]
[OPENSM] white-space adjustments + comments.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2766 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[IPoIB] Mark NDIS version in ipoib.rc file so ipoib.sys file can be identified correctly.
Stan Smith [Thu, 8 Apr 2010 20:14:20 +0000 (20:14 +0000)]
[IPoIB] Mark NDIS version in ipoib.rc file so ipoib.sys file can be identified correctly.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2765 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[DAPL2] catch up with DAPL mainline; output status in decimal.
Stan Smith [Thu, 8 Apr 2010 20:12:28 +0000 (20:12 +0000)]
[DAPL2] catch up with DAPL mainline; output status in decimal.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2764 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years agowinverbs/nd: do not convert timeout status value
Sean Hefty [Fri, 2 Apr 2010 23:32:39 +0000 (23:32 +0000)]
winverbs/nd: do not convert timeout status value

wv_io_timeout is an error value, but nd_timeout is a
success value.  This means that an overlapped request
can be completed in error, but GetOverlappedResult can
return a success value.  Instead, if a timeout is fatal,
report the status as wv_io_timeout, but if the timeout
can be retried, then report the status as wv_timeout.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2763 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years agowinverbs/nd: allow retrying connect
Sean Hefty [Fri, 2 Apr 2010 23:32:04 +0000 (23:32 +0000)]
winverbs/nd: allow retrying connect

The ND documentation specifies that ND:Connect() should be retry-able.
Add this support to the winverbs ND provider.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2762 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years agowinverbs/ep: allow failed connections to be retried
Sean Hefty [Fri, 2 Apr 2010 23:31:13 +0000 (23:31 +0000)]
winverbs/ep: allow failed connections to be retried

Allow a user to retry a connection request if it fails.  Report a
'success' timeout value, rather than an error timeout, reset the
EP state, and allow the request to be retried from user space.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2761 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[LIBIBUMAD] allow QP1 MAD traffic.
Stan Smith [Mon, 29 Mar 2010 19:02:03 +0000 (19:02 +0000)]
[LIBIBUMAD] allow QP1 MAD traffic.
Use correct management class version.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2760 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] make formatting & whitespace use consistent in getopt_long_only().
Stan Smith [Mon, 29 Mar 2010 18:34:11 +0000 (18:34 +0000)]
[OPENSM] make formatting & whitespace use consistent in getopt_long_only().

git-svn-id: svn://openib.tc.cornell.edu/gen1@2759 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] correct setup to build using vendor umad or vendor ibal
Stan Smith [Mon, 29 Mar 2010 18:00:11 +0000 (18:00 +0000)]
[OPENSM] correct setup to build using vendor umad or vendor ibal

git-svn-id: svn://openib.tc.cornell.edu/gen1@2758 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OPENSM] exit immediately on option parsing errors.
Stan Smith [Mon, 29 Mar 2010 17:39:54 +0000 (17:39 +0000)]
[OPENSM] exit immediately on option parsing errors.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2757 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[opensm] fix missing option arg handling to be correct.
Stan Smith [Mon, 29 Mar 2010 17:35:20 +0000 (17:35 +0000)]
[opensm] fix missing option arg handling to be correct.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2756 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[opensm] removed opensm\user\include\ib_types.h, even though it was not used, it...
Stan Smith [Thu, 18 Mar 2010 21:28:11 +0000 (21:28 +0000)]
[opensm] removed opensm\user\include\ib_types.h, even though it was not used, it caused confusion.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2755 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[DAPL] match WinOF 2.2 release.
Stan Smith [Thu, 18 Mar 2010 19:30:11 +0000 (19:30 +0000)]
[DAPL] match WinOF 2.2 release.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2754 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[ND/IBAL] ND provider INDAdaper::Query busted.
Stan Smith [Thu, 18 Mar 2010 19:27:13 +0000 (19:27 +0000)]
[ND/IBAL] ND provider INDAdaper::Query busted.
The INDAdapter::Query implementation doesn't set the maximum transfer lengths properly.
This patch fixes this, and allows MSMPI to chunk large transfers properly.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2753 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[IPOIB/IPOIB_NDIS6_CM] install 32-bit version of ND winverbs provider in syswow64...
Stan Smith [Thu, 18 Mar 2010 19:13:50 +0000 (19:13 +0000)]
[IPOIB/IPOIB_NDIS6_CM] install 32-bit version of ND winverbs provider in syswow64\ for 64-bit builds.
updated netipoib-xp32.inf also to minimize diffs such that XP specific changes can easily be identified.
This patch is in 2.2 release and working well for MS MPI.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2752 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] Win7 is part of the 'default' release build; remove conditionals (simplify).
Stan Smith [Thu, 18 Mar 2010 19:07:55 +0000 (19:07 +0000)]
[OFED] Win7 is part of the 'default' release build; remove conditionals (simplify).

git-svn-id: svn://openib.tc.cornell.edu/gen1@2751 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[ETC] copy a 32-bit version of winverbs ND provider for 64-bit installation in Syswow64\.
Stan Smith [Thu, 18 Mar 2010 19:05:05 +0000 (19:05 +0000)]
[ETC] copy a 32-bit version of winverbs ND provider for 64-bit installation in Syswow64\.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2750 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[DOCS] update to reflect WinOF --> OFED name change.
Stan Smith [Thu, 18 Mar 2010 19:01:56 +0000 (19:01 +0000)]
[DOCS] update to reflect WinOF --> OFED name change.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2749 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] enable NetworkDirect for ia64
Stan Smith [Thu, 18 Mar 2010 18:57:20 +0000 (18:57 +0000)]
[OFED] enable NetworkDirect for ia64

git-svn-id: svn://openib.tc.cornell.edu/gen1@2748 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] enable ND on ia64; winverbs is the default ND provider.
Stan Smith [Thu, 18 Mar 2010 18:54:45 +0000 (18:54 +0000)]
[OFED] enable ND on ia64; winverbs is the default ND provider.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2747 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] make sure HCA driver files are deleted as uninstall does not cleanup properly...
Stan Smith [Thu, 18 Mar 2010 18:53:27 +0000 (18:53 +0000)]
[OFED] make sure HCA driver files are deleted as uninstall does not cleanup properly in all cases.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2746 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] Remove ia64 restriction for NetworkDirect as it now uses winverbs as the ND...
Stan Smith [Thu, 18 Mar 2010 18:32:47 +0000 (18:32 +0000)]
[OFED] Remove ia64 restriction for NetworkDirect as it now uses winverbs as the ND provider.
Test if HCA driver actually installed.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2745 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] whitespace cleanup
Stan Smith [Thu, 18 Mar 2010 18:29:45 +0000 (18:29 +0000)]
[OFED] whitespace cleanup

git-svn-id: svn://openib.tc.cornell.edu/gen1@2744 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] start menu command window name no longer static, use macro var.PID (Program ID)
Stan Smith [Thu, 18 Mar 2010 18:28:55 +0000 (18:28 +0000)]
[OFED] start menu command window name no longer static, use macro var.PID (Program ID)

git-svn-id: svn://openib.tc.cornell.edu/gen1@2743 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] shorten installer folder names server --> svr for web download readability.
Stan Smith [Thu, 18 Mar 2010 18:20:54 +0000 (18:20 +0000)]
[OFED] shorten installer folder names server --> svr for web download readability.
cleanup comments w.r.t. OFED vs. WinOF

git-svn-id: svn://openib.tc.cornell.edu/gen1@2742 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[OFED] simplify code - remove wide-spread VersionNT usage. When checking if HCA insta...
Stan Smith [Thu, 18 Mar 2010 18:16:19 +0000 (18:16 +0000)]
[OFED] simplify code - remove wide-spread VersionNT usage. When checking if HCA install is OK, skip warning if not HCA hardware in system (aka, SW install).

git-svn-id: svn://openib.tc.cornell.edu/gen1@2741 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[DAPL2] remove static path specification.
Stan Smith [Thu, 18 Mar 2010 18:13:07 +0000 (18:13 +0000)]
[DAPL2] remove static path specification.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2740 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WinOF] GA prep
Stan Smith [Fri, 12 Mar 2010 21:18:43 +0000 (21:18 +0000)]
[WinOF] GA prep

git-svn-id: svn://openib.tc.cornell.edu/gen1@2739 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[DOC] timestamp update + opensm link to ibnetdiscover
Stan Smith [Fri, 12 Mar 2010 21:15:37 +0000 (21:15 +0000)]
[DOC] timestamp update + opensm link to ibnetdiscover

git-svn-id: svn://openib.tc.cornell.edu/gen1@2738 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WINOF] RC6 prep
Stan Smith [Thu, 11 Mar 2010 20:19:09 +0000 (20:19 +0000)]
[WINOF] RC6 prep

git-svn-id: svn://openib.tc.cornell.edu/gen1@2737 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[ND/IBAL] ND provider INDAdaper::Query busted.
Stan Smith [Thu, 11 Mar 2010 20:15:30 +0000 (20:15 +0000)]
[ND/IBAL] ND provider INDAdaper::Query busted.
The INDAdapter::Query implementation doesn't set the maximum transfer lengths properly.
This patch fixes this, and allows MSMPI to chunk large transfers properly.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2736 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[ibal] move transport type attribute.
Tzachi Dar [Thu, 11 Mar 2010 09:22:30 +0000 (09:22 +0000)]
[ibal] move transport type attribute.
Signed off by: sean.hefty@intel.com

git-svn-id: svn://openib.tc.cornell.edu/gen1@2735 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WINOF] RC5 prep
Stan Smith [Wed, 10 Mar 2010 22:43:48 +0000 (22:43 +0000)]
[WINOF] RC5 prep

git-svn-id: svn://openib.tc.cornell.edu/gen1@2734 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WINOF} Support SW only installs, if the HCA driver installed OK check fails, make...
Stan Smith [Wed, 10 Mar 2010 22:35:48 +0000 (22:35 +0000)]
[WINOF} Support SW only installs, if the HCA driver installed OK check fails, make sure there is an HCA device.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2733 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[DAPL2] scm: CM linking to EP must be done before socket write in accept_user.
Stan Smith [Wed, 10 Mar 2010 22:32:22 +0000 (22:32 +0000)]
[DAPL2] scm: CM linking to EP must be done before socket write in accept_user.
scm accept RTU was processing the conn object in the cr_thread
before the user accept thread bound the EP to the CM object.
The linking must be done before the socket write to insure
proper linking and state during accept_rtu processing.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2732 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[ND] Don't use inline for RDMA reads
Stan Smith [Wed, 10 Mar 2010 22:30:17 +0000 (22:30 +0000)]
[ND] Don't use inline for RDMA reads
In order to allow the ndrping to work also with RDMA reads,
the following fix is needed.

Signed-off-by: Tzachi Dar [tzachid@mellanox.co.il]
git-svn-id: svn://openib.tc.cornell.edu/gen1@2731 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WINVERBS/ND] do not convert wv_io_timeout to nd_timeout
Stan Smith [Wed, 10 Mar 2010 22:26:01 +0000 (22:26 +0000)]
[WINVERBS/ND] do not convert wv_io_timeout to nd_timeout
wv_io_timeout is an error value, but nd_timeout is a
success value.  This means that an overlapped request
can be completed in error, but GetOverlappedResult can
return a success value.  Instead, if a timeout is fatal,
report the status as wv_io_timeout, but if the timeout
can be retried, then report the status as wv_timeout.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2730 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WINVERBS/ND] allow retrying ND:Connect()
Stan Smith [Wed, 10 Mar 2010 22:24:02 +0000 (22:24 +0000)]
[WINVERBS/ND] allow retrying ND:Connect()
The ND documentation specifies that ND:Connect() should be retry-able.
Add this support to the winverbs ND provider.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2729 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[WINVERBS] winverbs/ep: allow failed connection requests to be retried
Stan Smith [Wed, 10 Mar 2010 22:19:37 +0000 (22:19 +0000)]
[WINVERBS] winverbs/ep: allow failed connection requests to be retried
Allow a user to retry a connection request if it fails.  Report a
'success' timeout value, rather than an error timeout, reset the
EP state, and allow the request to be retried from user space.

winverbs: allow WV:Disconnect() to be retried

ND for some odd reason wants a successful return code for
a failed disconnect call.  If a Disconnect() call fails,
allow it to be retried.  Return STATUS_TIMEOUT - a 'successful'
failure, rather than STATUS_IO_TIMEOUT, which is a 'failed' failure.
(I love Windows, really, I do.)  A subsequent call to EP:
Disconnect() after a timeout will force the QP into the error
state and force the EP into the disconnected state.

This change is needed to prevent ndping and other ND tests from
reporting a failure.  They only allow disconnect calls to fail
'successfully' with STATUS_TIMEOUT.  With the status mapping
removed from the user space WV ND library, we need to return the
desired value directly from the kernel.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2728 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[nd] Don't use inline for RDMA reads. (mlnx 5666)
Tzachi Dar [Wed, 10 Mar 2010 10:04:03 +0000 (10:04 +0000)]
[nd] Don't use inline for RDMA reads. (mlnx 5666)

git-svn-id: svn://openib.tc.cornell.edu/gen1@2727 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[ibal] MAD completion callbacks are expected to be at DISPATCH_LEVEL. (mlnx 5654)
Tzachi Dar [Wed, 10 Mar 2010 09:45:19 +0000 (09:45 +0000)]
[ibal] MAD completion callbacks are expected to be at DISPATCH_LEVEL. (mlnx 5654)

git-svn-id: svn://openib.tc.cornell.edu/gen1@2726 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[AL] Replace spaces with tabs. (mlnx 5652)
Tzachi Dar [Mon, 8 Mar 2010 14:23:15 +0000 (14:23 +0000)]
[AL] Replace spaces with tabs. (mlnx 5652)

git-svn-id: svn://openib.tc.cornell.edu/gen1@2725 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

10 years ago[AL] Replace spaces with tabs. (mlnx 5650)
Tzachi Dar [Mon, 8 Mar 2010 14:01:46 +0000 (14:01 +0000)]
[AL] Replace spaces with tabs. (mlnx 5650)

git-svn-id: svn://openib.tc.cornell.edu/gen1@2724 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86