]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
16 years agowinverbs: fix including header file from .c sources
shefty [Tue, 3 Jun 2008 22:23:43 +0000 (22:23 +0000)]
winverbs: fix including header file from .c sources

Fix build error when including winverbs.h from a .c file.

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

16 years agowinverbs: use common getopt sources
shefty [Tue, 3 Jun 2008 22:22:22 +0000 (22:22 +0000)]
winverbs: use common getopt sources

getopt was moved from internal to winverbs to a public location.  Use the new common files.

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

16 years agoetc: add generic getopt functionality
shefty [Tue, 3 Jun 2008 22:21:01 +0000 (22:21 +0000)]
etc: add generic getopt functionality

Add a common getopt implementation available to any app/library.  Source file is located in etc\user, and header file is located in inc\user.

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

16 years ago[WinOF] WDK build env; good to go.
stansmith [Tue, 3 Jun 2008 19:38:02 +0000 (19:38 +0000)]
[WinOF] WDK build env; good to go.

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

16 years ago[DAPL] match winof 1.1
stansmith [Tue, 3 Jun 2008 19:36:03 +0000 (19:36 +0000)]
[DAPL] match winof 1.1

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

16 years ago[WinOF] WDK build env updates
stansmith [Tue, 3 Jun 2008 19:32:39 +0000 (19:32 +0000)]
[WinOF] WDK build env updates

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

16 years ago[MLX4] return a more specific return code (in the bad flow of create_cq) [MLNX: 2537]
leonidk [Mon, 2 Jun 2008 16:36:08 +0000 (16:36 +0000)]
[MLX4] return a more specific return code (in the bad flow of create_cq) [MLNX: 2537]

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

16 years ago[MLX4] bugfix: fill alt_port_num field in qp_modify
leonidk [Sun, 1 Jun 2008 17:29:33 +0000 (17:29 +0000)]
[MLX4] bugfix: fill alt_port_num field in qp_modify

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

16 years ago[MLX4] fixed warnings in DBG environment
leonidk [Sun, 1 Jun 2008 17:26:52 +0000 (17:26 +0000)]
[MLX4] fixed warnings in DBG environment

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

16 years ago[MLX4] fixed a PREFast warning
leonidk [Sun, 1 Jun 2008 17:24:15 +0000 (17:24 +0000)]
[MLX4] fixed a PREFast warning

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

16 years ago[MLX4] fixed bug: send WQE buffer initialization was skipped in case of NDI provider...
leonidk [Sun, 1 Jun 2008 17:10:11 +0000 (17:10 +0000)]
[MLX4] fixed bug: send WQE buffer initialization was skipped in case of NDI provider [MLNX: 2531]

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

16 years ago[SRP] fixes the BSOD when SRPT disconnects.
leonidk [Sun, 1 Jun 2008 14:19:59 +0000 (14:19 +0000)]
[SRP] fixes the BSOD when SRPT disconnects.

Suggested by: Eleanor Witiak [eleanor.witiak@qlogic.com]

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

16 years agolibibverbs: complete initial implementation
shefty [Sat, 31 May 2008 07:31:01 +0000 (07:31 +0000)]
libibverbs: complete initial implementation

The implementation lacks complete support for all potential threading usage models, but it should support current usage models.  The library is about 90% complete, and should be usable by most applications.  Missing functionality and complete multi-threading support will be deferred until an application requires it, or a later time.

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

16 years agowinverbs: modify how device events are reported
shefty [Sat, 31 May 2008 07:24:22 +0000 (07:24 +0000)]
winverbs: modify how device events are reported

Change reporting device events to simplify interface and avoid missing events.  Device events are now set using flags, allowing multiple events to occur in the kernel before userspace retrieves them.  This will avoid losing events or userspace needing to call into the kernel to retrieve one event at a time.  Events are also associated with a device port, rather than with the device itself.

The new types of events are kept more generic for transport neutral independence.

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

16 years agowinverbs: remove debug print messages
shefty [Sat, 31 May 2008 07:20:19 +0000 (07:20 +0000)]
winverbs: remove debug print messages

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

16 years agolibibverbs: initial implementation
shefty [Thu, 29 May 2008 19:59:59 +0000 (19:59 +0000)]
libibverbs: initial implementation

Most function coded, except for those dealing with event handling.

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

16 years agowinverbs: update driver and library to support libibverbs interfaces
shefty [Thu, 29 May 2008 19:52:12 +0000 (19:52 +0000)]
winverbs: update driver and library to support libibverbs interfaces

Updates based on adding support for libibverbs interfaces.

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

16 years agoibal: modify layout work request structure
shefty [Thu, 29 May 2008 19:50:24 +0000 (19:50 +0000)]
ibal: modify layout work request structure

Modify layout of ib_send_wr_t to eliminate internal padding and reduce the structure size.  Using the new layout, users can cast between the IBAL ib_send_wr_t and the OFED struct ibv_send_wr.

Also modify the wr type enums to allow quick checks for receive completions.

ULPs are unaffected by this change, except for a re-compile.

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

16 years ago[WinOF] WDK build env, support multiple OS flavors; use more common arch files
stansmith [Wed, 28 May 2008 01:14:18 +0000 (01:14 +0000)]
[WinOF] WDK build env, support multiple OS flavors; use more common arch files

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

16 years ago[WinOF] WDK build env, support multiple OS flavors; use common arch files
stansmith [Wed, 28 May 2008 00:26:34 +0000 (00:26 +0000)]
[WinOF] WDK build env, support multiple OS flavors; use common arch files

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

16 years ago[WinOF] WDK build env, support multiple OS flavors; separate by OS/arch
stansmith [Wed, 28 May 2008 00:20:13 +0000 (00:20 +0000)]
[WinOF] WDK build env, support multiple OS flavors; separate by OS/arch

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

16 years ago[WinOF] adding WDK/OS specific installer build folders.
stansmith [Tue, 27 May 2008 23:01:06 +0000 (23:01 +0000)]
[WinOF] adding WDK/OS specific installer build folders.

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

16 years ago[DAPL2] incorporate WinOF 1.1 DAPL fixes for rnr handling.
stansmith [Tue, 27 May 2008 22:52:49 +0000 (22:52 +0000)]
[DAPL2] incorporate WinOF 1.1 DAPL fixes for rnr handling.

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

16 years ago[WinOF] WDK build env - say goodbye to DDK builds.
stansmith [Tue, 27 May 2008 22:47:16 +0000 (22:47 +0000)]
[WinOF] WDK build env - say goodbye to DDK builds.

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

16 years ago[TOOLS] support the work on Server 2008, where there are both IPv4 and IPv6. [MLNX...
leonidk [Mon, 26 May 2008 09:50:20 +0000 (09:50 +0000)]
[TOOLS] support the work on Server 2008, where there are both IPv4 and IPv6. [MLNX: 2505]

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

16 years ago[TOOLS] support the work on Server 2008, where there are both IPv4 and IPv6. [MLNX...
leonidk [Mon, 26 May 2008 09:46:46 +0000 (09:46 +0000)]
[TOOLS] support the work on Server 2008, where there are both IPv4 and IPv6. [MLNX: 2505]

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

16 years ago[MLX4] fixed incorrect return code in bad flow, which caused kernel crash. [MLNX...
leonidk [Sun, 25 May 2008 15:56:26 +0000 (15:56 +0000)]
[MLX4] fixed incorrect return code in bad flow, which caused kernel crash. [MLNX: 2500]

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

16 years agowinverbs: fix 64-bit build warnings
shefty [Fri, 23 May 2008 07:54:19 +0000 (07:54 +0000)]
winverbs: fix 64-bit build warnings

Also use default build warnings, which work now with WDK.

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

16 years agowinverbs: check HRESULT not memory window pointer
shefty [Fri, 23 May 2008 07:04:43 +0000 (07:04 +0000)]
winverbs: check HRESULT not memory window pointer

64-bit build flagged this incorrect check.

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

16 years agowinverbs: move include for winioctl from wv_memory.h to wv_base.h
shefty [Fri, 23 May 2008 06:52:16 +0000 (06:52 +0000)]
winverbs: move include for winioctl from wv_memory.h to wv_base.h

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

16 years agowinverbs: allow synchronous operations
shefty [Fri, 23 May 2008 06:40:07 +0000 (06:40 +0000)]
winverbs: allow synchronous operations

The winverbs library incorrectly calls DeviceIoControl with a NULL overlapped structure.  Since the file was opened with overlapped I/O, the results of any DeviceIoControl calls are indetermined, according to the documentation.

The intent of using NULL was to convert from an asynchronous operation to a synchronous call.  To fix this, provide a wrapper around DeviceIoControl that can accept a NULL overlapped parameter.  If a NULL parameter is used, the call converts to a synchronous operation.

The wrapper is implemeted by adding a base class, CWVBase, that the other classes will derive from.  Common functionality and data are moved out of the existing classes and into CWVBase.

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

16 years agowinverbs.h: allow user to specify synchronous operation
shefty [Fri, 23 May 2008 06:31:39 +0000 (06:31 +0000)]
winverbs.h: allow user to specify synchronous operation

Make overlapped optional to all calls.  If the user passes in NULL, the operation will revert to a synchronous call.

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

16 years agowinverb/test: fix inconsistent Windows/Unix line endings
shefty [Fri, 23 May 2008 06:28:23 +0000 (06:28 +0000)]
winverb/test: fix inconsistent Windows/Unix line endings

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

16 years agowinverbs: fix inf file to install driver as upper class filter to InfiniBandHca
shefty [Thu, 22 May 2008 02:01:16 +0000 (02:01 +0000)]
winverbs: fix inf file to install driver as upper class filter to InfiniBandHca

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

16 years agoindexlist: fix dereferencing NULL pointer
shefty [Thu, 22 May 2008 01:59:21 +0000 (01:59 +0000)]
indexlist: fix dereferencing NULL pointer

If the indexlist has not grown, then pArray is NULL.  Calls to the IndexList API will end up accessing a NULL pointer.  To avoid adding checks (pArray != NULL) in the API, allocate an 'EmptyList' index entry that pArray can reference until the first allocation is done.

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

16 years agowinverbs: add kernel driver to the build
shefty [Thu, 22 May 2008 01:55:18 +0000 (01:55 +0000)]
winverbs: add kernel driver to the build

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

16 years ago[MLX4] fixed incorrect return code in bad flow, which caused kernel crash. [MLNX...
leonidk [Wed, 21 May 2008 14:13:22 +0000 (14:13 +0000)]
[MLX4] fixed incorrect return code in bad flow, which caused kernel crash. [MLNX: 2491]

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

16 years ago[WinOF] Final WinOF 1.1, skip SRP on 32-bit XP, svn # updates.
stansmith [Tue, 20 May 2008 19:03:27 +0000 (19:03 +0000)]
[WinOF] Final WinOF 1.1, skip SRP on 32-bit XP, svn # updates.

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

16 years ago[HW] add support for defing max_inline_data size upon QP creation
leonidk [Tue, 20 May 2008 10:17:00 +0000 (10:17 +0000)]
[HW] add support for defing max_inline_data size upon QP creation

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

16 years agoChange line endings from UNIX (LF only) to Windows (LF-CR) format. Files are otherwi...
shefty [Tue, 20 May 2008 07:43:32 +0000 (07:43 +0000)]
Change line endings from UNIX (LF only) to Windows (LF-CR) format.  Files are otherwise unchanged.

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

16 years ago[mlx4] Fix a build break and allow non-clean builds. (winib 2457/8)
tzachid [Tue, 20 May 2008 07:40:50 +0000 (07:40 +0000)]
[mlx4] Fix a build break and allow non-clean builds. (winib 2457/8)

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

16 years ago[mlx4] Create a device for the Ethernet driver if needed. (winib 2456) (3 lost files)
tzachid [Tue, 20 May 2008 07:37:50 +0000 (07:37 +0000)]
[mlx4] Create a device for the Ethernet driver if needed. (winib 2456) (3 lost files)

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

16 years agoGoofy script to copy .sys, .lib, .dll, .exe, .inf, and .whatever else
shefty [Tue, 20 May 2008 07:28:23 +0000 (07:28 +0000)]
Goofy script to copy .sys, .lib, .dll, .exe, .inf, and .whatever else
into an install directory.  Not sophisticated at all, but I am able to
use it to fairly quickly update drivers when testing.

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

16 years agoLame build script that can be used to build 2003/2008 winof platforms. Be
shefty [Tue, 20 May 2008 07:27:45 +0000 (07:27 +0000)]
Lame build script that can be used to build 2003/2008 winof platforms.  Be
sure that you have something else to do for the next hour before
invoking.

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

16 years agoThe following build script allows building the winof stack for any
shefty [Tue, 20 May 2008 07:26:48 +0000 (07:26 +0000)]
The following build script allows building the winof stack for any
platform (OS and processor architecture) from a single command prompt
window.  Guaranteed to save your sanity, versus having a dozen build
windows opened to build the various winof flavors.

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

16 years agoProvide simple build instructions for developers who check out the
shefty [Tue, 20 May 2008 07:25:52 +0000 (07:25 +0000)]
Provide simple build instructions for developers who check out the
source tree and want to try building the drivers.  It's more intuitive
to provide build details with the source code itself, than separately
on a web site.

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

16 years agoThe SVN diff program cannot handle generating diffs between two different
shefty [Tue, 20 May 2008 07:24:58 +0000 (07:24 +0000)]
The SVN diff program cannot handle generating diffs between two different
directories.  This file describes how to use an external diff program
to generate patches between two directories that can then be applied.

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

16 years agoWhen using a diff utility to find differences between two subdirectories,
shefty [Tue, 20 May 2008 07:24:21 +0000 (07:24 +0000)]
When using a diff utility to find differences between two subdirectories,
for example, an svn branch and the trunk, you can have the diff program
ignore files.  This is useful to avoid diffs caused by object files,
executables, or svn tracking files.

The following file can be fed into diff to have it ignore files that
match any of the patterns listed.

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

16 years agoProvide an updated list of the various maintainers for the WinOF stack
shefty [Tue, 20 May 2008 07:23:43 +0000 (07:23 +0000)]
Provide an updated list of the various maintainers for the WinOF stack
under the source tree trunk\docs directory.

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

16 years ago[mlx4] Create a device for the Ethernet driver if needed. (winib 2456)
tzachid [Tue, 20 May 2008 07:16:08 +0000 (07:16 +0000)]
[mlx4] Create a device for the Ethernet driver if needed. (winib 2456)

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

16 years ago[mthca] Remove dead code. (winib 2455)
tzachid [Mon, 19 May 2008 06:49:00 +0000 (06:49 +0000)]
[mthca] Remove dead code. (winib 2455)

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

16 years ago[IPOIB ]Fix a bugcheck when NdisMResetComplete called without previous reset request...
tzachid [Mon, 19 May 2008 06:46:18 +0000 (06:46 +0000)]
[IPOIB ]Fix a bugcheck when NdisMResetComplete called without previous reset request completed with STATUS_PENDING. (winib 2454)
Signed by: Slava Strebkov

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

16 years ago[MLX4] prevent constant comparison to please PREfast (winib 2461)
leonidk [Sun, 18 May 2008 14:27:22 +0000 (14:27 +0000)]
[MLX4] prevent constant comparison to please PREfast (winib 2461)

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

16 years ago[MLX4] Reverted the previous patch. Has been done to the wrong project.
leonidk [Sun, 18 May 2008 14:17:38 +0000 (14:17 +0000)]
[MLX4] Reverted the previous patch. Has been done to the wrong project.

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

16 years ago[MLX4] buxfix in WCHAR buffer length in RtlStringCchPrintfW function (wibib 2459)
leonidk [Sun, 18 May 2008 14:12:30 +0000 (14:12 +0000)]
[MLX4] buxfix in WCHAR buffer length in RtlStringCchPrintfW function (wibib 2459)

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

16 years ago[MLX4] buxfix in WCHAR buffer length in RtlStringCchPrintfW function (winib 2459)
leonidk [Sun, 18 May 2008 14:05:45 +0000 (14:05 +0000)]
[MLX4] buxfix in WCHAR buffer length in RtlStringCchPrintfW function (winib 2459)

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

16 years ago[MLX4] fixed a bug, that caused "Completion event for bogus CQ " message and the...
leonidk [Sun, 18 May 2008 13:44:34 +0000 (13:44 +0000)]
[MLX4] fixed a bug, that caused "Completion event for bogus CQ " message and the miss of CQ completion event after that. (winib 2439)

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

16 years ago[WinOF] typo repair.
stansmith [Thu, 15 May 2008 21:03:05 +0000 (21:03 +0000)]
[WinOF] typo repair.

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

16 years ago[WinOF] 1.1 synchronize .inf files with svn #
stansmith [Thu, 15 May 2008 20:58:41 +0000 (20:58 +0000)]
[WinOF] 1.1 synchronize .inf files with svn #

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

16 years ago[WinOF] 1.1 multiple HCA installer fixes, whitespace correction in wof.wxs
stansmith [Thu, 15 May 2008 20:37:15 +0000 (20:37 +0000)]
[WinOF] 1.1 multiple HCA installer fixes, whitespace correction in wof.wxs

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

16 years ago[MLX4] add casting to please PREfast (winib 2431)
tzachid [Thu, 15 May 2008 07:59:30 +0000 (07:59 +0000)]
[MLX4] add casting to please PREfast (winib 2431)

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

16 years ago[mlx4] Apply mlx4_0290_mcast_loopback.patch
tzachid [Thu, 15 May 2008 07:28:01 +0000 (07:28 +0000)]
[mlx4] Apply mlx4_0290_mcast_loopback.patch
(Make sure that loop-back packets are droped by hw/fw). Off by default.

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

16 years ago[mlx4] Apply mlx4_0300_bogus_qp.patch (change printing) (winib 2397)
tzachid [Thu, 15 May 2008 07:24:33 +0000 (07:24 +0000)]
[mlx4] Apply mlx4_0300_bogus_qp.patch (change printing) (winib 2397)

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

16 years ago[mlx4] Fix for FMR. (mlx4_0270_fmr_enable.patch) (winib 2392, 2394)
tzachid [Thu, 15 May 2008 07:22:44 +0000 (07:22 +0000)]
[mlx4] Fix for FMR. (mlx4_0270_fmr_enable.patch) (winib 2392, 2394)
mlx4_table_find (for fmr mpt's) requires that ICM memory already
be mapped.  Before this fix, fmr allocation depended on ICM memory
already being mapped for the mpt entry.  If all currently mapped
entries are taken, the find operation fails (even if the ICM mpt
table still had more entries, which were as yet unmapped).

This fix moves the mpt find operation to fmr_enable, to guarantee
that any required ICM memory mapping has already occurred.

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

16 years ago[WinOF] added mthca & connectX device_ID specific devcon installs to cover mthca...
stansmith [Thu, 15 May 2008 00:33:24 +0000 (00:33 +0000)]
[WinOF] added mthca & connectX device_ID specific devcon installs to cover mthca & connectX both in the same system. Iterate over list of DEV_IDs.

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

16 years agodapl: remove TO_LONG_PTR macro
shefty [Thu, 15 May 2008 00:13:43 +0000 (00:13 +0000)]
dapl: remove TO_LONG_PTR macro

The TO_LONG_PTR macro is unnecessary and makes it difficult to keep the Windows and Linux DAPL versions in sync.  (Updated from rev 1164 to include missing 'i' in 'ib'.)

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

16 years agodapl: revert commit 1164
shefty [Thu, 15 May 2008 00:04:58 +0000 (00:04 +0000)]
dapl: revert commit 1164

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

16 years ago[MLX4] (WinIb 2439) fixed a bug, that caused "Completion event for bogus CQ " message...
leonidk [Wed, 14 May 2008 09:53:08 +0000 (09:53 +0000)]
[MLX4] (WinIb 2439) fixed a bug, that caused "Completion event for bogus CQ " message and the miss of CQ completion event after that.

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

16 years agoscripts: batch file to build any OS/architecture from a single command window
shefty [Wed, 14 May 2008 02:41:28 +0000 (02:41 +0000)]
scripts: batch file to build any OS/architecture from a single command window

This batch file must be modified for personal use, but it allows building multiple OS/processor architectures using a single command window.  No more needing a dozen windows open to run all of the builds!  And there was much rejoicing.

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

16 years agoThe current uvp_get_interface() routine takes a structure as input. Included in...
shefty [Wed, 14 May 2008 02:39:14 +0000 (02:39 +0000)]
The current uvp_get_interface() routine takes a structure as input.  Included in the structure is a version number.  In the winverb branch, I added a new API to take the version as a separate parameter, along with the size of the structure.

A better solution to supporting multiple interfaces is to define interfaces using GUIDs.  This not only allows different versions of the same interface (for example the UVP interface), but also provides a mechanism that can be used to add new interfaces without affecting existing ABIs or APIs.

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

16 years agodapl: remove TO_LONG_PTR macro
shefty [Wed, 14 May 2008 02:35:12 +0000 (02:35 +0000)]
dapl: remove TO_LONG_PTR macro

The TO_LONG_PTR macro is unnecessary and makes it difficult to keep the Windows and Linux DAPL versions in sync.

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

16 years ago[WinVerbs] ibal & ibbus as upper filter drivers for InfiniBandHca class
stansmith [Tue, 13 May 2008 18:50:29 +0000 (18:50 +0000)]
[WinVerbs] ibal & ibbus as upper filter drivers for InfiniBandHca class

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

16 years ago[WinVerbs] ib_bus.* --> ibbus.{inf,cdf}
stansmith [Tue, 13 May 2008 18:37:21 +0000 (18:37 +0000)]
[WinVerbs] ib_bus.* --> ibbus.{inf,cdf}

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

16 years ago[WinOF] added mlx4 registry deletion items.
stansmith [Tue, 13 May 2008 17:08:19 +0000 (17:08 +0000)]
[WinOF] added mlx4 registry deletion items.

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

16 years ago[ipoib,ibbus] Add support for partitioning (winib 2416,2417,2418)
tzachid [Mon, 12 May 2008 13:01:47 +0000 (13:01 +0000)]
[ipoib,ibbus] Add support for partitioning (winib 2416,2417,2418)

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

16 years ago[WinOF] fixed invalid IP address used in set IPoIB example.
stansmith [Sun, 11 May 2008 15:36:17 +0000 (15:36 +0000)]
[WinOF] fixed invalid IP address used in set IPoIB example.

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

16 years ago[MLX4] The following patch prevents some PREfast warnings
leonidk [Sun, 11 May 2008 12:51:32 +0000 (12:51 +0000)]
[MLX4] The following patch prevents some PREfast warnings

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

16 years ago[MLX4] Adjust CDF files for new WDK (it has KMDF of 1.7 version)
leonidk [Sun, 11 May 2008 12:29:33 +0000 (12:29 +0000)]
[MLX4] Adjust CDF files for new WDK (it has KMDF of 1.7 version)

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

16 years ago[MLX4] The following patch solves a problem on some machines where IbInstaller.dll...
leonidk [Sun, 11 May 2008 12:26:34 +0000 (12:26 +0000)]
[MLX4] The following patch solves a problem on some machines where IbInstaller.dll isn't found by INF installation process.

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

16 years ago[MLX4] The following patch solves a problem on some machines where IbInstaller.dll...
leonidk [Sun, 11 May 2008 12:17:37 +0000 (12:17 +0000)]
[MLX4] The following patch solves a problem on some machines where IbInstaller.dll isn't found by INF installation process.

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

16 years ago[mlx4,tools] remove warnings from build. (winib 2405)
tzachid [Sun, 11 May 2008 08:02:31 +0000 (08:02 +0000)]
[mlx4,tools] remove warnings from build. (winib 2405)

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

16 years ago[WinOF] ibal.sys loads as a filter driver for the InfiniBandHca class
stansmith [Fri, 9 May 2008 19:58:00 +0000 (19:58 +0000)]
[WinOF] ibal.sys loads as a filter driver for the InfiniBandHca class

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

16 years ago[WinOF] renamed ib_al.{cdf,inf} --> ibal.{cdf,inf}
stansmith [Fri, 9 May 2008 19:41:57 +0000 (19:41 +0000)]
[WinOF] renamed ib_al.{cdf,inf} --> ibal.{cdf,inf}

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

16 years agowinverbs: enable build on IA64
shefty [Fri, 9 May 2008 14:55:17 +0000 (14:55 +0000)]
winverbs: enable build on IA64

Use default WDK warning levels and set build settings to allow WDK build on IA64.

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

16 years agomlx4: remove unused variable from poll_array
shefty [Fri, 9 May 2008 14:53:42 +0000 (14:53 +0000)]
mlx4: remove unused variable from poll_array

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

16 years agowinverbs: add casts when converting from size_t to uint32
shefty [Fri, 9 May 2008 14:52:48 +0000 (14:52 +0000)]
winverbs: add casts when converting from size_t to uint32

Add casts to avoid warnings on 64-bit builds.

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

16 years agodapl: remove null macros
shefty [Fri, 9 May 2008 14:03:43 +0000 (14:03 +0000)]
dapl: remove null macros

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

16 years agomt23108: remove defunct driver
shefty [Fri, 9 May 2008 05:05:05 +0000 (05:05 +0000)]
mt23108: remove defunct driver

mt23108 has been replaced by the mthca driver.  Remove the mt23108 directory and 344 related files.  The file contents had previously been emptied, but the svn patch system does not actually delete the files through patches.

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

16 years agoibal: remove dead source files
shefty [Fri, 9 May 2008 05:02:15 +0000 (05:02 +0000)]
ibal: remove dead source files

Remove empty headers, source files, and source files not included in the build.

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

16 years agowinverbs: change compiler options to avoid WDK warnings
shefty [Wed, 7 May 2008 18:37:01 +0000 (18:37 +0000)]
winverbs: change compiler options to avoid WDK warnings

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

16 years agowinverbs: add casts to avoid build warnings
shefty [Wed, 7 May 2008 18:35:33 +0000 (18:35 +0000)]
winverbs: add casts to avoid build warnings

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

16 years agowinverbs
shefty [Wed, 7 May 2008 18:34:29 +0000 (18:34 +0000)]
winverbs

Update to trunk 1132.

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

16 years agomlx4: update driver for winverb support
shefty [Wed, 7 May 2008 17:45:16 +0000 (17:45 +0000)]
mlx4: update driver for winverb support

Allow setting callback handlers per HW widget (CQ, QP, SRQ).  Add support to respond to query interface routines.  This allows the driver to support mulitple filter drivers as consumers of their interface.

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

16 years agomlx4/user: update library for winverbs support
shefty [Wed, 7 May 2008 17:43:11 +0000 (17:43 +0000)]
mlx4/user: update library for winverbs support

Enhance mlx4 library to support setting QP context information and polling an array of completion requests.

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

16 years agowinverbs/build: update build environment to support the WDK
shefty [Wed, 7 May 2008 17:31:33 +0000 (17:31 +0000)]
winverbs/build: update build environment to support the WDK

Winverbs library can now be built using the WDK.

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

16 years agowinverbs/overlapped: change GetOverlappedResult API to match Win32 call
shefty [Wed, 7 May 2008 17:30:12 +0000 (17:30 +0000)]
winverbs/overlapped: change GetOverlappedResult API to match Win32 call

The Winverbs GetOverlappedResult calls take SIZE_T as the inout size, but the Win32 call uses DWORD for the same argument.  Modify GetOverlappedResult to match the Win32 call.  This avoids a compiler warnings and needing to cast.

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

16 years agoopenib.def: remove setting default SDK path
shefty [Wed, 7 May 2008 17:26:27 +0000 (17:26 +0000)]
openib.def: remove setting default SDK path

There doesn't appear to be a good default SDK path, so just remove the default setting.

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

16 years agowvtest: cleanup sources file
shefty [Wed, 7 May 2008 17:25:21 +0000 (17:25 +0000)]
wvtest: cleanup sources file

Cleanup sources file and allow building test app under WDK.

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

16 years agowvtest: fix line endings to windows format
shefty [Wed, 7 May 2008 17:24:06 +0000 (17:24 +0000)]
wvtest: fix line endings to windows format

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

16 years agobuild: remove opensm from default build
shefty [Wed, 7 May 2008 17:22:28 +0000 (17:22 +0000)]
build: remove opensm from default build

opensm takes 3 minutes to 'build' even when there are no changes to the code.  Remove it from the default build to avoid getting grey hairs watching the build process run.

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