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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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.