13 years agoRemove stale HPC Pack 2008 Beta 1 objects
ftillier [Wed, 27 May 2009 16:35:57 +0000 (16:35 +0000)]
Remove stale HPC Pack 2008 Beta 1 objects

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

13 years agodocs/maintainers: update maintainer information
shefty [Wed, 27 May 2009 16:01:12 +0000 (16:01 +0000)]
docs/maintainers: update maintainer information

Remove names no longer working on IB, update DAPL to list Arlin as the primary maintainer, and update the OFED compat lib notes

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

13 years agoetc/work_queue: abstraction to manage a small pool of IO_WORKITEMs
shefty [Wed, 27 May 2009 15:59:36 +0000 (15:59 +0000)]
etc/work_queue: abstraction to manage a small pool of IO_WORKITEMs

Create an abstraction for managing a small pool of IO_WORKITEMs that
can be used to process a queue of work requests at passive level.

To prevent starvation of other work items and ensure fairness of system
threads, only a single work requests is processed each time a work
item is queued.  If more work remains, the work item is requeued.

Using a pool of work items, rather than a single work item, allows for
some parallelism of tasks.

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

13 years agolibrdmacm: fix event reporting when destroying listen
shefty [Wed, 27 May 2009 15:58:27 +0000 (15:58 +0000)]
librdmacm: fix event reporting when destroying listen

Do not report connect request events if a user is in the process of destroying an associated listen request.  Ensure that the listen request continues to exist while any callbacks exist.

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

13 years ago[IBAL] remove unnecessary debug print
leonidk [Wed, 27 May 2009 11:04:22 +0000 (11:04 +0000)]
[IBAL] remove unnecessary debug print

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

13 years ago[HW] bug workaround: skip releasing of QP number upon a failure to destroy QP in...
leonidk [Wed, 27 May 2009 10:25:19 +0000 (10:25 +0000)]
[HW] bug workaround: skip releasing of QP number upon a failure to destroy QP in FW. [mlnx: 4383]

Otherwise it prevents the creation of new QPs.
This workaround will "leak" one bit in QP numbers' bit table.

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

13 years ago[WINOF] Svr 2003 cleanup enhanced to remove from %windir%\lastgood\. Use 'dpinst...
stansmith [Tue, 26 May 2009 22:31:24 +0000 (22:31 +0000)]
[WINOF] Svr 2003 cleanup enhanced to remove from %windir%\lastgood\. Use 'dpinst.exe -dp_delete' during uninstall to clean out DriverStore.

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

13 years ago[MLX4] improved debug print. [mlnx: 4342]
leonidk [Tue, 26 May 2009 18:14:38 +0000 (18:14 +0000)]
[MLX4] improved debug print. [mlnx: 4342]

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

13 years ago[MLX4] Soft Reset: fixed bug in case when mlx4_reset, issued from cmd.c, fails. ...
leonidk [Tue, 26 May 2009 18:06:01 +0000 (18:06 +0000)]
[MLX4] Soft Reset: fixed bug in case when mlx4_reset, issued from cmd.c, fails. [mlnx: 4296]

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

13 years ago[WINOF] make sure 64-bit systems get ibwsd32.dll file. Previous changes to remove...
stansmith [Fri, 22 May 2009 17:08:22 +0000 (17:08 +0000)]
[WINOF] make sure 64-bit systems get ibwsd32.dll file. Previous changes to remove ND from ia64 introduced this bug.

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

13 years ago[IBBUS] convert old global variable name 'gp_iou_mgr' to match it's local scope as...
stansmith [Fri, 22 May 2009 17:06:26 +0000 (17:06 +0000)]
[IBBUS] convert old global variable name 'gp_iou_mgr' to match it's local scope as 'p_iou_mgr'.

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

13 years agoUse private heap for memory allocations to avoid heap corruption when using
ftillier [Wed, 20 May 2009 19:50:56 +0000 (19:50 +0000)]
Use private heap for memory allocations to avoid heap corruption when using
the SecureMemoryCacheCallback functionality of the OS.

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

13 years agoNetworkDirect is one word.
ftillier [Wed, 20 May 2009 19:34:26 +0000 (19:34 +0000)]
NetworkDirect is one word.

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

13 years ago[IBBUS] remove duplicate FDO extension fields [p_port_mgr,p_iou_mgr] and use same...
stansmith [Tue, 19 May 2009 20:07:23 +0000 (20:07 +0000)]
[IBBUS] remove duplicate FDO extension fields [p_port_mgr,p_iou_mgr] and use same named fields from Bus_Filter_Instance.

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

13 years ago[IBBUS] clear IOU PDO device extension memory before use.
stansmith [Tue, 19 May 2009 19:48:10 +0000 (19:48 +0000)]
[IBBUS] clear IOU PDO device extension memory before use.

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

13 years ago[IBBUS] force last HCA to remain until IBAL has shutdown, then release IF reference...
stansmith [Tue, 19 May 2009 19:38:17 +0000 (19:38 +0000)]
[IBBUS] force last HCA to remain until IBAL has shutdown, then release IF reference. Added ASSERT()s for ref counting. Removed old DEBUG prints.

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

13 years ago[IBBUS] prevent duplicate HCA deref in iou_mgr_iou_remove() and iou_free_iou_mgr...
stansmith [Tue, 19 May 2009 19:29:18 +0000 (19:29 +0000)]
[IBBUS] prevent duplicate HCA deref in iou_mgr_iou_remove() and iou_free_iou_mgr(). Cleanup debug output.

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

13 years ago[IBBUS] reduce debug console output
stansmith [Tue, 19 May 2009 19:07:17 +0000 (19:07 +0000)]
[IBBUS] reduce debug console output

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

13 years ago[WinOF] support Windows 7 WDK 7100.0.0
stansmith [Fri, 15 May 2009 00:50:09 +0000 (00:50 +0000)]
[WinOF] support Windows 7 WDK 7100.0.0

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

13 years ago[DAPL2] win7 WDK 7100.0.0 issues a depreciated compiler option warning for /Wp64...
stansmith [Fri, 15 May 2009 00:48:37 +0000 (00:48 +0000)]
[DAPL2] win7 WDK 7100.0.0 issues a depreciated compiler option warning for /Wp64, remove offending 64-bit portibility warnings switch.

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

13 years ago[WinOF] be a bit more general with a task specific tool.
stansmith [Thu, 14 May 2009 23:05:38 +0000 (23:05 +0000)]
[WinOF] be a bit more general with a task specific tool.

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

13 years ago[WinOF] buildrelease.bat update Platform_SDK & ND_SDK_PATH definitions
stansmith [Thu, 14 May 2009 17:18:01 +0000 (17:18 +0000)]
[WinOF] buildrelease.bat update Platform_SDK & ND_SDK_PATH definitions

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

13 years ago[WinOF] support additional OFED Diags (winverbs_OFED.inc)
stansmith [Thu, 14 May 2009 17:13:07 +0000 (17:13 +0000)]
[WinOF] support additional OFED Diags (winverbs_OFED.inc)
  ibqueryerrors iblinkinfo saquery sminfo smpdump smpquery venstat ibportstate perfquery mcm_rereg_test
cleanup makebin.bat with single env var defs of what's to be copied.
ipoib.inc - no ND for ia64

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

13 years ago[VSTAT] added more information under new '-m' flag.
leonidk [Wed, 13 May 2009 12:11:23 +0000 (12:11 +0000)]
[VSTAT] added more information under new '-m' flag.

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

13 years ago[IPOIB] remove ND components from ia64 driver install. Leo OK'ed - signed off by...
stansmith [Tue, 12 May 2009 23:50:23 +0000 (23:50 +0000)]
[IPOIB] remove ND components from ia64 driver install. Leo OK'ed - signed off by stan.smith@intel.com

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

13 years ago[IBBUS] white-space alignment & comment line trim. Leo OK'ed, signed off by stan...
stansmith [Tue, 12 May 2009 23:46:59 +0000 (23:46 +0000)]
[IBBUS] white-space alignment & comment line trim. Leo OK'ed, signed off by stan.smith@intel.com

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

13 years agoib-diags: add ibqueryerrors
shefty [Tue, 12 May 2009 19:08:30 +0000 (19:08 +0000)]
ib-diags: add ibqueryerrors

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

13 years agoMAD: fix issues routing vendor MADs
shefty [Tue, 12 May 2009 17:25:44 +0000 (17:25 +0000)]
MAD: fix issues routing vendor MADs

Only dispatch received vendor defined MADs to the HCA driver if the
management class is one of the MLX vendor defined classes.

When dispatching MADs locally that are not handled by the HCA driver,
copy the sent MAD data into the received MAD buffer.  Also initialize
the address information of the dispatched MAD, so that replies can be
routed correctly back to the sender.  If a MAD is not handled by the
HCA driver and cannot be dispatched, return the MAD to the MAD pool
to avoid leaking MADs.

Finally, we simplify the MAD dispatch code.

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

13 years agoMAD: apply RMPP with the upper vendor mgmt class
shefty [Tue, 12 May 2009 17:24:13 +0000 (17:24 +0000)]
MAD: apply RMPP with the upper vendor mgmt class

The upper range of the vendor management class uses the RMPP header by default.

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

13 years agomlx4/mthca: define common vendor mgmt class
shefty [Tue, 12 May 2009 17:23:03 +0000 (17:23 +0000)]
mlx4/mthca: define common vendor mgmt class

Replace the separate MLX4 and MTHCA vendor MAD classes with common
MLX vendor classes.  This more easily allows us to determine if a vendor
defined management class should be routed to the HCA driver or dispatched
to a MAD client.

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

13 years agowinmad: support registration for unsolicited MADs
shefty [Tue, 12 May 2009 17:21:47 +0000 (17:21 +0000)]
winmad: support registration for unsolicited MADs

To support ibping, winmad needs to support registering for unsolicited
MADs.  We just need to change the MAD service context from referencing
the WMProvider to the WMRegistration.

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

13 years agomad: deregister MR earlier in destroy path
shefty [Tue, 12 May 2009 17:17:54 +0000 (17:17 +0000)]
mad: deregister MR earlier in destroy path

When restarting the stack, the MAD pool tries to deregister
its memory during the cleanup phase.  This results in an
error because of an invalid h_mr handle.  Fix the error by
deregistering the memory during the destroying callback.

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

13 years agoib/cm: update port attributes earlier in destruction path
shefty [Tue, 12 May 2009 17:16:33 +0000 (17:16 +0000)]
ib/cm: update port attributes earlier in destruction path

The CM tries to modify the port attributes during the cleanup
phase of port cep destruction.  However, if the stack is
being brought down, by the time ib_modify_hca is called, the
h_ca handle is invalid.

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

13 years agomlx4: change prints from error to information
shefty [Tue, 12 May 2009 17:14:08 +0000 (17:14 +0000)]
mlx4: change prints from error to information

TRACE_LEVEL_ERROR is intended for "Severe errors".  Change
ref/deref interface and DriverEntry exit log messages from
error to informational only.  This avoids displaying
misleading "***ERROR***" messages on the debug terminal.

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

13 years ago[MTHCA] bug fix: removed unnecessary conversion to network order in atomic operations...
leonidk [Tue, 12 May 2009 16:49:49 +0000 (16:49 +0000)]
[MTHCA] bug fix: removed unnecessary conversion to network order in atomic operations. [mlnx: 4298]

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

13 years ago[HW, WvVerbs] Pass through the user's specified max inline data value when creating...
leonidk [Tue, 12 May 2009 13:24:37 +0000 (13:24 +0000)]
[HW, WvVerbs] Pass through the user's specified max inline data value when creating a QP.
Currently, if the user specifies a value, it gets ignored when the QP is created.  The inline data value supported is then returned to the user, which may be less than requested.

This fixes a failure running dtest over mthca adapters.  Mlx4 adapters end up working for userspace apps because the max_inline_data is passed from the UVP to the kernel via the UMV buffer.  However, for completeness, fixup kernel calls for QP creation from IBAL for mlx4.

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

13 years ago[INC, WinVerbs] Define additional async event types for GID, LID, PKey, and SM change...
leonidk [Tue, 12 May 2009 13:05:24 +0000 (13:05 +0000)]
[INC, WinVerbs] Define additional async event types for GID, LID, PKey, and SM changes.  These are reported by winverbs, and at least appear to be handled by the HCA drivers.

This avoids converting LID change events seen by the mlx4 driver into local fatal errors.

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

13 years ago[IPOIB] Change printing LID information as an error to just informational.
leonidk [Tue, 12 May 2009 12:41:22 +0000 (12:41 +0000)]
[IPOIB] Change printing LID information as an error to just informational.

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

13 years ago[MLX4] disable superfluous debug print
leonidk [Tue, 12 May 2009 09:46:28 +0000 (09:46 +0000)]
[MLX4] disable superfluous debug print

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

13 years ago[WIX] use correct dapl scm name.
stansmith [Mon, 11 May 2009 19:23:16 +0000 (19:23 +0000)]
[WIX] use correct dapl scm name.

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

13 years agolibibmad: add missing file
shefty [Mon, 11 May 2009 19:08:44 +0000 (19:08 +0000)]
libibmad: add missing file

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

13 years agoib-diags: add missing file
shefty [Mon, 11 May 2009 19:03:50 +0000 (19:03 +0000)]
ib-diags: add missing file

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

13 years agoND: fixup build.txt
shefty [Wed, 6 May 2009 06:11:14 +0000 (06:11 +0000)]
ND: fixup build.txt

Update the build.txt document for building ulp/nd.

Replace use of ND_INC and ND_INC_S variables with a single, user defined
ND_SDK_PATH environment variable.  The change makes it consistent
with the existing PLATFORM_SDK_PATH variable.

The makefile checks for ND_SDK_PATH, rather than ND_INC when determining if ND
should be built.  ND_INC indicates that the SDK has been installed, but is not
useful for building in the WDK.

The hard-coded paths in the ND sources file are removed, since those paths are
specific to individual installations.  PLATFORM_SDK_PATH_S is replaced with
the existing PLATFORM_SDK_PATH variable.

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

13 years agoib-mgmt: sync with management.git tree
shefty [Wed, 6 May 2009 06:09:56 +0000 (06:09 +0000)]
ib-mgmt: sync with management.git tree

Adds new libibnetdisc library to ib-mgmt diags

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

13 years agodapl/dtest: sync with dapl.git
shefty [Wed, 6 May 2009 06:07:59 +0000 (06:07 +0000)]
dapl/dtest: sync with dapl.git

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

13 years agoWe need to return all MADs to IBAL before calling close_al. To protect
shefty [Wed, 6 May 2009 06:06:21 +0000 (06:06 +0000)]
We need to return all MADs to IBAL before calling close_al.  To protect
against queuing MADs during deregistration, set the MAD service handle
to NULL when deregistering and check that it is still valid before queuing
any received MADs.

This fixes a hanging when using ctrl-C to kill a process running ibping.

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

13 years agoAdd defines for physical port states. These are used by the latest ib-diags.
shefty [Wed, 6 May 2009 06:05:49 +0000 (06:05 +0000)]
Add defines for physical port states.  These are used by the latest ib-diags.

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

13 years ago[IBAL] fix memory leak on power down/power up flow. [mlnx: 4289]
leonidk [Mon, 4 May 2009 12:42:20 +0000 (12:42 +0000)]
[IBAL] fix memory leak on power down/power up flow. [mlnx: 4289]

port_mgr_port_add() allocates a port_pnp_ctx_t context, which is saved by IBAL to be used later in port_mgr_port_remove().
But in hibernation flow port_mgr_port_remove() doesn't release this context which causes IBBUS memory leak.
It was trapped by Verifier during WHQL Common Scenario Stress test.

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

13 years ago[MLX4] set the QoS to disable by default.
leonidk [Mon, 4 May 2009 12:29:05 +0000 (12:29 +0000)]
[MLX4] set the QoS to disable by default.

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

13 years ago[IBBUS] add control device to solve bugzilla #1367 problem.
leonidk [Sun, 3 May 2009 13:52:07 +0000 (13:52 +0000)]
[IBBUS] add control device to solve bugzilla #1367 problem.

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

13 years ago[HW] make all the drivers to be boot driver. [mlnx: 4278]
leonidk [Sun, 3 May 2009 13:07:20 +0000 (13:07 +0000)]
[HW] make all the drivers to be boot driver. [mlnx: 4278]

Also registry “StaticChild” should not be changed after driver update if it’s modified.

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

13 years ago[MLX4] fix memory leakage in error flow. [mlnx: 4276]
leonidk [Sun, 3 May 2009 12:50:07 +0000 (12:50 +0000)]
[MLX4] fix memory leakage in error flow. [mlnx: 4276]

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

13 years ago[IBAL] crash on IBBUS disabling while mad traffic. [mlnx: 4275]
leonidk [Sun, 3 May 2009 12:47:37 +0000 (12:47 +0000)]
[IBAL] crash on IBBUS disabling while mad traffic. [mlnx: 4275]

__ioc_query_sa takes references on IOC PnP service before sending the node and path_record requests.
But these references get released at the end of __node_rec_cb and __path_rec_cb, while __process_sweep routine, which performs the IOU sweeping, is just scheduled to run in an async thread.
If the test happens to unload the driver after __node_rec_cb and __path_rec_cb and before __process_sweep started to run, IOC PnP service gets released and __process_sweep crashes.

The patch takes a reference on IOC PnP service before scheduling a thread for __process_sweep and releases the reference at the end of __process_sweep.
(Pay attention, that __process_sweep schedules a thread for itself twice while moving through its FSM:

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

13 years ago[MLX4] Device is no longer ejectable. [mlnx: 4260]
leonidk [Sun, 3 May 2009 12:39:37 +0000 (12:39 +0000)]
[MLX4] Device is no longer ejectable. [mlnx: 4260]

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

13 years ago[HW] fix FW checking in MTHCA and add it to MLX4. [mlnx: 4271]
leonidk [Sun, 3 May 2009 09:32:01 +0000 (09:32 +0000)]
[HW] fix FW checking in MTHCA and add it to MLX4. [mlnx: 4271]

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

13 years agowinverbs: release CM interface only once per reference
shefty [Wed, 29 Apr 2009 23:02:09 +0000 (23:02 +0000)]
winverbs: release CM interface only once per reference

The CM interface is not bound to a device, and is only acquired once by the winverbs driver.  Release the CM interface only once after all devices have been removed, not once per hardware device.

This should fix issues enabling/disabling HCA drivers with multiple HCAs present in a single system.

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

13 years ago[DAPL2] remove ibal-scm in favor of openib_scm
stansmith [Sun, 26 Apr 2009 21:38:54 +0000 (21:38 +0000)]
[DAPL2] remove ibal-scm in favor of openib_scm
Remove ibal-scm from dirs file

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

13 years ago[DAPL2] more debug - Lindent + replace %s for %d in EVD_flush.
stansmith [Sun, 26 Apr 2009 21:35:57 +0000 (21:35 +0000)]
[DAPL2] more debug - Lindent + replace %s for %d in EVD_flush.

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

13 years ago[WinOF] support DAPL2-ofa-cma.dll (winverbs rdma CM) provider.
stansmith [Sun, 26 Apr 2009 21:31:55 +0000 (21:31 +0000)]
[WinOF] support DAPL2-ofa-cma.dll (winverbs rdma CM) provider.

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

13 years ago[DAPL2] remove dt-regression.bat as it's embodied in dt-cli.bat
stansmith [Sun, 26 Apr 2009 18:22:01 +0000 (18:22 +0000)]
[DAPL2] remove dt-regression.bat as it's embodied in dt-cli.bat

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

13 years ago[DAPL2/WINOF] use IB verbs device for debug socket cm
stansmith [Sun, 26 Apr 2009 14:48:28 +0000 (14:48 +0000)]
[DAPL2/WINOF]  use IB verbs device for debug socket cm

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

13 years ago[WinOF] dapl socket cm name change dapl2-scmd.dll --> dapl2-ofa-scmd.dll
stansmith [Sun, 26 Apr 2009 14:38:44 +0000 (14:38 +0000)]
[WinOF] dapl socket cm name change dapl2-scmd.dll --> dapl2-ofa-scmd.dll
Handle the absence of ND components: be verbose, don't fail.
Skip .cdf file copy.

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

13 years agodapl2: use common code base
shefty [Fri, 24 Apr 2009 20:41:38 +0000 (20:41 +0000)]
dapl2: use common code base

Windows and Linux now share a common code base for DAPL 2.0.

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

13 years agoetc/inet: add inet_ntop implementation
shefty [Thu, 23 Apr 2009 20:01:10 +0000 (20:01 +0000)]
etc/inet: add inet_ntop implementation

Someday windows will decide to support networking...  sigh...

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

13 years agolibrdmacm: fix event reporting
shefty [Thu, 23 Apr 2009 19:37:41 +0000 (19:37 +0000)]
librdmacm: fix event reporting

Use the latest comp_channel changes to fix event reporting and avoid
hangs when destroying resources.  We need to track when closing
devices to make sure that events are canceled, and avoid issuing
new wait calls.

Minor correction to the cmatose test app to avoid busy polling of the CQ,
which can prevent other threads from running.  This leads to connection
failures when running more clients than there are CPUs in the system.

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

13 years agolibibverbs: fix event reporting and minor fixes
shefty [Thu, 23 Apr 2009 19:35:20 +0000 (19:35 +0000)]
libibverbs: fix event reporting and minor fixes

Use the latest comp_channel changes to fix event reporting and avoid
hangs when destroying resources.  We need to track when closing
devices to make sure that events are canceled, and avoid issuing
new wait calls.

Rename windows specific calls to include 'w' after the ibv prefix to
avoid any potential future conflicts and clearly indicate to a caller
that they're using a windows only call.

Use the common ntohll definition.

Device names are changed from ibv_device_<guid> to ibv_device_X, where
X is an index (0, 1, 2, etc.).  This gives devices across the cluster
the same name, which is closer to IBAL and OFED device naming.

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

13 years agowinverbs: fixes to support OFED compatibility libraries and ND
shefty [Thu, 23 Apr 2009 19:29:41 +0000 (19:29 +0000)]
winverbs: fixes to support OFED compatibility libraries and ND

Winverbs fixes based on testing the DAPL openib_scm provider, which uses the
libibverbs compatibility library.

Simplify endpoint connect locking and code structure so it's clear when the
user's request is completed.

Add const to TranslateAddress to avoid a compiler warning when building the
ND provider.

Renumber CQ notification types to align with underlying code.

Take the RemoteAddress in a send work request in host order, to align with
the UVP.  (This will be revisited, but is required for RDMA over winverbs to
work for now.)

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

13 years agoetc/comp_channel: fix lost event problem
shefty [Thu, 23 Apr 2009 19:25:04 +0000 (19:25 +0000)]
etc/comp_channel: fix lost event problem

The previous version of the completion channel was racy and would
occasionally lose events, resulting in users blocking indefinitely
if no new events occurred.  The most sure fix for this is to add
a thread to the completion manager that reaps events from an IO
completion port and dispatches them to the correct completion
channel.  This results in a 1-2% performance hit in libibverbs
bandwidth tests that wait on CQ, but actually works.

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

13 years agoibal/at: move include inside #ifndef as minor optimization
shefty [Thu, 23 Apr 2009 19:22:45 +0000 (19:22 +0000)]
ibal/at: move include inside #ifndef as minor optimization

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

13 years agoibal/cm: reference private data in received MAD not stored in CEP
shefty [Thu, 23 Apr 2009 19:20:50 +0000 (19:20 +0000)]
ibal/cm: reference private data in received MAD not stored in CEP

To avoid any potential synchronization issues with changes to the private
data in the CEP, reference the private data in the received MAD when
formatting CM events.

Fix the size of the reject private data.

This only affects users of the newer IB CM interface, which is only winverbs
at this point.

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

13 years agomlx4: fix status checkmlx4: fix status check
shefty [Thu, 23 Apr 2009 19:17:52 +0000 (19:17 +0000)]
mlx4: fix status checkmlx4: fix status check

ibv_um_open returns IB_API_STATUS, not NTSTATUS.

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

13 years agoetc/linux: add common ntohll and htonll definitions
shefty [Thu, 23 Apr 2009 19:16:06 +0000 (19:16 +0000)]
etc/linux: add common ntohll and htonll definitions

To support common linux/windows code that makes use of these calls.

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

13 years agoetc/dlist: add simple userspace doubly-linked list abstraction
shefty [Thu, 23 Apr 2009 19:06:12 +0000 (19:06 +0000)]
etc/dlist: add simple userspace doubly-linked list abstraction

Add a very simple implementation for managing a doubly-linked list.
This implementation uses only a 'list entry' structure for both the
list and items on the list, versus separate structures like complib.

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

13 years agodocs/dontdiff: exclude obj files from diff
shefty [Thu, 23 Apr 2009 19:04:29 +0000 (19:04 +0000)]
docs/dontdiff: exclude obj files from diff

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

13 years ago{NetworkDirect] updated readme.txt to illuminate build requirements
stansmith [Thu, 23 Apr 2009 16:50:30 +0000 (16:50 +0000)]
{NetworkDirect] updated readme.txt to illuminate build requirements

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

13 years ago[NetworkDirect] Enable Network Direct IB provider builds.
stansmith [Thu, 23 Apr 2009 16:30:58 +0000 (16:30 +0000)]
[NetworkDirect] Enable Network Direct IB provider builds.
if HPC SDK installed (ND_INC defined) then build for x86 & x64 - no IA64 ND support until ND over Winverbs.
if !HPC SDK installed, skip ND provider build for all architectures.

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

13 years ago[IBAL] Correct connection issues and lost IRPs (Xombie procs) introduced in svn.2079...
stansmith [Thu, 23 Apr 2009 16:17:15 +0000 (16:17 +0000)]
[IBAL] Correct connection issues and lost IRPs (Xombie procs) introduced in svn.2079 commit.

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

13 years ago[Wix] use dapl2-ofa-scm as the socket CM dapl2 provider
stansmith [Wed, 22 Apr 2009 00:45:08 +0000 (00:45 +0000)]
[Wix] use dapl2-ofa-scm as the socket CM dapl2 provider

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

13 years ago[WIX] remove ND for IA64, use new Common-dapl socket CM as dapl2-ofa-scm
stansmith [Wed, 22 Apr 2009 00:40:50 +0000 (00:40 +0000)]
[WIX] remove ND for IA64, use new Common-dapl socket CM as dapl2-ofa-scm

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

13 years ago[NDINSTALL] enable ndinstall.exe build if HPC SDK is installed. If not skip the ndins...
stansmith [Tue, 21 Apr 2009 21:00:53 +0000 (21:00 +0000)]
[NDINSTALL] enable ndinstall.exe build if HPC SDK is installed. If not skip the ndinstall.exe builds for all architectures; No ND support for IA64.

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

13 years ago[ND] no ND IB provider for IA64
stansmith [Tue, 21 Apr 2009 16:49:14 +0000 (16:49 +0000)]
[ND] no ND IB provider for IA64

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

13 years agoUpdate to ND installer.
ftillier [Tue, 21 Apr 2009 04:27:57 +0000 (04:27 +0000)]
Update to ND installer.

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

13 years agoInitial copy of WSD installer, used as base for ND installer.
ftillier [Mon, 20 Apr 2009 20:04:06 +0000 (20:04 +0000)]
Initial copy of WSD installer, used as base for ND installer.

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

13 years ago[BUS] prevent disable operation from firing ref count ASSERT(). Clear hca field so...
stansmith [Thu, 16 Apr 2009 17:25:14 +0000 (17:25 +0000)]
[BUS] prevent disable operation from firing ref count ASSERT(). Clear hca field so hca is not deref'ed a 2nd time when iou_mgr is freed.

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

13 years ago[MLX4] Remove hard-coded KMDF version numbers; use $(KMDF_VERSION_MAJOR).$(KMDF_VERSI...
stansmith [Mon, 13 Apr 2009 18:08:11 +0000 (18:08 +0000)]
[MLX4] Remove hard-coded KMDF version numbers; use $(KMDF_VERSION_MAJOR).$(KMDF_VERSION_MINOR)  and $KMDFVERSION$ instead.
Remove DDK build env test.

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

13 years ago[MTHCA] Remove hard-coded KMDF version numbers; missed KmdfLibraryVersion = $KMDFVERS...
stansmith [Mon, 13 Apr 2009 18:06:47 +0000 (18:06 +0000)]
[MTHCA] Remove hard-coded KMDF version numbers; missed KmdfLibraryVersion = $KMDFVERSION$ from 2095

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

13 years ago[MTHCA] Remove hard-coded KMDF version numbers; use $(KMDF_VERSION_MAJOR).$(KMDF_VERS...
stansmith [Mon, 13 Apr 2009 17:47:21 +0000 (17:47 +0000)]
[MTHCA] Remove hard-coded KMDF version numbers; use $(KMDF_VERSION_MAJOR).$(KMDF_VERSION_MINOR) instead.
Remove DDK build env test.

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

13 years ago[ND] reverting back to fake ND sources file so build out-of-svn works again.
stansmith [Mon, 13 Apr 2009 17:36:42 +0000 (17:36 +0000)]
[ND] reverting back to fake ND sources file so build out-of-svn works again.
Once MS supplied sources file actually builds something useful, will reinstate their sources file.

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

13 years ago[HW] Pass IRP_MN_QUERY_INTERFACE IRP down the stack.
leonidk [Sun, 12 Apr 2009 08:02:51 +0000 (08:02 +0000)]
[HW] Pass IRP_MN_QUERY_INTERFACE IRP down the stack.

This patch changes the HCA driver to pass any IRP_MN_QUERY_INTERFACE IRP down the stack if the interface is supported, after setting the IRP status to STATUS_SUCCESS.  The bottom-most driver will complete the IRP without changing the status.

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

13 years ago[WinOF]
stansmith [Fri, 10 Apr 2009 23:24:54 +0000 (23:24 +0000)]
buildrelease.bat - for compf & allf - verify input path exists; protect against bad typists/self.
README.txt - update how2 doc with current paths.
Release_notes.htm - added MS HPC driver install link to HPC install discussion.
signDrivers.bat - be explicit as to which cert-store the cert comes from (self-doc).

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

13 years agoFix build break on IA64 - use DDK_BLOCK_ON_IA64 build macro to skip building for...
ftillier [Wed, 8 Apr 2009 01:14:59 +0000 (01:14 +0000)]
Fix build break on IA64 - use DDK_BLOCK_ON_IA64 build macro to skip building for IA64.

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

13 years agoND Provider source.
ftillier [Tue, 7 Apr 2009 23:21:37 +0000 (23:21 +0000)]
ND Provider source.

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

13 years ago[AL] fix XP build errors
stansmith [Tue, 7 Apr 2009 16:41:48 +0000 (16:41 +0000)]
[AL] fix XP build errors

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

13 years ago[WIX]
stansmith [Tue, 7 Apr 2009 00:07:24 +0000 (00:07 +0000)]
  Allow Svr2008 installer to install on Svr2008 R2.
  Win7 only installs on Win7 -or- Svr2008 R2.
  signDrivers.bat - update error message: signtool.exe path

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

13 years ago[DAPL2] cleanup/simpleify
stansmith [Tue, 7 Apr 2009 00:04:27 +0000 (00:04 +0000)]
[DAPL2] cleanup/simpleify
dt-cli.bat standardize time output, skip 'finished test xxx' messages where start is still on the screen.
dt-svr.bat - exit with correct error code.

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

13 years ago[IBAL] Fix ND connection establishment races.
leonidk [Sun, 5 Apr 2009 15:24:20 +0000 (15:24 +0000)]
[IBAL] Fix ND connection establishment races.

This patch fixes issues with connection establishment for NetworkDirect.  The root cause of the issue is 'too many cooks' - CIDs exposed to user-mode should not be destroyed in the kernel code without explicit request from the user.  Otherwise, the CID can get recycled in the kernel for the same process and improperly freed when the stale CID is released by the application (multiple connection objects in the app have the same CID.)

Unfortunately, the fix is not simple.  The QP references the CEP, so QP destruction frees the CEP, even if there's a reference to that CEP left in the application.  Removing the CEP reference form the QP solves this problem, but deadlocks the app if it destroys the QP before the CEP, since the QP is used to queue connection-related IRPs, and the CEP uses the QP as its context and so holds a reference on it.

This patch does the following:
- Remove CEP reference for ND related QP.
- Remove ND connection related IRP queue from QP.
- Remove ND IRP handling from CEP manager.
- Add a function to CEP manager to reference the context associated with a CEP if the context is non-NULL.
- Move ND connection related IRP management into al_ndi_cm.c, in nd_csq_t structure.

As part of testing, I needed to add NotifyDisconnect functionality, so this is also included in the patch.

Note that the patch depends on Sean's previous patch to change kal_cep_destroy to allow silently dropping a REQ.  I did not remove Sean's previous changes from this patch, so they are duplicated here.  This allows the patch to be applied and build.


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

13 years ago[MLX4] fix in error flow.
leonidk [Sun, 5 Apr 2009 13:19:55 +0000 (13:19 +0000)]
[MLX4] fix in error flow.

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

13 years ago[IBBUS] a little fix to 2019 patch (remove HCA registration with IBAL.). [mlnx: 4105]
leonidk [Sun, 5 Apr 2009 13:13:39 +0000 (13:13 +0000)]
[IBBUS] a little fix to 2019 patch (remove HCA registration with IBAL.). [mlnx: 4105]

Make HCA de-registration before removing port managers

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

13 years ago[WinOF] Windows 7 support
stansmith [Thu, 2 Apr 2009 17:34:48 +0000 (17:34 +0000)]
[WinOF] Windows 7 support
buildrelease.bat - use 7068 WDK
build-oFA-dist.bat - Win7 support; collect OS variants prior to zip, facilitates win7 or not support.
signDriver.bat - delayed env var expansion bug: replace %CD%\arch with !CD! as pushd does update %CD%.

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

13 years ago[WinOF] identify pre-2.1 installers
stansmith [Thu, 2 Apr 2009 17:27:44 +0000 (17:27 +0000)]
[WinOF] identify pre-2.1 installers

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