]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
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

16 years ago[WinOF] synchronize release notes, readme & .inf files to svn version #
stansmith [Tue, 6 May 2008 22:25:37 +0000 (22:25 +0000)]
[WinOF] synchronize release notes, readme & .inf files to svn version #

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

16 years ago[WinOF] mlx4 registry entries removed.
stansmith [Tue, 6 May 2008 22:04:22 +0000 (22:04 +0000)]
[WinOF] mlx4 registry entries removed.

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

16 years ago[ptr64] Remove #pragma warning( disable :4305)
tzachid [Tue, 6 May 2008 07:57:23 +0000 (07:57 +0000)]
[ptr64] Remove #pragma warning( disable :4305)
Signed by:XaleX

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

16 years agomlx4/traps: remove trap data from event record
shefty [Mon, 5 May 2008 23:34:07 +0000 (23:34 +0000)]
mlx4/traps: remove trap data from event record

Rev 1087 removed trap data from the event record.  Update the mlx4 driver.

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

16 years ago[mlx4] change wdf coinstaller to 1.7 (winib 2389)
tzachid [Mon, 5 May 2008 20:43:46 +0000 (20:43 +0000)]
[mlx4] change wdf coinstaller to 1.7 (winib 2389)

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

16 years ago[tools] Fix build break on the new compiler.
tzachid [Mon, 5 May 2008 20:42:46 +0000 (20:42 +0000)]
[tools] Fix build break on the new compiler.

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

16 years agoMerge trunk up to rev 1127.
shefty [Mon, 5 May 2008 18:02:44 +0000 (18:02 +0000)]
Merge trunk up to rev 1127.

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

16 years ago[mlx4] Remove a redundant driver.
tzachid [Sun, 4 May 2008 18:42:53 +0000 (18:42 +0000)]
[mlx4] Remove a redundant driver.

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

16 years ago[HW, VSTAT] Added more attributes to query CA: RESIZE_MAX_WR, CHANGE_PHYSICAL_PORT...
tzachid [Sun, 4 May 2008 11:28:15 +0000 (11:28 +0000)]
[HW, VSTAT] Added more attributes to query CA: RESIZE_MAX_WR, CHANGE_PHYSICAL_PORT, AH_PORT_CHECKING, SHUTDOWN_PORT, INIT_TYPE, SRQ_RESIZE and port ones: MaxMtu, ActiveSpeed, PhysicalState (winib #2383)

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

16 years ago[etc] Fix a build break (the build it self would simply die)
tzachid [Sun, 4 May 2008 10:37:23 +0000 (10:37 +0000)]
[etc] Fix a build break (the build it self would simply die)

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

16 years ago[mlx4] Added the latest revision of the mlx4 to the trunk.
tzachid [Sun, 4 May 2008 09:09:48 +0000 (09:09 +0000)]
[mlx4] Added the latest revision of the mlx4 to the trunk.

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

16 years ago[removed] old tool that was not used for a long time. (replaced by flint)
tzachid [Sun, 4 May 2008 09:03:21 +0000 (09:03 +0000)]
[removed] old tool that was not used for a long time. (replaced by flint)

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

16 years ago[MTHCA] Revert changes from rev.1107. They were intended for the next release.
leonidk [Sun, 4 May 2008 08:54:57 +0000 (08:54 +0000)]
[MTHCA] Revert changes from rev.1107. They were intended for the next release.
(add setting max_inline directly through ib_qp_create_t.)

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

16 years ago[MTHCA, MLX4, IBAL, TOOLS] Revert changes from rev.1108. They were intended for the...
leonidk [Sun, 4 May 2008 08:52:12 +0000 (08:52 +0000)]
[MTHCA, MLX4, IBAL, TOOLS] Revert changes from rev.1108. They were intended for the next release.
Added more attributes to query CA: RESIZE_MAX_WR, CHANGE_PHYSICAL_PORT, AH_PORT_CHECKING, SHUTDOWN_PORT, INIT_TYPE, SRQ_RESIZE and port ones: MaxMtu, ActiveSpeed, PhysicalState

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

16 years ago[WinVerbs] IBAL driver builds in new WDK env.
stansmith [Sat, 3 May 2008 17:03:28 +0000 (17:03 +0000)]
[WinVerbs] IBAL driver builds in new WDK env.

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

16 years ago[WinVerbs] cherry picked clean compile patches from trunk for clean WDK build.
stansmith [Sat, 3 May 2008 15:19:04 +0000 (15:19 +0000)]
[WinVerbs] cherry picked clean compile patches from trunk for clean WDK build.

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

16 years ago[DAPL2] _getpid() has disappeared in WDK, use GetCurrentProcessId() instead.
stansmith [Sat, 3 May 2008 01:11:06 +0000 (01:11 +0000)]
[DAPL2] _getpid() has disappeared in WDK, use GetCurrentProcessId() instead.

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

16 years ago[DAPL2] WDK checkin recovery
stansmith [Fri, 2 May 2008 23:19:18 +0000 (23:19 +0000)]
[DAPL2] WDK checkin recovery

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

16 years ago[DAPL] reconstitute changes that were omitted by WDK changes svn 1091 vs. 1101.
stansmith [Fri, 2 May 2008 22:46:41 +0000 (22:46 +0000)]
[DAPL] reconstitute changes that were omitted by WDK changes svn 1091 vs. 1101.

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

16 years ago[WinOF]update WInOF 1.1 release tools
stansmith [Fri, 2 May 2008 22:19:55 +0000 (22:19 +0000)]
[WinOF]update WInOF 1.1 release tools

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

16 years agowinverbs/cq: separate error notification from completions
shefty [Fri, 2 May 2008 14:36:02 +0000 (14:36 +0000)]
winverbs/cq: separate error notification from completions

Do not signal error notification requests when completion events occur.

An error will signal all pending notifications, but completion events will
only signal CQ rearm requests.

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

16 years agowinverbs/cq: CQ notification should be done in userspace
shefty [Fri, 2 May 2008 03:45:53 +0000 (03:45 +0000)]
winverbs/cq: CQ notification should be done in userspace

This changes CQ:Notify to call the userspace verbs provider for rearming
the CQ.  (The current kernel code does not support rearming for a
userspace CQ.)  The overlapped request is still passed to the kernel and
signaled directly when the CQ event is signaled.

A user may also request notification of CQ error events only without
rearming the CQ.

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

16 years agowinverbs/async: signal all overlapped structures on event
shefty [Fri, 2 May 2008 02:32:45 +0000 (02:32 +0000)]
winverbs/async: signal all overlapped structures on event

When a CQ or SRQ event occurs, signal all waiting notification events.

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

16 years agowinverbs/qp: add support for QP:Modify
shefty [Fri, 2 May 2008 02:13:39 +0000 (02:13 +0000)]
winverbs/qp: add support for QP:Modify

Initial implementation for modify qp.

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

16 years ago[WinOF] Release 1.1 RC3, set [rnr-nak-timeout=0, rnr-retry-count=7] side-step RNR...
stansmith [Fri, 2 May 2008 00:00:44 +0000 (00:00 +0000)]
[WinOF] Release 1.1 RC3, set [rnr-nak-timeout=0, rnr-retry-count=7] side-step RNR for MPI.

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

16 years ago[etc] Fix infs that were changed in the ptr64 patch.
tzachid [Thu, 1 May 2008 22:12:18 +0000 (22:12 +0000)]
[etc] Fix infs that were changed in the ptr64 patch.
Signed by: XaleX

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

16 years ago[MTHCA, MLX4, IBAL, TOOLS] Added more attributes to query CA: RESIZE_MAX_WR, CHANGE_P...
leonidk [Thu, 1 May 2008 18:22:12 +0000 (18:22 +0000)]
[MTHCA, MLX4, IBAL, TOOLS] Added more attributes to query CA: RESIZE_MAX_WR, CHANGE_PHYSICAL_PORT, AH_PORT_CHECKING, SHUTDOWN_PORT, INIT_TYPE, SRQ_RESIZE and port ones: MaxMtu, ActiveSpeed, PhysicalState

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

16 years ago[MTHCA] add setting max_inline directly through ib_qp_create_t.
leonidk [Thu, 1 May 2008 18:06:42 +0000 (18:06 +0000)]
[MTHCA] add setting max_inline directly through ib_qp_create_t.

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

16 years ago[wsd] remove an un-necessary memclr().
tzachid [Thu, 1 May 2008 16:26:18 +0000 (16:26 +0000)]
[wsd] remove an un-necessary memclr().
Sined by XaleX

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

16 years ago{winVerbs] added 'Driver' versions of al, bus & mthca
stansmith [Thu, 1 May 2008 16:24:30 +0000 (16:24 +0000)]
{winVerbs] added 'Driver' versions of al, bus & mthca

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

16 years ago[ptr64] Fix some more minor issues in fields.
tzachid [Thu, 1 May 2008 16:22:13 +0000 (16:22 +0000)]
[ptr64] Fix some more minor issues in fields.
Signed by: Xalex

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

16 years agowinverbs/qp: add multicast support
shefty [Thu, 1 May 2008 07:23:06 +0000 (07:23 +0000)]
winverbs/qp: add multicast support

Initial implementation for attach/detach multicast.  Lower level channel
interface does not support asynchronous operation, so complete all
operations immediately.

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

16 years agowinverbs/qp: add support for CancelOverlappedRequests
shefty [Thu, 1 May 2008 04:13:00 +0000 (04:13 +0000)]
winverbs/qp: add support for CancelOverlappedRequests

Initial implementation for canceling overlapped requests.  Since the underlying
channel interface is synchronous, there's basically nothing to do, since all
asynchronous calls (modify qp, attach/detach multicast) will complete immediately.

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

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

16 years agowinverbs/srq: add support for asynchronous notification
shefty [Thu, 1 May 2008 03:47:00 +0000 (03:47 +0000)]
winverbs/srq: add support for asynchronous notification

Initial implementation of SRQ:Notify and CancelOverlappedRequests.

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