mirror/winof/.git
11 years ago[MLX4] added debug prints in case of errors. [mlnx: 4664]
leonidk [Sun, 16 Aug 2009 14:12:31 +0000 (14:12 +0000)]
[MLX4] added debug prints in case of errors. [mlnx: 4664]

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

11 years ago[MLX4] bug fix in error flow: doesn't return error on allocation failure. [mlnx:...
leonidk [Sun, 16 Aug 2009 14:12:09 +0000 (14:12 +0000)]
[MLX4] bug fix in error flow: doesn't return error on allocation failure. [mlnx: 4663]

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

11 years ago[IBAL] fix to 2226. cause an asynchronic event to be handled immediately (and not...
leonidk [Sun, 16 Aug 2009 14:06:23 +0000 (14:06 +0000)]
[IBAL] fix to 2226. cause an asynchronic event to be handled immediately (and not after SMI_POLL_INTERVAL, which is 20 secs) [mlnx: 4651]

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

11 years ago[MLX4] added support for NOP operation. [mlnx: 4579]
leonidk [Sun, 16 Aug 2009 13:58:05 +0000 (13:58 +0000)]
[MLX4] added support for NOP operation. [mlnx: 4579]

One can now post WQE with WR_NOP operation just to get interrupt on completion.

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

11 years ago[ND provider] This patch is a fix to 2333. It removes a facility to define MaxDataInl...
leonidk [Sun, 16 Aug 2009 12:40:46 +0000 (12:40 +0000)]
[ND provider] This patch is a fix to 2333. It removes a facility to define MaxDataInlineSize from application, because it breaks MS API

Improved latency of ND provider by using INLINE send

This patch adds usage of INLINE DATA facility of Mellanox HCAs for improving latency of ND provider.

Here are the ideas of the patch:
    - by default, ND provider will create QP with inline data of 160 bytes;
    (this can enlarge user's QP size)
    - one can change this default by defining environment variable IBNDPROV_MAX_INLINE_SIZE;

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

11 years ago[IPOIB] Prevent a BSOD which happens when restarting the opensm more than once (if...
stansmith [Thu, 13 Aug 2009 17:34:29 +0000 (17:34 +0000)]
[IPOIB] Prevent a BSOD which happens when restarting the opensm more than once (if the local endpoint was not in the lid_endpts list). signed off by stan.smith@intel.com & Tzachi Dar [tzachid@mellanox.co.il]

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

11 years agoreapply overwritten commit 2340
shefty [Mon, 10 Aug 2009 18:52:32 +0000 (18:52 +0000)]
reapply overwritten commit 2340

not sure what happened, but commit 2340 was lost

The IP version number is in the upper 4 bits.  It is set correctly, but not read out correctly.

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

11 years agowinverbs/driver: fix check for IP version
shefty [Sat, 8 Aug 2009 00:21:54 +0000 (00:21 +0000)]
winverbs/driver: fix check for IP version

The IP version is in the upper 4 bits of an 8 bit field.  It is set
correctly, but not ready out correctly.  The result is that an IPv4
address reported to user space is listed as an IPv6 address instead.

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

11 years agowinverbs/driver: change status for rejected connections
shefty [Sat, 8 Aug 2009 00:20:44 +0000 (00:20 +0000)]
winverbs/driver: change status for rejected connections

Complete connection requests with STATUS_CONNECTION_REFUSED rather
than STATUS_REQUEST_NOT_ACCEPTED for rejected connections.  This aligns
the status value with ND.

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

11 years ago[DAPL2] Sync with OFED DAPL 2.0.21 src release
stansmith [Fri, 7 Aug 2009 20:16:36 +0000 (20:16 +0000)]
[DAPL2] Sync with OFED DAPL 2.0.21 src release

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

11 years agoibal/cm: allow RDMA writes for QP attributes by default
shefty [Fri, 7 Aug 2009 18:48:52 +0000 (18:48 +0000)]
ibal/cm: allow RDMA writes for QP attributes by default

Enable remote RDMA writes as the default QP attributes for INIT
transitions.  Previously, RDMA writes were only enabled if the CM
messages carried a responder resources > 0.  However, responder
resources indicates whether RDMA reads/atomics should be enabled,
not RDMA writes.

Without this patch, users of winverbs that connect in-band that
want to perform RDMA writes without performing RDMA reads will
see QP errors when performing writes.

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

11 years ago[ND provider] improved latency of ND provider by using INLINE send
leonidk [Thu, 6 Aug 2009 17:13:25 +0000 (17:13 +0000)]
[ND provider] improved latency of ND provider by using INLINE send

This patch adds usage of INLINE DATA facility of Mellanox HCAs for improving latency of ND provider.

Here are the ideas of the patch:
    - by default, ND provider will create QP with inline data of 160 bytes;
    (this can enlarge user's QP size)
    - one can change this default by defining environment variable IBNDPROV_MAX_INLINE_SIZE;
    - an ND application, while creating QP, can define the necessary INLINE DATA size; this value takes precedence over the default one.

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

11 years agowinverbs/status: add status definition for IO timeout
shefty [Wed, 5 Aug 2009 23:44:28 +0000 (23:44 +0000)]
winverbs/status: add status definition for IO timeout

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

11 years agolibibverbs/comp_mgr: fix hang during destruction
shefty [Wed, 5 Aug 2009 23:43:10 +0000 (23:43 +0000)]
libibverbs/comp_mgr: fix hang during destruction

The completion manager abstraction can hang during cleanup.  The hang
occurs when the user calls CompManagerCancel before calling CompManagerClose,
and the user is not waiting for events.  In this case, the completion manager
thread will pull the cancel request from the IO completion port and queue it
with the manager.  When CompManagerClose is called, it calls CompManagerCancel
to signal the thread to check the running state.  However, the completion
manager's event structure is still marked busy from the user's CompManagerCancel
call.

The result is that the completion manager thread does not receive the
signal to check the running flag and remains asleep.  Fix this by using a
different completion entry to signal the thread during destruction than that
used to cancel a CompManagerPoll event.

This fixes occasional hangs running dapltest with both the rdma_cm and socket
cm providers.

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

11 years ago[WINOF\HPC] update example scripts - run from C:\WOF
stansmith [Tue, 4 Aug 2009 17:23:22 +0000 (17:23 +0000)]
[WINOF\HPC] update example scripts - run from C:\WOF

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

11 years agonetdirect/winverbs: fixes to run nd sample tests
shefty [Sat, 1 Aug 2009 01:02:29 +0000 (01:02 +0000)]
netdirect/winverbs: fixes to run nd sample tests

Now that the WV ND provider can be installed, the ND sample tests can be run.  This provides various fixes to get at least a couple of the sample tests running.

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

11 years agolibibverbs: add reference counts to track CQ events
shefty [Sat, 1 Aug 2009 01:01:57 +0000 (01:01 +0000)]
libibverbs: add reference counts to track CQ events

We need to track CQ events to block destroying CQ objects until all outstanding events have been acknowledged.  Otherwise, the caller could reference freed memory after calling ibv_get_cq_event.

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

11 years agowinverbs: fix cleanup in error handling cases
shefty [Fri, 31 Jul 2009 16:50:21 +0000 (16:50 +0000)]
winverbs: fix cleanup in error handling cases

Running the ndmw test results in a crash in the winverbs driver.  The
crash is caused by improper cleanup in the winverbs driver as a result
of a failure trying to allocate a memory window.

In studying the crash, the same situation could arise if other objects
also fail to be created (QPs, CQs, PDs, etc.)  To fix the crash and
simplify the code, explicit calls to used to increment the reference
count on referenced objects, rather than simply holding onto the
reference that was acquired when the object was validated.  (The latter
is slightly more efficient, but results in less maintainable code
once any fix is applied.)

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

11 years ago[ND] missed the root of the fake.
stansmith [Tue, 28 Jul 2009 23:31:30 +0000 (23:31 +0000)]
[ND] missed the root of the fake.

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

11 years ago[ND] remove old, unused fake build folders from the days before we could build ND...
stansmith [Tue, 28 Jul 2009 23:29:51 +0000 (23:29 +0000)]
[ND] remove old, unused fake build folders from the days before we could build ND from src. makefile.inc modified to reflect folder changes.

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

11 years ago[WINOF] add new HPC example scripts; added new WIX include file to create %ProgramFil...
stansmith [Tue, 28 Jul 2009 19:06:35 +0000 (19:06 +0000)]
[WINOF] add new HPC example scripts; added new WIX include file to create %ProgramFiles(x86)%\WinOF\HPC install folder and HPC examples scripts; change wof.wxs to include ..\..\HPC\HPC.inc .

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

11 years ago[WINOF] move HPC script examples into HPC specific folder.
stansmith [Tue, 28 Jul 2009 18:50:15 +0000 (18:50 +0000)]
[WINOF] move HPC script examples into HPC specific folder.

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

11 years ago[WINOF] Collect HPC related install script examples into one place
stansmith [Tue, 28 Jul 2009 18:45:48 +0000 (18:45 +0000)]
[WINOF] Collect HPC related install script examples into one place

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

11 years agond/winverbs: fix source file to reference correct export file
shefty [Mon, 27 Jul 2009 16:56:16 +0000 (16:56 +0000)]
nd/winverbs: fix source file to reference correct export file

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

11 years ago[DOCS] Document ndinstall cmd IF again supports a default provider IBAL 'ndinstall...
stansmith [Tue, 21 Jul 2009 18:10:34 +0000 (18:10 +0000)]
[DOCS] Document ndinstall cmd IF again supports a default provider IBAL 'ndinstall -i' defaults to IBAL provider.

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

11 years ago[WINOF] Revert back to original ndinstall.exe invocation as a 'default' ND provider...
stansmith [Thu, 16 Jul 2009 22:58:22 +0000 (22:58 +0000)]
[WINOF] Revert back to original ndinstall.exe invocation as a 'default' ND provider is now provided.

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

11 years ago[DAPL2] Implement a malloc() threshold for the completion reaping byte vector allocat...
stansmith [Thu, 16 Jul 2009 22:56:45 +0000 (22:56 +0000)]
[DAPL2] Implement a malloc() threshold for the completion reaping byte vector allocation in functions:
  DT_handle_send_op, DT_handle_rdma_op & DT_handle_recv_op.
When allocation size is under the threshold, use a stack local allocation instead of malloc/free.
Move redundant bzero() to be called only in the case of using local stack allocation as DT_Mdep_malloc() already does a bzero().
Consolidate error handling return and free()check to a single point by using goto.

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

11 years ago[ND] reinstate '-i' to install 'default' ND service provider IBAL; reinstate '-r...
stansmith [Thu, 16 Jul 2009 22:53:40 +0000 (22:53 +0000)]
[ND] reinstate '-i' to install 'default' ND service provider IBAL; reinstate '-r' to uninstall 'default' ND service provider; backwards compat.

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

11 years ago[ETC] process nonexistent optional switch arg @ EOL. signed off by stan.smith@intel.com
stansmith [Thu, 16 Jul 2009 22:51:26 +0000 (22:51 +0000)]
[ETC] process nonexistent optional switch arg @ EOL. signed off by stan.smith@intel.com

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

11 years agolibrdmacm: free event structure on failure
shefty [Wed, 15 Jul 2009 21:53:54 +0000 (21:53 +0000)]
librdmacm: free event structure on failure

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

11 years ago[WIX] Account for changes in ndinstall.exe cmd line interface.
stansmith [Wed, 15 Jul 2009 19:56:37 +0000 (19:56 +0000)]
[WIX] Account for changes in ndinstall.exe cmd line interface.

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

11 years ago[TOOLS] repair ndinstall (installsp.c) return a proper exit code; removed unused...
stansmith [Wed, 15 Jul 2009 19:54:00 +0000 (19:54 +0000)]
[TOOLS] repair ndinstall (installsp.c) return a proper exit code; removed unused variables; remove ifdef PERFMON_ENABLED code blocks per Fab's suggestion; reinstate '-l' options for compatibility with older versions (same as no args);ensure ndinstall -l or no-args return success;

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

11 years ago[DOCS] Update manual.htm to reflect recent command line interface changes in ndinstal...
stansmith [Wed, 15 Jul 2009 19:45:11 +0000 (19:45 +0000)]
[DOCS] Update manual.htm to reflect recent command line interface changes in ndinstall.exe

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

11 years ago[MLX4] changed severity level for informational messages about Soft Reset from ERROR...
leonidk [Mon, 13 Jul 2009 18:29:54 +0000 (18:29 +0000)]
[MLX4] changed severity level for informational messages about Soft Reset from ERROR to INFO. [mlnx: 4568]

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

11 years ago[MLX4] added new Registry parameter for number of FC_EXCHs and added a sanity check...
leonidk [Mon, 13 Jul 2009 18:28:40 +0000 (18:28 +0000)]
[MLX4] added new Registry parameter for number of FC_EXCHs and added a sanity check, that the number of reserved QPs is less then all requested QPs. [mlnx: 4562]

It came to fix a bug: if the number of reserved QPs is greater then the number of QPs requested, the bug causes eventual allocation of reserved QPs, which is forbidden.
The bug happened due two reasons:
  - absense of sanity check, comparing reserved and total number of QPs;
  - a large built-in number of FC_EXCH QPs, which are not in use at all today.
The patch replaces the built-in value to Registry taken one and set it to O.
It also changes the number of MACs from 1 to 0 for there is no need in reservation for MACs.

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

11 years ago[MLX4] 1) added support for sending large multi-parameter messages to System Event...
leonidk [Mon, 13 Jul 2009 18:24:01 +0000 (18:24 +0000)]
[MLX4] 1) added support for sending large multi-parameter messages to System Event Log.  [mlnx: 4561]
2) improved the wording of several most popular messages.

To print to Event Log, one has to use the new function WriteEventLogEntryData().

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

11 years ago[MLX4] added support to new device. [mlnx: 4473]
leonidk [Mon, 13 Jul 2009 18:19:03 +0000 (18:19 +0000)]
[MLX4] added support to new device. [mlnx: 4473]

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

11 years ago[WinOF] Remove disucssions for Server 2003 & XP w.r.t. selecting HCA device driver...
stansmith [Mon, 13 Jul 2009 16:42:36 +0000 (16:42 +0000)]
[WinOF] Remove disucssions for Server 2003 & XP w.r.t. selecting HCA device driver to hardware - DIFxApp/PNP simplifies and unifies HCA selection; user selects HCA vendor; Mellanox is the default.

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

11 years ago[DOCS] Simplify starting Service Manager discussion in starting OpenSM.
stansmith [Mon, 13 Jul 2009 16:35:01 +0000 (16:35 +0000)]
[DOCS] Simplify starting Service Manager discussion in starting OpenSM.

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

11 years ago[WinOF] White-space formatting.
stansmith [Mon, 13 Jul 2009 16:32:36 +0000 (16:32 +0000)]
[WinOF] White-space formatting.

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

11 years agondinstall: update installer to support both IBAL and WV ND providers
shefty [Fri, 10 Jul 2009 17:57:19 +0000 (17:57 +0000)]
ndinstall: update installer to support both IBAL and WV ND providers

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

11 years agonetdirect: add winverbs ND provider
shefty [Fri, 10 Jul 2009 17:56:19 +0000 (17:56 +0000)]
netdirect: add winverbs ND provider

Initial implementation.  Compiles, but otherwise untested.

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

11 years ago[ETC] forgot the paperwork - BSD license included in files.
stansmith [Thu, 9 Jul 2009 18:58:41 +0000 (18:58 +0000)]
[ETC] forgot the paperwork - BSD license included in files.

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

11 years ago[ETC] Provide a common implementation for gettimeofday().
stansmith [Thu, 9 Jul 2009 17:56:49 +0000 (17:56 +0000)]
[ETC] Provide a common implementation for gettimeofday().

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

11 years ago[DAPL2] fix a problem in socket-cm with FD_SETSIZE not being uniformly defined. Add...
stansmith [Thu, 9 Jul 2009 17:53:47 +0000 (17:53 +0000)]
[DAPL2] fix a problem in socket-cm with FD_SETSIZE not being uniformly defined. Add UD test options to dtestcm. Use correct -D flags argument in dt-svr.bat, do not be silent in dt-cli stop as errors were discarded. Use trunk\etc\user\gtod.c for 'gettimeofday()' function.

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

11 years ago[COMPLIB] Allow ipoib 6 to compile as a C++ driver
leonidk [Mon, 6 Jul 2009 08:25:27 +0000 (08:25 +0000)]
[COMPLIB] Allow ipoib 6 to compile as a C++ driver

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

11 years ago[WinOF] Added dtestcm.exe (Connection Manager rate measurement tool) to uDAT/uDAPL...
stansmith [Thu, 2 Jul 2009 17:51:26 +0000 (17:51 +0000)]
[WinOF] Added dtestcm.exe (Connection Manager rate measurement tool) to uDAT/uDAPL installed utils.

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

11 years ago[DAPL2] Support refactored common code
stansmith [Wed, 1 Jul 2009 23:45:52 +0000 (23:45 +0000)]
[DAPL2] Support refactored common code

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

11 years ago[DAPL2] code reorganization to support common functions between providers: add/delete...
stansmith [Wed, 1 Jul 2009 23:29:30 +0000 (23:29 +0000)]
[DAPL2] code reorganization to support common functions between providers: add/delete phase.

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

11 years ago[IPOIB] IPoIB PXE boot support: Don't truncate DHCP options.
tzachid [Sun, 28 Jun 2009 10:10:39 +0000 (10:10 +0000)]
[IPOIB] IPoIB PXE boot support:  Don't truncate DHCP options.
Signed off by: ftillier@windows.microsoft.com

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

11 years ago[IPOIB] IPoIB PXE boot support: Filter proxy DHCP requests too.
tzachid [Sun, 28 Jun 2009 10:08:39 +0000 (10:08 +0000)]
[IPOIB] IPoIB PXE boot support: Filter proxy DHCP requests too.
Signed off by: ftillier@windows.microsoft.com

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

11 years ago[IBAL] fix misplaced print to Event Log in 2229 patch. [mlnx: 4491]
leonidk [Sun, 28 Jun 2009 08:54:09 +0000 (08:54 +0000)]
[IBAL] fix misplaced print to Event Log in 2229 patch. [mlnx: 4491]

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

11 years ago[IBAL] remove unnecessary query_qp request during modify_qp
leonidk [Sun, 28 Jun 2009 08:37:31 +0000 (08:37 +0000)]
[IBAL] remove unnecessary query_qp request during modify_qp

HCA API of modify_qp contains an optional parameter of qp_attr.
If it is coded, modify_qp makes internally a query_qp request to low-level driver and returns QP attributes.
IBAL codes this parameter, but do not use the returned QP attributes.
It causes unnecessary query_qp request to low-level driver and possible racy scenarios.

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

11 years ago[IPoIB NDIS 6.0 CM]
tzachid [Thu, 25 Jun 2009 15:36:56 +0000 (15:36 +0000)]
[IPoIB NDIS 6.0 CM]
Files renamed to .cpp
Code cleaning (MLNX: 4521)

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

11 years ago[WinOF] Make installs with NODRV=1 work as expected: *.wxs files observe NODRV as...
stansmith [Wed, 24 Jun 2009 19:11:33 +0000 (19:11 +0000)]
[WinOF] Make installs with NODRV=1 work as expected: *.wxs files observe NODRV as does customactions.vbs.
Consolidate standard 'features' into a single include file; XP non-support issues handled via WIX #ifdef's.

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

11 years agolibraries: convert DllMain from BOOLEAN to BOOL
shefty [Wed, 24 Jun 2009 18:06:17 +0000 (18:06 +0000)]
libraries: convert DllMain from BOOLEAN to BOOL

DllMain should be BOOL - a typedef for int, rather than BOOLEAN -
a typedef for BYTE.

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

11 years agoetc/dlist: eliminate dlist.c
shefty [Wed, 24 Jun 2009 17:55:07 +0000 (17:55 +0000)]
etc/dlist: eliminate dlist.c

dlist.c only contains 2 functions.  Remove it and implement the
functions inline in the header file.  This simplifies the use of
dlist and matches the implementation of linux list.h.

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

11 years ago[eth6] Add first version of ipoib NDIS 6.0 driver.
tzachid [Tue, 23 Jun 2009 15:58:00 +0000 (15:58 +0000)]
[eth6] Add first version of ipoib NDIS 6.0 driver.
Signed off by: xalex@mellanox.co.il

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

11 years ago[WinOF] remove DPInst.exe from SVN tree as svn.2261 etc\makebin.bat mods now copy...
stansmith [Mon, 22 Jun 2009 20:49:46 +0000 (20:49 +0000)]
[WinOF] remove DPInst.exe from SVN tree as svn.2261 etc\makebin.bat mods now copy DPInst.exe from WDK tree. Bottom line - having DPInst.exe in our svn tree was a poor choice on my part.

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

11 years ago[WinOF] Use DIFxApp (Driver Install Frameworks for Applications) to install drivers...
stansmith [Mon, 22 Jun 2009 20:45:17 +0000 (20:45 +0000)]
[WinOF] Use DIFxApp (Driver Install Frameworks for Applications) to install drivers instead of home-grown CustomActions using devman or dpinst.exe. DIFxApp mods resulted in rearranging WIX src files into separate as DIFxApp can not tolerate multiple .inf files in a single directory.
The big win is to use WDK supplied driver install functions which then allows all supported OS flavors to use the Driver Store which results in the user not having to choose which HCA model to install (specifically Server 2003 & XP); The 'default' driver choice is Mellanox HCA.

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

11 years ago[WINOF] Supply a full WDK path to makebin instead of WDK version.
stansmith [Sat, 20 Jun 2009 23:26:09 +0000 (23:26 +0000)]
[WINOF] Supply a full WDK path to makebin instead of WDK version.

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

11 years ago[WINOF] Change makebin.bat to expect a full pathname for the DDK root instead of...
stansmith [Sat, 20 Jun 2009 23:18:13 +0000 (23:18 +0000)]
[WINOF] Change makebin.bat to expect a full pathname for the DDK root instead of just a DDK version; support those who install WDK in non-standard location.

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

11 years ago[MLX4] return different MLX4 bus locations for several cards in multi-homed machine...
leonidk [Wed, 17 Jun 2009 13:47:59 +0000 (13:47 +0000)]
[MLX4] return different MLX4 bus locations for several cards in multi-homed machine. [mlnx: 4468]

One can see on multi-homed computers, that mlx4_bus creates all its children (mlx4_hca, IPoIB et al) with built-in location string "MLX4 Bus 0" which complicates differentiation between them.
This patch makes mlx4_bus to return a location string of the structure "MLX4 bus x, device y, function z", where x,y,z is HCA card's PCI bus location.

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

11 years ago[ALL] improve exactness of time calculations. [mlnx: 4479]
leonidk [Wed, 17 Jun 2009 13:37:44 +0000 (13:37 +0000)]
[ALL] improve exactness of time calculations. [mlnx: 4479]

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

11 years ago[MLX4] a fix to 2255 (add VPD data to bus interface.)
leonidk [Tue, 16 Jun 2009 08:24:46 +0000 (08:24 +0000)]
[MLX4] a fix to 2255 (add VPD data to bus interface.)

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

11 years ago[MLX4] add VPD data to bus interface. [mlnx: 4456]
leonidk [Sun, 14 Jun 2009 09:49:18 +0000 (09:49 +0000)]
[MLX4] add VPD data to bus interface. [mlnx: 4456]

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

11 years ago[MLX4] enabled facility to connect CQ to required CPU. [mlnx: 4439]
leonidk [Sun, 14 Jun 2009 09:47:05 +0000 (09:47 +0000)]
[MLX4] enabled facility to connect CQ to required CPU. [mlnx: 4439]

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

11 years ago[MLX4] fix to the previous patch. [mlnx: 4417]
leonidk [Sun, 14 Jun 2009 09:43:50 +0000 (09:43 +0000)]
[MLX4] fix to the previous patch. [mlnx: 4417]

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

11 years ago[MLX4] added two new fields to IB interface: SubVendorID & SubSystemID. [mlnx: 4417]
leonidk [Sun, 14 Jun 2009 09:41:23 +0000 (09:41 +0000)]
[MLX4] added two new fields to IB interface: SubVendorID & SubSystemID. [mlnx: 4417]

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

11 years agowinverbs: initialize Endpoint QP member variable
shefty [Thu, 11 Jun 2009 04:21:22 +0000 (04:21 +0000)]
winverbs: initialize Endpoint QP member variable

If an Endpoint is created, but never used to connect, it will crash trying to dereference m_pQp during destruction.  Initialize the value to NULL.

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

11 years agowinverbs: remove QP from EP Disconnect call
shefty [Thu, 11 Jun 2009 04:11:24 +0000 (04:11 +0000)]
winverbs: remove QP from EP Disconnect call

The Endpoint class takes a QP parameter for Connect, Accept, and
Disconnect.  To simplify the interface, store the QP internally and
remove it from the Disconnect call.  Also allow it to be optional
for Accept on the active side of the connection.

Update librdmacm accordingly.

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

11 years agowinverbs: make PD derive from IWVOverlapped
shefty [Thu, 11 Jun 2009 04:06:23 +0000 (04:06 +0000)]
winverbs: make PD derive from IWVOverlapped

Memory registration is asynchronous and part of the PD interface.
Make the PD derive from overlapped, rather than unknown base class, and
add support for canceling asynchronous operations (i.e. register
memory) on the PD.

This is an oversight of the initial API caught by implementing the ND
provider.

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

11 years agowinverbs: convert RDMA address to network-byte order
shefty [Thu, 11 Jun 2009 04:02:27 +0000 (04:02 +0000)]
winverbs: convert RDMA address to network-byte order

Change the winverbs interface to accept remote RDMA addresses in network
byte order.  This keeps it consistent with all other remote/wire data fields.

Unfortunately, this means that the remote address must be swizzled between
winverbs and the HCA libraries, which take the address in host order, but
the other fields in network order.  Longer term, the HCA libraries can provide
optimized interfaces for winverbs, like posting a single work request.

For now, to avoid compatibility issues later, define the winverbs interface
using what's most reasonable.  Update libibverbs accordingly.

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

11 years ago[WinOF] preparation for WinOF 2.1 release.
stansmith [Wed, 10 Jun 2009 17:20:37 +0000 (17:20 +0000)]
[WinOF] preparation for WinOF 2.1 release.

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

11 years ago[WINOF] rename ia_params --> ia_device_params to match manual.htm documentation.
stansmith [Wed, 10 Jun 2009 17:15:45 +0000 (17:15 +0000)]
[WINOF] rename ia_params --> ia_device_params to match manual.htm documentation.
Clarify comments within dat.conf in general.

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

11 years ago[DOCS] trunk\docs\Manual.htm
stansmith [Wed, 10 Jun 2009 17:11:17 +0000 (17:11 +0000)]
[DOCS] trunk\docs\Manual.htm
Document new winof dapl providers: socket-cm & rdma-cm
Explain dat.conf dapl provider device specification.
Incorporate BLOCKQUOTES so selected links appear at the top of the window
Document OFED Diagnostic tools - OFED man pages reworked.
Clarify Winverbs transition from technology preview to standard WinOF/IBcore component.

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

11 years ago[DAPL2] simplify internal workings (use a ingle execution point) & support -Q (quiet...
stansmith [Wed, 10 Jun 2009 17:03:07 +0000 (17:03 +0000)]
[DAPL2] simplify internal workings (use a ingle execution point) & support -Q (quiet) switch.

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

11 years agowinverbs: process connect and accept asynchronously
shefty [Tue, 9 Jun 2009 16:40:24 +0000 (16:40 +0000)]
winverbs: process connect and accept asynchronously

Allow processing of EP:Connect and EP:Accept calls asynchronously.  The
librdmacm uses events to report the completion of rdma_connect and
rdma_accept calls, which allows users of that interface to take advantage
of asynchronous operation.  Modify the winverbs kernel driver to
queue connect/accept calls to a system thread for better parallelism.

This improves the measured connection rate of rdma_cmatose by 3%.  The
connection rate includes address resolution, route resolution, PD/CQ/QP
creation and state transitions, memory registration, posting of receive
buffers, and CM message exchanges.  This patch effectively only improves
the parallelism of modify QP.

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

11 years agolibrdmacm/cmatose: add performance counters
shefty [Tue, 9 Jun 2009 16:37:34 +0000 (16:37 +0000)]
librdmacm/cmatose: add performance counters

Add counters to time connection establishment rates.

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

11 years agodapl: update to git commit e8991b8f0877b0e2e857717e1140c679e9266abe
shefty [Thu, 4 Jun 2009 18:49:12 +0000 (18:49 +0000)]
dapl: update to git commit e8991b8f0877b0e2e857717e1140c679e9266abe

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

11 years agowinverbs: export WvGetObject as extern C
shefty [Wed, 3 Jun 2009 17:44:16 +0000 (17:44 +0000)]
winverbs: export WvGetObject as extern C

If a standard C program or library tries to link against winverbs, it will fail
because of C++ name decoration.  Export the WvGetObject call using C naming
conventions.

This allows DAPL to link directly against winverbs.

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

11 years ago[mthca] Fix a build break. [mlnx: 4411]
leonidk [Tue, 2 Jun 2009 17:51:04 +0000 (17:51 +0000)]
[mthca] Fix a build break. [mlnx: 4411]

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

11 years ago[IBAL] work around for reference count leakage bugs. [mlnx: 4404]
leonidk [Tue, 2 Jun 2009 17:49:32 +0000 (17:49 +0000)]
[IBAL] work around for reference count leakage bugs. [mlnx: 4404]

IBAL still has bugs, which cause reference count leakage, which stops the cascading destroying resources of IBAL.
It causes  in turn a freeze of IBBUS on HCA disable or system power down.
On checked builds IBAL forces destroying of the objects after some timeout.
On free version it waits endlessly.
This patch makes the behavior of free version to be like in checked version while sending a message to System Event Log.

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

11 years ago[IBBUS] fix bug in Control device implementation (patches 4218,4280). [mlnx: 4396]
leonidk [Tue, 2 Jun 2009 17:48:10 +0000 (17:48 +0000)]
[IBBUS] fix bug in Control device implementation (patches 4218,4280). [mlnx: 4396]

Control Device was created in DriverEntry and removed in DrvUnload routine.
But PnP Manager won't call DrvUnload before Control Device is removed.
So IBBUS gets never unloaded.

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

11 years ago[IBBUS] added support to logging to System Event Log.
leonidk [Tue, 2 Jun 2009 17:44:02 +0000 (17:44 +0000)]
[IBBUS] added support to logging to System Event Log.

CL_PRINT_TO_EVENT_LOG(_obj_,_event_id_,_msg_)
   obj - FDO of IBBUS
   event_id - EVENT_IBBUS_ANY_ERROR, EVENT_IBBUS_ANY_WARN, EVENT_IBBUS_ANY_INFO
   msg - (<format_string>[,param_list])

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

11 years ago[IBAL] Summary: Ill-defined mechanism of event propagation.[mlnx: 4412]
leonidk [Tue, 2 Jun 2009 17:32:41 +0000 (17:32 +0000)]
[IBAL] Summary: Ill-defined mechanism of event propagation.[mlnx: 4412]

Bug description and reproduction:
1. Connect to machines (A and B) via IB switch
2. Run subnet manager (say, opensm) on B
3. Kill opensm and clear arp tables
4. Rerun opensm - ping will not longer work
5. That's because new opensm instance will clear old multicast groups, and side A will be not aware about opensm restart and will not request to join new MCAST group

Explanations:
There are 2 types of events relevant in our case: PnP and AE.
The problem had happened due to:
1. During opensm restart, port will generate AE event: IB_EVENT_LID_CHANGE or (in other cases)  IB_EVENT_CLIENT_REREGISTER
These events will be generated even in the case when SM was restarted, but LID will not actually change.

2. All PnP events were handled properly; but these events were mapped to IB_AE_FATAL
This patch fixes it and maps IB_EVENT_* events to appropriate IB_AE_* events and then to IB_PNP_* events

3. unction force_smi_poll() will now update it's subscribers about LID change event iff LID was changed.
So, we still have the problem when opensm was restarted and no one of the port attributes was changed.

This patch generated appropriate IB_PNP event to resolve this issue.

Signed off by: Xalex

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

11 years ago[IBBUS] Solves Bugzilla 1233 problem: machine crashes upon adding a new partition...
leonidk [Tue, 2 Jun 2009 17:20:55 +0000 (17:20 +0000)]
[IBBUS] Solves Bugzilla 1233 problem: machine crashes upon adding a new partition by part_man. [mlnx: 4406]

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

11 years ago[DAPL2] support shorthand & DAPL provider names from dat.conf
stansmith [Tue, 2 Jun 2009 16:57:52 +0000 (16:57 +0000)]
[DAPL2] support shorthand & DAPL provider names from dat.conf

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

11 years ago[MLX4] bug fix: prevent simultaneous issuing of modify_qp and query_qp commands ...
leonidk [Sun, 31 May 2009 08:33:42 +0000 (08:33 +0000)]
[MLX4] bug fix: prevent simultaneous issuing of modify_qp and query_qp commands (to the same QP). [mlnx: 4390]

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

11 years ago[WinOF] Digital certificate extraction and injection scripts to faciliate 1st time...
stansmith [Sat, 30 May 2009 00:46:21 +0000 (00:46 +0000)]
[WinOF] Digital certificate extraction and injection scripts to faciliate 1st time unattended WinOF installation on HPC compute nodes.

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

11 years ago[DAPL2] update usage with correct name for dapl provider (scn --> scm) bad eyesight...
stansmith [Fri, 29 May 2009 19:03:43 +0000 (19:03 +0000)]
[DAPL2] update usage with correct name for dapl provider (scn --> scm) bad eyesight...

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

11 years ago[DAPL2] added dapl-provider name as required cmd-line arg
stansmith [Fri, 29 May 2009 16:12:30 +0000 (16:12 +0000)]
[DAPL2] added dapl-provider name as required cmd-line arg

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

11 years ago[DAPL2] use latest versions with correct EOL.
stansmith [Thu, 28 May 2009 21:53:57 +0000 (21:53 +0000)]
[DAPL2] use latest versions with correct EOL.

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

11 years agoib-diags: maintain copy of patch to port to winof
shefty [Wed, 27 May 2009 20:03:33 +0000 (20:03 +0000)]
ib-diags: maintain copy of patch to port to winof

winof needs this patch to build the ported ib-diags.  Maintain a copy of the patch in svn for convenience of other developers.

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

11 years agoib-diags/ibping: add winof cdecl patch
shefty [Wed, 27 May 2009 19:36:09 +0000 (19:36 +0000)]
ib-diags/ibping: add winof cdecl patch

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

11 years agowinverbs: transition QP to error on disconnect
shefty [Wed, 27 May 2009 19:13:36 +0000 (19:13 +0000)]
winverbs: transition QP to error on disconnect

The QP transition into the error state must occur after a DREQ has been
received and acknowledged by the user (by a subsequent call to Disconnect),
or after a DREP has been received.  The current winverbs API requires the
user to call QP:Modify after their NotifyDisconnect completes.  This
presents challenges to implementing an ND provider, which expects a single
function call to perform both operations.

Unlike during connection establishment, the QP transition to error must
sometimes be delayed until after a CM callback.  And since CM callbacks
are at dispatch, we must queue the modify call to a system thread.

Regardless of the outcome of the disconnect attempt or other failures,
the driver tries to transition the QP to error.  This results in some
minor checks to ensure that the correct status is reported to the user.

A couple of additional changes were made to the Accept path to keep the
code consistent, since both Accept and Disconnect have active/passive
code paths.

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

11 years agoib-mgmt: update to 518083dc46963eb5fb48855acbe2b351ce7361f8
shefty [Wed, 27 May 2009 18:16:16 +0000 (18:16 +0000)]
ib-mgmt: update to 518083dc46963eb5fb48855acbe2b351ce7361f8

commit 518083dc46963eb5fb48855acbe2b351ce7361f8
Author: Doron Shoham <dorons@voltaire.com>
Date:   Sun May 10 11:17:11 2009 +0300

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

11 years ago[DOCS] removed QLogic participation.
stansmith [Wed, 27 May 2009 18:14:52 +0000 (18:14 +0000)]
[DOCS] removed QLogic participation.

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

11 years agodapl: update to 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa
shefty [Wed, 27 May 2009 18:13:45 +0000 (18:13 +0000)]
dapl: update to 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa

commit 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa
Author: Arlin Davis <arlin.r.davis@intel.com>
Date:   Mon May 18 14:00:02 2009 -0700

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

11 years ago[WINOF] support rdma-cm as a DAPL2 provider.
stansmith [Wed, 27 May 2009 18:08:36 +0000 (18:08 +0000)]
[WINOF] support rdma-cm as a DAPL2 provider.

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