]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
14 years ago[mlx4,eth] Remove unnecessary printing.
tzachid [Tue, 17 Nov 2009 12:52:17 +0000 (12:52 +0000)]
[mlx4,eth] Remove unnecessary printing.

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

14 years ago[eth] Add temporarily code for tracking shutter behavior.
tzachid [Tue, 17 Nov 2009 12:49:32 +0000 (12:49 +0000)]
[eth] Add temporarily code for tracking shutter behavior.
signed off by: Firas Mahamid

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:29:21 +0000 (12:29 +0000)]
[IPoIB NDIS 6.0 CM]
Bugfix: free NBL only after freeing SG (mlnx 5120)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:28:29 +0000 (12:28 +0000)]
[IPoIB NDIS 6.0 CM]
Bugfix: free NBL only after freeing SG. (mlnx 5114)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:26:59 +0000 (12:26 +0000)]
[IPoIB NDIS 6.0 CM]
Fixing a bug when NDIS got stuck because of uncompleted sends. (mlnx 5108)

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

14 years ago[IPoIB NDIS 6.0 CM] Add a function to track send completions. (mlnx 5105)
tzachid [Tue, 17 Nov 2009 12:25:54 +0000 (12:25 +0000)]
[IPoIB NDIS 6.0 CM] Add a function to track send completions. (mlnx 5105)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:24:36 +0000 (12:24 +0000)]
[IPoIB NDIS 6.0 CM]
Fixing a problem when mcast_cb exits before flushing the pending list Prints, comments fixing Code clean-up.
(mlnx 5089)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:21:35 +0000 (12:21 +0000)]
[IPoIB NDIS 6.0 CM]
Fixing a problem when mcast_cb exits before flushing the pending list
Prints, comments fixing
Code clean-up. (mlnx 5076)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:19:23 +0000 (12:19 +0000)]
[IPoIB NDIS 6.0 CM]
Avoiding endless loop inside the pending-list-flushing loop. (mlnx 5022)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:17:48 +0000 (12:17 +0000)]
[IPoIB NDIS 6.0 CM]
Init endpt field within s_buf structure (mlnx 5015)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 11:34:02 +0000 (11:34 +0000)]
[IPoIB NDIS 6.0 CM]
Fixed a bug in s_buf handling (mlnx 4997)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 11:31:39 +0000 (11:31 +0000)]
[IPoIB NDIS 6.0 CM]
Code cleanup
Fixed printouts
Bugfix: p_sgl member of s_buf should be initialized during error flow (mlnx 4995)

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

14 years ago[COMPLIB] cl_fmap_t compare now returns an int; change intn_t --> int.
stansmith [Mon, 16 Nov 2009 21:56:45 +0000 (21:56 +0000)]
[COMPLIB] cl_fmap_t compare now returns an int; change intn_t --> int.

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

14 years ago[TRUNK] Change the cl_pfn_fmap_cmp_t compare function to return an 'int' instead...
stansmith [Mon, 16 Nov 2009 18:44:54 +0000 (18:44 +0000)]
[TRUNK] Change the cl_pfn_fmap_cmp_t compare function to return an 'int' instead of 'intn_t' as int is a better return value match for standard compare functions like memcmp(), cl_memcmp(), qsort() and the like.

Additionally the change removes some usage of the non-standard C type 'intn_t' in favor of the basic C data type 'int'.

Files impacted:

inc\complib\cl_fleximap.h line #185 cl_pfn_fmap_cmp_t function returns 'int' instead of 'intn_t'.
core\al\kernel\al_ioc_pnp.c
core\al\kernel\al_pnp.c
ulp\wsd\user\ibsp_ip.c
ulp\ipoib\kernel\ipoib_port.c
ulp\ipoib\kernel\ipoib_port.cpp
ulp\wsd\user\ibspproto.h

Tested by:
  building WinOF installers for wlh, win7, wnet & wxp
  installing newly built installers.
  Running DAPL tests, IPoIB tests & opensm tests.

Signed-off-by: stan smith <stan.smith@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2559 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[WINOF] remove windows 7 existance check as it's now a default OS flavor. Sign .exe...
stansmith [Thu, 12 Nov 2009 23:19:40 +0000 (23:19 +0000)]
[WINOF] remove windows 7 existance check as it's now a default OS flavor. Sign .exe files used during a WInOF install to eliminate win7 popup notifiers asking to proceed. ndinstall.exe, installsp.exe for install, devman.exe on uninstall.

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

14 years ago[WINOF] delete registry entries which remain after driver uninstall.
stansmith [Thu, 12 Nov 2009 23:13:54 +0000 (23:13 +0000)]
[WINOF] delete registry entries which remain after driver uninstall.

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

14 years ago[DAPL] remove uDAPL 1.2 from default build.
stansmith [Tue, 10 Nov 2009 22:02:19 +0000 (22:02 +0000)]
[DAPL] remove uDAPL 1.2 from default build.

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

14 years agowinverbs/ibacm: update to match git tree
shefty [Tue, 10 Nov 2009 19:24:28 +0000 (19:24 +0000)]
winverbs/ibacm: update to match git tree

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

14 years agowinmad: fix space to tab issue
shefty [Mon, 9 Nov 2009 20:16:59 +0000 (20:16 +0000)]
winmad: fix space to tab issue

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

14 years agowinverbs branch: change location where winmad.inf is built
shefty [Mon, 9 Nov 2009 20:15:06 +0000 (20:15 +0000)]
winverbs branch: change location where winmad.inf is built

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

14 years agowinverbs branch: set modify_ca call
shefty [Mon, 9 Nov 2009 20:14:19 +0000 (20:14 +0000)]
winverbs branch: set modify_ca call

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

14 years agowinverbs branch: add developer install scripts
shefty [Mon, 9 Nov 2009 20:13:46 +0000 (20:13 +0000)]
winverbs branch: add developer install scripts

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

14 years agowinverbs branch: describe developer install process
shefty [Mon, 9 Nov 2009 20:13:19 +0000 (20:13 +0000)]
winverbs branch: describe developer install process

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

14 years agoetc/docs: developer installation scripts
shefty [Mon, 9 Nov 2009 20:09:35 +0000 (20:09 +0000)]
etc/docs: developer installation scripts

The following patch series implements a series of scripts that can be used
by developers to build and install the winof drivers across an HPC cluster.

The scripts are intended to allow quick building and replacement of specific
drivers and libraries.  The process can be automated more by layering additional
scripts over those provided.

This patch documents the anticipated build and installation process.  Follow
on patches in the series implement the various scripts.

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

14 years agowinmad/inf: create inf file under bin/kernel
shefty [Mon, 9 Nov 2009 20:07:12 +0000 (20:07 +0000)]
winmad/inf: create inf file under bin/kernel

Winmad currently creates its inf file under core/winmad/kernel/obj*.
Move the inf file to bin/kernel/obj*.  This is the location where all
other inf files in the tree are created.

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

14 years agoIBAL: set modify_ca interface call
shefty [Mon, 9 Nov 2009 20:05:32 +0000 (20:05 +0000)]
IBAL: set modify_ca interface call

modify_ca was exported through the IB interface to support opensm
over winmad, but the interface call was never set by IBAL.

With this patch, I was able to run opensm over the OFED MAD
interfaces.

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

14 years ago[OPENSM_3] use pthread macros to hide complib functionality; reduces Windows specific...
stansmith [Thu, 5 Nov 2009 22:48:49 +0000 (22:48 +0000)]
[OPENSM_3] use pthread macros to hide complib functionality; reduces Windows specific code changes.  Skip the call to umad_get_issm_path() for Windows.

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

14 years ago[OPENSM_3] update to OpenSM 3.3.3 and remove unused files.
stansmith [Wed, 4 Nov 2009 19:10:34 +0000 (19:10 +0000)]
[OPENSM_3] update to OpenSM 3.3.3 and remove unused files.

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

14 years ago[OPENSM_3] relocaated OSM_MAX_LOG_NAME_SIZE to where it is used (winosm_common.c...
stansmith [Tue, 3 Nov 2009 22:25:45 +0000 (22:25 +0000)]
[OPENSM_3] relocaated OSM_MAX_LOG_NAME_SIZE to where it is used (winosm_common.c). Wired syslog() calls into OutputDebugStringA() so one can view syslog() writes using a DebugView Monitor. Simplified osm_strdup() to handle multiple environment vars in a path/filename.

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

14 years ago[OPENSM_3] Added OpenSM local Service control handling to reset/zero OSM log file...
stansmith [Tue, 3 Nov 2009 22:21:48 +0000 (22:21 +0000)]
[OPENSM_3] Added OpenSM local Service control handling to reset/zero OSM log file (code 128) along with code 192 to start a heavy sweep. Emulates OFED Opensm receiving SIGUSR1 & SIGHUP.
sc control OpenSM 128       reset OSM log file
sc control OpenSM 129       start a Heavy sweep.
Added above text to usage() message under --help.

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

14 years ago[OPENSM_3] Added OpenSM version to File description string for easy ID.
stansmith [Tue, 3 Nov 2009 22:18:03 +0000 (22:18 +0000)]
[OPENSM_3] Added OpenSM version to File description string for easy ID.

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

14 years ago[OPENSM_3] remove commented out artifact.
stansmith [Tue, 3 Nov 2009 22:15:41 +0000 (22:15 +0000)]
[OPENSM_3] remove commented out artifact.

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

14 years agowinverbs branch: update to trunk svn 2538
shefty [Tue, 3 Nov 2009 17:23:09 +0000 (17:23 +0000)]
winverbs branch: update to trunk svn 2538

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

14 years agowinverbs branch: partial update to trunk svn 2538
shefty [Tue, 3 Nov 2009 17:22:09 +0000 (17:22 +0000)]
winverbs branch: partial update to trunk svn 2538

remove deleted files

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

14 years agowinmad: revert changes from commit 2512
shefty [Tue, 3 Nov 2009 17:20:07 +0000 (17:20 +0000)]
winmad: revert changes from commit 2512

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

14 years agolibrdmacm: remove unneeded defines
shefty [Tue, 3 Nov 2009 17:07:14 +0000 (17:07 +0000)]
librdmacm: remove unneeded defines

libibverbs provides uint_* defines in verbs.h which is included by rdma_cma.h

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

14 years agoIn order to support opensm running over winmad (via the libibumad),
shefty [Tue, 3 Nov 2009 16:45:38 +0000 (16:45 +0000)]
In order to support opensm running over winmad (via the libibumad),
we need to set the IsSM PortInfo capability bit when it is present.
We do this in the winmad driver based on the user registering for
unsolicted directed route SMPs.  The bit is unset when that user goes
away.

In order to set the capability bit, we need to add ib_modify_ca()
to the IB_AL interface.  The interface GUID is updated as a result.

For opensm, a call to umad_register (directly or indirectly through
another library), should result in setting the IsSM capability bit
correctly.  No additional work is required, such as calling
umad_get_issm_path and opening a separate file, as is done on linx.
This will require a platform specific handling in the opensm code.

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

14 years ago[OPENSM_3] remove WINVER as it's defined in the build environment.
stansmith [Tue, 3 Nov 2009 00:28:29 +0000 (00:28 +0000)]
[OPENSM_3] remove WINVER as it's defined in the build environment.

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

14 years ago[OPENSM_3] add OFED vendor files in order to diff correctly with OFED. Some file...
stansmith [Tue, 3 Nov 2009 00:27:33 +0000 (00:27 +0000)]
[OPENSM_3] add OFED vendor files in order to diff correctly with OFED. Some file will not become part of trunk\ulp\opensm.

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

14 years ago[OPENSM_3] include linux\arpa\inet.h for inet_ntop().
stansmith [Tue, 3 Nov 2009 00:18:23 +0000 (00:18 +0000)]
[OPENSM_3] include linux\arpa\inet.h for inet_ntop().

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

14 years ago[OPENSM_3] match OFED file.
stansmith [Tue, 3 Nov 2009 00:16:46 +0000 (00:16 +0000)]
[OPENSM_3] match OFED file.

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

14 years ago[OPENSM_3] use inet_ntop() from trunk/etc/user/inet.c instead of local version.
stansmith [Tue, 3 Nov 2009 00:16:02 +0000 (00:16 +0000)]
[OPENSM_3] use inet_ntop() from trunk/etc/user/inet.c instead of local version.

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

14 years ago[OPENSM_3] remove WINVER as it's defined in the build environment.
stansmith [Tue, 3 Nov 2009 00:13:58 +0000 (00:13 +0000)]
[OPENSM_3] remove WINVER as it's defined in the build environment.

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

14 years ago[OPENSM] return files to WinOF 2.1 state as the commits were incorrectly done here...
stansmith [Mon, 2 Nov 2009 23:40:07 +0000 (23:40 +0000)]
[OPENSM] return files to WinOF 2.1 state as the commits were incorrectly done here, intended for branches\opensm_3; talk about having a bad day...

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

14 years ago[IPOIB,IPOIB_NDIS6_CM] revert to previous version using hard-coded OS constants as...
stansmith [Mon, 2 Nov 2009 17:53:21 +0000 (17:53 +0000)]
[IPOIB,IPOIB_NDIS6_CM] revert to previous version using hard-coded OS constants as WinDDK\6001.1801 has build problems with symbolic constants.

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

14 years ago[DAPL] Sync with latest 2.0.24 OFED release
stansmith [Sat, 31 Oct 2009 00:27:53 +0000 (00:27 +0000)]
[DAPL] Sync with latest 2.0.24 OFED release

Summary of changes since last release:

v2 - winof: Utilize WinOF version of inet_ntop() for Windows OSes which do not support inet_ntop().
v2 - winof: ucm windows build issue with new CQ completion channel
v2 - winof: add ucm provider to windows build
v2 - winof: add missing build files for ibal, scm
v2 - scm: connection peer resets under heavy load, incorrect event on error
v2 - ucm: increase default reply and rtu timeout values.
v2 - ucm: change some debug message levels and add check for valid UD REPLY during retries.
v2 - ucm: increase timers during subsequent retries
v2 - ucm, scm: address handles need destroyed when freeing Endpoints with UD QP's.
v2 - openib_common: ignore pd free errors, clear pd_handle and return.
v2 - ucm: using UD type QP's, ucm reports wrong reject event when user rejects AH resolution request.
v2 - ucm, scm, cma: Fix CNO support on DTO type EVD's
v2 - ucm: fix lock init bug in ucm_cm_find
v2 - ucm: fix build problem with latest windows ucm changes
v2 - ucm: HCA should not be closed until all resources have been released.
v2 - ucm: build warning when compiling on 32-bit systems.
v2 - ucm: trying to deregister the same memory region twice
v2 - dat: reduce debug message level when parsing for location of dat.conf
v2 - ucm: update ucm provider for windows environment
v2 - ucm: add timer/retry CM logic to the ucm provider

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

14 years ago[IPOIB_NDIS6] remove ND file references (ibndprov.dll) from IA64 install section...
stansmith [Fri, 30 Oct 2009 23:07:18 +0000 (23:07 +0000)]
[IPOIB_NDIS6] remove ND file references (ibndprov.dll) from IA64 install section as they don't exist.

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

14 years ago[LIBIBVERBS] add ECONNRESET mapped to MSFT WSAECONNRESET for OFED porting.
stansmith [Fri, 30 Oct 2009 23:04:13 +0000 (23:04 +0000)]
[LIBIBVERBS] add ECONNRESET mapped to MSFT WSAECONNRESET for OFED porting.

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

14 years agolibibumad: match behavior of linux tree
shefty [Thu, 29 Oct 2009 22:19:07 +0000 (22:19 +0000)]
libibumad: match behavior of linux tree

Port GUIDs should be stored in an array index equal to the port number.  We need to start at array index 1, rather than 0 to support this.

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

14 years agowinverbs branch: remove patches directly - never should have been pushed upstream
shefty [Thu, 29 Oct 2009 22:17:39 +0000 (22:17 +0000)]
winverbs branch: remove patches directly - never should have been pushed upstream

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

14 years ago[WINOF] inf2cat.exe returns (-1) which doesn't work well with 'ERRORLEVEL 1' use...
stansmith [Thu, 29 Oct 2009 21:53:48 +0000 (21:53 +0000)]
[WINOF] inf2cat.exe returns (-1) which doesn't work well with 'ERRORLEVEL 1' use !ERRORLEVEL! which is evaluated upon access.

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

14 years ago[WINOF] simplify error handling with a for() loop
stansmith [Thu, 29 Oct 2009 21:45:37 +0000 (21:45 +0000)]
[WINOF] simplify error handling with a for() loop

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

14 years ago[WINOF] Include Winverbs ND provider plus ndinstall.exe for all architectures.
stansmith [Thu, 29 Oct 2009 21:03:09 +0000 (21:03 +0000)]
[WINOF] Include Winverbs ND provider plus ndinstall.exe for all architectures.

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

14 years ago[WINOF] enhance driver file copy error reporting by incorporating a for() loop to...
stansmith [Thu, 29 Oct 2009 20:59:21 +0000 (20:59 +0000)]
[WINOF] enhance driver file copy error reporting by incorporating a for() loop to copy ipoib & qlgcvnic drivers. Include Winverbs ND provider in binary tree creation.

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

14 years ago[IPOIB] NDIS 5 & NDIS 6 versions: use a symbolic constant to identify Windows version...
stansmith [Mon, 26 Oct 2009 23:40:57 +0000 (23:40 +0000)]
[IPOIB] NDIS 5 & NDIS 6 versions: use a symbolic constant to identify Windows version in makefile.

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

14 years ago[COMPLIB] fixed some bugs in not used functions. [mlnx: 4956]
leonidk [Mon, 26 Oct 2009 10:32:25 +0000 (10:32 +0000)]
[COMPLIB] fixed some bugs in not used functions. [mlnx: 4956]

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

14 years ago[MLX4] fix compilation bug in the previous patch
leonidk [Mon, 26 Oct 2009 10:31:27 +0000 (10:31 +0000)]
[MLX4] fix compilation bug in the previous patch

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

14 years ago[MLX4] Allocate and map sufficient ICM memory for EQ context. [mlnx: 4946]
leonidk [Mon, 26 Oct 2009 10:30:10 +0000 (10:30 +0000)]
[MLX4] Allocate and map sufficient ICM memory for EQ context. [mlnx: 4946]

    The current implementation allocates a single host page for EQ context
    memory, which was OK when we only allocated a few EQs.  However, since
    we now allocate an EQ for each CPU core, this patch removes the
    hard-coded limit (which we exceed with 4 KB pages and 128 byte EQ
    context entries with 32 CPUs) and uses the same ICM table code as all
    other context tables, which ends up simplifying the code quite a bit
    while fixing the problem.

    This problem was actually hit in practice on a dual-socket Nehalem box
    with 16 real hardware threads and sufficiently odd ACPI tables that it
    shows on boot

        SMP: Allowing 32 CPUs, 16 hotplug CPUs

    so num_possible_cpus() ends up 32, and mlx4 ends up creating 33 MSI-X
    interrupts and 33 EQs.  This mlx4 bug means that mlx4 can't even
    initialize at all on this quite mainstream system.

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

14 years ago[MLX4] added support for 26438 and 26488 devices. [mlnx: 4943]
leonidk [Mon, 26 Oct 2009 10:29:14 +0000 (10:29 +0000)]
[MLX4] added support for 26438 and 26488 devices. [mlnx: 4943]

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

14 years ago[MLX4] limit the process of reading VPD with timeout, but continue to work on error...
leonidk [Mon, 26 Oct 2009 10:14:38 +0000 (10:14 +0000)]
[MLX4] limit the process of reading VPD with timeout, but continue to work on error. [mlnx: 4879]

This patch solves the freeze of the driver in case when FW doesn't provide VPD.
(in fact - it's a workaround of a FW bug).
VPD is not used today in IB drivers.

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

14 years ago[MLX4] add 2 new functions to Eth interface: mlx4_register_vlan/mlx4_unregister_vlan...
leonidk [Mon, 26 Oct 2009 10:12:47 +0000 (10:12 +0000)]
[MLX4] add 2 new functions to Eth interface: mlx4_register_vlan/mlx4_unregister_vlan. [mlnx: 4847,4853]

The version of the interface has been increased!
Not relevant to IB drivers.

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

14 years ago[IBBUS,IPoIB] add debug prints. [mlnx: 4838]
leonidk [Mon, 26 Oct 2009 10:10:01 +0000 (10:10 +0000)]
[IBBUS,IPoIB] add debug prints. [mlnx: 4838]

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

14 years ago[CORE,HW] replace using of Paged pool by NonPaged one. [mlnx: 4836]
leonidk [Mon, 26 Oct 2009 10:05:59 +0000 (10:05 +0000)]
[CORE,HW] replace using of Paged pool by NonPaged one. [mlnx: 4836]

We see from time to time BSODs at shutdown times while a hard traffic load.
It can be attributed to the fact that some of the structured used in PnP and Power Management are allocated in Paged Pool.
As far as these structures are of little size it is safer to use for them always NonPagedPool.
It makes the driver more robust.

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

14 years ago[MLX4] behavior change: on conflict between requested and supported port type, start...
leonidk [Mon, 26 Oct 2009 09:55:44 +0000 (09:55 +0000)]
[MLX4] behavior change: on conflict between requested and supported port type, start up normally with the latter one.

The previous behavior was to issue an error and start up in "livefish" mode.
It is relevant only for Mellanox VPI (= hybrid IB/Ethernet) cards.

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

14 years ago[MLX4] added support for 26478 device. [mlnx: 4766]
leonidk [Mon, 26 Oct 2009 09:53:29 +0000 (09:53 +0000)]
[MLX4] added support for 26478 device. [mlnx: 4766]

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

14 years ago[IBBUS,HW] add standby/hibernation support to IBBUS. [mlnx: 4750]
leonidk [Mon, 26 Oct 2009 09:35:50 +0000 (09:35 +0000)]
[IBBUS,HW] add standby/hibernation support to IBBUS. [mlnx: 4750]

Mellanox HW doesn't support neither standby nor hibernation.
To simulate such support, low-level driver resets HCA on power down and starts it up on power up.
IBBUS, continuing to work with HCA, produces BSODs.

This patch deregisters HCA from IBAL on power down and re-registers it on power up.

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

14 years ago[ipoib] Make the ndis 5 version compile only on windows 2003 and lower.
tzachid [Sun, 25 Oct 2009 13:02:03 +0000 (13:02 +0000)]
[ipoib] Make the ndis 5 version compile only on windows 2003 and lower.

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

14 years ago[ipoib6] Remove a wrong version of the files.
tzachid [Sun, 25 Oct 2009 12:44:38 +0000 (12:44 +0000)]
[ipoib6] Remove a wrong version of the files.

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

14 years ago[ipoib] Add Missing files.
tzachid [Sun, 25 Oct 2009 12:41:52 +0000 (12:41 +0000)]
[ipoib] Add Missing files.

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

14 years ago[OPENSM] delete the old; pickup remaining new..sigh.
stansmith [Sat, 24 Oct 2009 02:10:07 +0000 (02:10 +0000)]
[OPENSM] delete the old; pickup remaining new..sigh.

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

14 years ago[OPENSM] should have deleted everything and not tried to merge...famous last words....
stansmith [Sat, 24 Oct 2009 01:47:07 +0000 (01:47 +0000)]
[OPENSM] should have deleted everything and not tried to merge...famous last words....

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

14 years ago[OPENSM] Oh, how I dislike SNV.......man pages
stansmith [Sat, 24 Oct 2009 01:14:34 +0000 (01:14 +0000)]
[OPENSM] Oh, how I dislike SNV.......man pages

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

14 years ago[OPENSM] missed the top level
stansmith [Sat, 24 Oct 2009 01:01:46 +0000 (01:01 +0000)]
[OPENSM] missed the top level

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

14 years ago[OPENSM] version 3.3.2 work-in-progress
stansmith [Sat, 24 Oct 2009 00:58:23 +0000 (00:58 +0000)]
[OPENSM] version 3.3.2 work-in-progress

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

14 years ago[INC] add defines and inline functions from OFED management ib_types.h in order to...
stansmith [Sat, 24 Oct 2009 00:32:28 +0000 (00:32 +0000)]
[INC] add defines and inline functions from OFED management ib_types.h in order to build OpenSM 3.3.2 using only trunk\inc\*. Tested by building & installing a WinOF release using current openSM and newer openSM; no observed differences.

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

14 years ago[WIX] Added explicit Windows Volume (%SystemDrive%\)for DAT config & SDK directories...
stansmith [Fri, 23 Oct 2009 02:26:00 +0000 (02:26 +0000)]
[WIX] Added explicit Windows Volume (%SystemDrive%\)for DAT config  & SDK directories. Required as older installers do not default TARGET dir to Windows Volume.

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

14 years ago[WINOF] Remove useless UI clause.
stansmith [Fri, 23 Oct 2009 02:09:31 +0000 (02:09 +0000)]
[WINOF] Remove useless UI clause.

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

14 years ago[WinOF] document mlx4 driver load sequencing: bus 1st, then hca.
stansmith [Fri, 23 Oct 2009 02:07:06 +0000 (02:07 +0000)]
[WinOF] document mlx4 driver load sequencing: bus 1st, then hca.

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

14 years ago[WINOF] add WinOF release number to the start menu WinOF uninstall shortcut.
stansmith [Fri, 23 Oct 2009 02:03:29 +0000 (02:03 +0000)]
[WINOF] add WinOF release number to the start menu WinOF uninstall shortcut.

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

14 years ago[NDINSTALL] enable ia64 build of ndinstall.exe for the WinVerbs ia64 ND provider.
stansmith [Fri, 23 Oct 2009 01:58:53 +0000 (01:58 +0000)]
[NDINSTALL] enable ia64 build of ndinstall.exe for the WinVerbs ia64 ND provider.

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

14 years ago[ULP] enable NetDirect (ND provider over WinVerbs).
stansmith [Fri, 23 Oct 2009 01:53:01 +0000 (01:53 +0000)]
[ULP] enable NetDirect (ND provider over WinVerbs).

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

14 years ago[ipoib 6] Bug fixes to the driver.
tzachid [Wed, 21 Oct 2009 10:10:40 +0000 (10:10 +0000)]
[ipoib 6] Bug fixes to the driver.

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

14 years ago[IBAL] Fix for cid on QP (for cm QPs).
tzachid [Tue, 20 Oct 2009 09:26:58 +0000 (09:26 +0000)]
[IBAL] Fix for cid on QP (for cm QPs).

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

14 years ago[INC] added defines for strcasecmp() & strtouq()
stansmith [Mon, 19 Oct 2009 18:08:52 +0000 (18:08 +0000)]
[INC] added defines for strcasecmp() & strtouq()

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

14 years ago[WSD] Add fall back to wsd (extended APM).
tzachid [Sun, 18 Oct 2009 11:20:08 +0000 (11:20 +0000)]
[WSD] Add fall back to wsd (extended APM).

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

14 years ago[mlx4_bus] Move our bus driver to be a network driver.
tzachid [Sun, 18 Oct 2009 09:31:29 +0000 (09:31 +0000)]
[mlx4_bus] Move our bus driver to be a network driver.

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

14 years ago[ibal] Allow cm to send a lap request after a failed (by timeout) lap request.
tzachid [Thu, 15 Oct 2009 13:44:15 +0000 (13:44 +0000)]
[ibal] Allow cm to send a lap request after a failed (by timeout) lap request.

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

14 years agolibrdmacm: add support for IB ACM
shefty [Wed, 30 Sep 2009 22:51:47 +0000 (22:51 +0000)]
librdmacm: add support for IB ACM

Update from trunk overwrote changes - revert back

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

14 years agoetc/linux: add netdb.h header file for linux portability
shefty [Wed, 30 Sep 2009 22:50:46 +0000 (22:50 +0000)]
etc/linux: add netdb.h header file for linux portability

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

14 years agowinverbs branch: update to trunk svn 2479
shefty [Wed, 30 Sep 2009 22:37:56 +0000 (22:37 +0000)]
winverbs branch: update to trunk svn 2479

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

14 years agowinverbs: map WSA error codes to winverbs status values
shefty [Wed, 30 Sep 2009 22:37:14 +0000 (22:37 +0000)]
winverbs: map WSA error codes to winverbs status values

Intel MPI bases decisions on the correct status value being returned and mapped correctly through uDAPL.

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

14 years agowinverbs: store devices in order that they are added
shefty [Wed, 30 Sep 2009 22:35:57 +0000 (22:35 +0000)]
winverbs: store devices in order that they are added

Maintaining and reporting devices in the same order that they are seen by the driver assists users in mapping IPoIB devices to verbs.

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

14 years agolibibverbs: delete MR when unregistering
shefty [Wed, 30 Sep 2009 22:33:27 +0000 (22:33 +0000)]
libibverbs: delete MR when unregistering

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

14 years agowinverbs branch
shefty [Wed, 30 Sep 2009 22:04:58 +0000 (22:04 +0000)]
winverbs branch

commit all changes before updating with trunk - mainly patches undergoing development to support IB ACM.

signed-off-by: Sean Hefty <sean.hefty@intel.com>

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

14 years agodapl: updated to commit 23445bbbd3a09f7f5e666a000d5c7c3b22dd95b3
shefty [Wed, 30 Sep 2009 22:01:34 +0000 (22:01 +0000)]
dapl: updated to commit 23445bbbd3a09f7f5e666a000d5c7c3b22dd95b3

plus a couple of patches to make it build

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

14 years agoib-mgmt:
shefty [Wed, 30 Sep 2009 21:56:11 +0000 (21:56 +0000)]
ib-mgmt:

update to commit 0abb828175450b873521d4917c3edb0a7b57c337
plus fixes to build that are submitted back upstream

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

14 years ago[WinOF] prep for WinOF 2.1 GA
stansmith [Mon, 28 Sep 2009 17:19:54 +0000 (17:19 +0000)]
[WinOF] prep for WinOF 2.1 GA

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

14 years ago[WinOF] Not all installers (svr2003/XP) default TARGETDIR == WindowsVolume, explicitl...
stansmith [Mon, 28 Sep 2009 17:14:49 +0000 (17:14 +0000)]
[WinOF] Not all installers (svr2003/XP) default TARGETDIR == WindowsVolume, explicitly set WindowsVolume so DAT\ is installed where expected '%SystemDrive%\DAT'.

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

14 years ago[WinOF] document logic in loading the windows driver store 1st with mlx4_hca driver...
stansmith [Mon, 28 Sep 2009 17:09:37 +0000 (17:09 +0000)]
[WinOF] document logic in loading the windows driver store 1st with mlx4_hca driver, then mlx4_bus driver. Story is a race between PNP and MSFT installer, as the mlx4_bus driver if installed 1st will setup for mlx4_hca and PNP will request mlx4_hca driver before the mlx4_hca driver has been installed into the driver store - net result is a failed mlx4_hca load/startup. Install into Driver Store: 1st mlx4_hca, then mlx4_bus.

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

14 years ago[WinOF] append WinOF release version string to uninstall command start-menu name.
stansmith [Mon, 28 Sep 2009 17:05:03 +0000 (17:05 +0000)]
[WinOF] append WinOF release version string to uninstall command start-menu name.

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