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

16 years agowinverbs/cq: destroy IoQueue
shefty [Thu, 1 May 2008 03:44:28 +0000 (03:44 +0000)]
winverbs/cq: destroy IoQueue

We need to cleanup the IoQueue when destroying the CQ.

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

16 years agowinverbs/cq: add support for CQ:CancelOverlappedRequests
shefty [Thu, 1 May 2008 02:08:21 +0000 (02:08 +0000)]
winverbs/cq: add support for CQ:CancelOverlappedRequests

Initial implementation of CQ:CancelOverlappedRequests().  Merge functionality
for completing the first queued asynchronous operation into a single call.

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

16 years agowinverbs/cq: add CQ:BatchNotify() support
shefty [Thu, 1 May 2008 01:55:06 +0000 (01:55 +0000)]
winverbs/cq: add CQ:BatchNotify() support

Initial implementation of CQ:BatchNotify() to signal a CQ event only
after a specific number of completions has occurred.

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

16 years agowinverbs/cq: add support for CQ:Notify()
shefty [Thu, 1 May 2008 01:48:02 +0000 (01:48 +0000)]
winverbs/cq: add support for CQ:Notify()

Initial implementation for CQ:Notify() to report asynchronous completions and events on a CQ.

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

16 years ago[WinOF] InstallShield branch deleted.
stansmith [Thu, 1 May 2008 00:10:09 +0000 (00:10 +0000)]
[WinOF] InstallShield branch deleted.

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

16 years ago[WinOF] removed sc05 & fab_cm branches
stansmith [Thu, 1 May 2008 00:08:19 +0000 (00:08 +0000)]
[WinOF] removed sc05 & fab_cm branches

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

16 years ago[MTHCA] (Bugzilla#1012) When trying to post_send message with size, bigger than max_m...
leonidk [Wed, 30 Apr 2008 16:48:13 +0000 (16:48 +0000)]
[MTHCA] (Bugzilla#1012) When trying to post_send message with size, bigger than max_message_size, MTHCAU.DLL returns IB_UNKNOWN_ERROR (53) instead of IB_INVALID_PARAMETER (3)

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

16 years agoPorting change in 1051 also to ib_types_extended.h
tzachid [Wed, 30 Apr 2008 14:25:37 +0000 (14:25 +0000)]
Porting change in 1051 also to ib_types_extended.h

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

16 years ago[WSD] Warning fixed
tzachid [Wed, 30 Apr 2008 09:38:40 +0000 (09:38 +0000)]
[WSD] Warning fixed

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

16 years ago[PTR64,WDK,MLX4]
tzachid [Wed, 30 Apr 2008 07:01:35 +0000 (07:01 +0000)]
[PTR64,WDK,MLX4]
This revision contains:
1. All bugfixes from WinOF trunk, from rev. 939 to 1067
2. Mellanox __ptr64 solution and WDK poring, starting from rev. 2164
3. All bugfixes and patches from connetx branch

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

16 years agowinverbs/events: provide empty event handlers
shefty [Wed, 30 Apr 2008 03:47:22 +0000 (03:47 +0000)]
winverbs/events: provide empty event handlers

Update winverbs to modified CI.  Provide empty event handlers that
will be completed once asynchronous support is added.

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

16 years agowinverbs/ioctl: define QP states exchanged from userspace
shefty [Wed, 30 Apr 2008 03:45:37 +0000 (03:45 +0000)]
winverbs/ioctl: define QP states exchanged from userspace

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

16 years agoCI/verbs: set callback handlers per HW widget
shefty [Wed, 30 Apr 2008 03:43:49 +0000 (03:43 +0000)]
CI/verbs: set callback handlers per HW widget

The underlying HCA drivers support setting completion handlers per CQ and
event handers per CQ, QP, or SRQ.  Expose this capability through the kernel
verb channel interface.  This allows the HCA driver to callback users
directly, rather than going through indirect calls.

The patch has a nice side effect of reducing the code base, and helps to
support multiple filter drivers accessing the HCA verb interface.

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

16 years agoib_types/events: remove trap data from event record
shefty [Wed, 30 Apr 2008 03:39:24 +0000 (03:39 +0000)]
ib_types/events: remove trap data from event record

The trap data in the ib_event_rec is both incomplete (wrt the types of
traps that it can report) and unused.  Remove it to save stack space.

This will also make it cleaner to have event handlers per QP, SRQ, CQ, etc.

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

16 years ago[TOOLS] bugfix in work with ConnectX HCAs
leonidk [Tue, 29 Apr 2008 15:40:55 +0000 (15:40 +0000)]
[TOOLS] bugfix in work with ConnectX HCAs

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

16 years ago[WinOF] .inf files again, missed minor #, relase notes missed vnic discussion.
stansmith [Mon, 28 Apr 2008 22:01:38 +0000 (22:01 +0000)]
[WinOF] .inf files again, missed minor #, relase notes missed vnic discussion.

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

16 years ago[WinOF] 1-1 branch predicted too far on svn number 1089 --> 1085
stansmith [Mon, 28 Apr 2008 19:37:20 +0000 (19:37 +0000)]
[WinOF] 1-1 branch predicted too far on svn number 1089 --> 1085

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

16 years ago[WInOF] 1-1 inf file match svn & WIX
stansmith [Mon, 28 Apr 2008 19:20:57 +0000 (19:20 +0000)]
[WInOF] 1-1 inf file match svn & WIX

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

16 years ago[WinOF] 1.1 RC2 + new mlx4
stansmith [Mon, 28 Apr 2008 17:40:58 +0000 (17:40 +0000)]
[WinOF] 1.1 RC2 + new mlx4

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

16 years ago[MLX4] bugifx: unintialized field in AV attributes conversion causes creation of...
leonidk [Mon, 28 Apr 2008 11:15:08 +0000 (11:15 +0000)]
[MLX4] bugifx: unintialized field in AV attributes conversion causes creation of MADs with GRH, which get dropped by the card.

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

16 years ago[MLX4] MLX4 directory re-structuring: the changes are related *only* to the modified...
leonidk [Sun, 27 Apr 2008 15:52:47 +0000 (15:52 +0000)]
[MLX4] MLX4 directory re-structuring: the changes are related *only* to the modified place of a file in the sub-tree.

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

16 years ago[MLX4] directory re-structuring
leonidk [Sun, 27 Apr 2008 15:19:28 +0000 (15:19 +0000)]
[MLX4] directory re-structuring

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

16 years ago[MLX4] directory re-structuring
leonidk [Sun, 27 Apr 2008 15:18:14 +0000 (15:18 +0000)]
[MLX4] directory re-structuring

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

16 years agoSynchronize cache work threads with its destruction
leonidk [Sun, 27 Apr 2008 15:02:34 +0000 (15:02 +0000)]
Synchronize cache work threads with its destruction

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

16 years agowinverbs.sys: optimize obtaining references on parent objects
shefty [Sat, 26 Apr 2008 06:53:23 +0000 (06:53 +0000)]
winverbs.sys: optimize obtaining references on parent objects

When converting from userspace ID's into kernel handles, a reference
is taken on the kernel handles to protect against destruction.  If
an object is created that references a parent object, instead of
acquiring a new reference on the parent, simply keep the existing
reference.  This avoids acquiring two references on an object, then
needing to release one.

This slightly optimizes CQ, SRQ, PD, MW, and AH creation.  QP creation
already contained this optimization.

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

16 years agowinverbs.sys: add initial support for CQ, SRQ, and QP
shefty [Sat, 26 Apr 2008 05:58:04 +0000 (05:58 +0000)]
winverbs.sys: add initial support for CQ, SRQ, and QP

This adds the starting implementation for CQ, SRQ, and QP support.
Some code is restructured to relocate functions to different source
files.  This makes them easier to find and allows other functions to
become static.

The kernel driver now implements all synchronous verb related routines.
The code is compile tested only, and does not yet implement any
asynchronous routines (ones that involve the use of OVERLAPPED operations).

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

16 years agomthca/pnp: respond to query interface
shefty [Thu, 24 Apr 2008 22:16:36 +0000 (22:16 +0000)]
mthca/pnp: respond to query interface

Add infrastructure to respond to query calls for the
RDMA_INTERFACE_VERB interface.

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

16 years agordma/verbs: Add header file to define RDMA_INTERFACE_VERBS
shefty [Thu, 24 Apr 2008 22:13:21 +0000 (22:13 +0000)]
rdma/verbs: Add header file to define RDMA_INTERFACE_VERBS

RDMA_VERBS_INTERFACE is reported by HCA drivers in response to query
interface requests.  It simply consists in reporting the ci_interface_t.

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

16 years agowinverbs/ioctl: update IOCTL interface
shefty [Thu, 24 Apr 2008 22:10:57 +0000 (22:10 +0000)]
winverbs/ioctl: update IOCTL interface

Define device attributes, and fix sizes of device properties.

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

16 years agowinverbs.sys: partial driver implementation
shefty [Thu, 24 Apr 2008 22:09:33 +0000 (22:09 +0000)]
winverbs.sys: partial driver implementation

The driver implements:

device: open/close/queries
PD: allocate/deallocate
MR: register/deregister
MW: allocate/deallocate
AH: create/destroy

It also handles device removal with active userspace users.

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

16 years agowinverbs: fix API issues
shefty [Thu, 24 Apr 2008 22:05:09 +0000 (22:05 +0000)]
winverbs: fix API issues

The FwVersion should be UINT64, not a 64-byte array.
The Lookup() method needs the remote address as input.

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

16 years agowinverbs: remove 'connected' parameters from WvVerbsConvertAv
shefty [Thu, 24 Apr 2008 22:01:58 +0000 (22:01 +0000)]
winverbs: remove 'connected' parameters from WvVerbsConvertAv

Address handle attributes only need to be converted for UD.
Remove connection oriented AV attributes.

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

16 years ago[MLX4] bugfix: prototypes of data path functions should take IBAL handles (QP, SRQ...
leonidk [Thu, 24 Apr 2008 10:08:48 +0000 (10:08 +0000)]
[MLX4] bugfix: prototypes of data path functions should take IBAL handles (QP, SRQ, CQ) and not simple pointers. Today handle is a long pointer, which causes incorrect work of MLX4U.DLL on x86 platform.

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

16 years ago[tools] Update flint to support ConnectX driver.
tzachid [Wed, 23 Apr 2008 13:27:47 +0000 (13:27 +0000)]
[tools] Update flint to support ConnectX driver.

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

16 years ago[MLX4] fixes for eliminating possible alignment-related holes in ABI structures
leonidk [Wed, 23 Apr 2008 12:09:54 +0000 (12:09 +0000)]
[MLX4] fixes for eliminating possible alignment-related holes in ABI structures

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

16 years ago[MLX4] a little improvement in user calls checks
leonidk [Wed, 23 Apr 2008 12:08:02 +0000 (12:08 +0000)]
[MLX4] a little improvement in user calls checks

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

16 years ago[MLX4] bugfix for x86 user only: export uvp_get_interface directly. Otherwise linker...
leonidk [Wed, 23 Apr 2008 12:02:07 +0000 (12:02 +0000)]
[MLX4] bugfix for x86 user only: export uvp_get_interface directly. Otherwise linker exports _uvp_get_interface@4 and IBAL fails to get UVP interface and proceeds to work w/o UVP, which causes crashes in kernel.

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

16 years ago[WinVerbs] added al\Driver - ibal as a driver in the HCA device stack. WIP (Work...
stansmith [Sat, 19 Apr 2008 22:19:55 +0000 (22:19 +0000)]
[WinVerbs] added al\Driver - ibal as a driver in the HCA device stack. WIP (Work-In-Progress).

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

16 years ago[WinVerbs] KMDF bus - continued IB bus driver simplification efforts:
stansmith [Sat, 19 Apr 2008 22:15:36 +0000 (22:15 +0000)]
[WinVerbs] KMDF bus - continued IB bus driver simplification efforts:
    migrated complib & ibal .dll installs into ib_al driver .inf; logical grouping
    added todo.txt replacing overloaded brain so I don't forget.
    added IBAL interface query as ibal is now a separate driver in the HCA device stack.

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

16 years ago[WinOF_1-1] WinOF1-1 branch is now 1059.
stansmith [Sat, 19 Apr 2008 19:50:01 +0000 (19:50 +0000)]
[WinOF_1-1] WinOF1-1 branch is now 1059.

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

16 years agovarious bug fixes + changes, made for WDK 6000 compiler
leonidk [Mon, 14 Apr 2008 10:24:46 +0000 (10:24 +0000)]
various bug fixes + changes, made for WDK 6000 compiler

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

16 years ago[IBAL] added sanity checks
leonidk [Mon, 14 Apr 2008 09:25:34 +0000 (09:25 +0000)]
[IBAL] added sanity checks

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

16 years ago[MTHCA] fix error print
leonidk [Mon, 14 Apr 2008 08:09:36 +0000 (08:09 +0000)]
[MTHCA] fix error print

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

16 years ago[OPENSM] added new work completion code
leonidk [Mon, 14 Apr 2008 08:07:45 +0000 (08:07 +0000)]
[OPENSM] added new work completion code

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

16 years ago[TOOLS] fix VSTAT uplink info print
leonidk [Mon, 14 Apr 2008 08:01:43 +0000 (08:01 +0000)]
[TOOLS] fix VSTAT uplink info print

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

16 years ago[TOOLS] add support to ConnectX HCAs
leonidk [Mon, 14 Apr 2008 07:59:31 +0000 (07:59 +0000)]
[TOOLS] add support to ConnectX HCAs

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

16 years ago[IPOIB] fix assert - low level driver is not obliged to return wc_type for erroneous...
leonidk [Mon, 14 Apr 2008 07:57:29 +0000 (07:57 +0000)]
[IPOIB] fix assert - low level driver is not obliged to return wc_type for erroneous completion

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

16 years ago[IBBUS] fixed a bug in calling NDI function
leonidk [Sun, 13 Apr 2008 18:59:22 +0000 (18:59 +0000)]
[IBBUS] fixed a bug in calling NDI function

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

16 years ago[IBBUS] fixes for compiler
leonidk [Sun, 13 Apr 2008 18:52:20 +0000 (18:52 +0000)]
[IBBUS] fixes for compiler

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

16 years agoadded new work completion code for ConnectX HCAs
leonidk [Sun, 13 Apr 2008 18:48:49 +0000 (18:48 +0000)]
added new work completion code for ConnectX HCAs

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

16 years ago[IBAL] improve debug print
leonidk [Sun, 13 Apr 2008 18:38:03 +0000 (18:38 +0000)]
[IBAL] improve debug print

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

16 years ago[WinOF] 1.1 branch
stansmith [Fri, 11 Apr 2008 20:18:21 +0000 (20:18 +0000)]
[WinOF] 1.1 branch

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

16 years ago[WinVerbs] still needs ioctl work
stansmith [Wed, 9 Apr 2008 14:57:54 +0000 (14:57 +0000)]
[WinVerbs] still needs ioctl work

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

16 years ago[MTHCA] a way to specify the cpu affinity mask in order to improve IPoIB MCast latency.
leonidk [Mon, 7 Apr 2008 11:19:29 +0000 (11:19 +0000)]
[MTHCA] a way to specify the cpu affinity mask in order to improve IPoIB MCast latency.

Provided by: Slava Strebkov [slavas@voltaire.com]

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

16 years ago[SRP] failed session recovery
leonidk [Mon, 7 Apr 2008 11:03:19 +0000 (11:03 +0000)]
[SRP] failed session recovery

Proposed by: Alex Estrin [alex.estrin@qlogic.com]

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

16 years ago[IBBUS] The patch deletes ibbus symbolic link on driver unloads
leonidk [Mon, 7 Apr 2008 10:53:58 +0000 (10:53 +0000)]
[IBBUS] The patch deletes ibbus symbolic link on driver unloads

Proposed by: Slava Strebkov [slavas@voltaire.com]

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

16 years ago[WinVerbs] lost a line in svn movement?? replaced in order to compile?
stansmith [Sat, 5 Apr 2008 17:33:37 +0000 (17:33 +0000)]
[WinVerbs] lost a line in svn movement?? replaced in order to compile?

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

16 years ago[WinVerbs] IB bus unload cleanup patch - IBAL interface (dos) filename destroy.
stansmith [Sat, 5 Apr 2008 01:02:11 +0000 (01:02 +0000)]
[WinVerbs] IB bus unload cleanup patch - IBAL interface (dos) filename destroy.

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

16 years ago[WinVerbs] moving IBFD work into WinVerbs
stansmith [Fri, 4 Apr 2008 22:27:42 +0000 (22:27 +0000)]
[WinVerbs] moving IBFD work into WinVerbs

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

16 years ago[WinVerbs]
stansmith [Fri, 4 Apr 2008 22:24:24 +0000 (22:24 +0000)]
[WinVerbs]
  core\bus\kmdf IB bus filter driver [KMDF], resides in HCA driver stack.

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