]>
git.openfabrics.org - ~shefty/rdma-win.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
stansmith [Fri, 4 Apr 2008 22:15:20 +0000 (22:15 +0000)]
[WinVerbs]
core/bus/kmdf - IB Bus (KMDF) skeleton - driver in HCA driver stack; not co-installed by mthca
al/user/SOURCES - mods to build in DDK/WDK
complib/user/SOURCES - mods to build in DDK/WDK
core/bus/iou - IB I/O Unit driver, KMDF version, in HCA driver stack.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1040
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 4 Apr 2008 21:31:38 +0000 (21:31 +0000)]
winverbs/ioctl: updated IOCTL calls
Add enum to simplify IOCTL maintenance. File was missed as part of previous commit of kernel driver.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1039
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Fri, 4 Apr 2008 20:32:40 +0000 (20:32 +0000)]
[WinVerbs] kmdf bus driver skeleton
git-svn-id: svn://openib.tc.cornell.edu/gen1@1038
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 4 Apr 2008 03:20:27 +0000 (03:20 +0000)]
winverbs/test: add test for query GUIDs
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1037
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 4 Apr 2008 03:18:57 +0000 (03:18 +0000)]
winverbs/library: open kernel device
Uncomment code that opens kernel device.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1036
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 4 Apr 2008 03:17:44 +0000 (03:17 +0000)]
Provide the kernel driver framework for WinVerbs. The driver uses the KMDF
(kernel mode driver framework) and builds using the WDK.
The driver loads as an upper filter driver for InfiniBandHca class drivers.
It responds to standard PnP device add/remove device requests to track available
HCAs in the system.
A user interface is exposed through a single control device.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1035
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Wed, 2 Apr 2008 19:32:00 +0000 (19:32 +0000)]
[SRP] If a target announces support for the direct data buffer descriptor format only, the number of scatter/gather entries should be set to 1.
Proposed by: Arne Redlich <arne.redlich@xiranet.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1034
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Wed, 2 Apr 2008 19:11:52 +0000 (19:11 +0000)]
[SRP] Added look-up of pending queue and descriptor cleanup for abort command
Proposed by: Alex Estrin
git-svn-id: svn://openib.tc.cornell.edu/gen1@1033
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Wed, 2 Apr 2008 18:44:42 +0000 (18:44 +0000)]
[SRP] added SRP_MODE_NO_FMR_POOL flag check before initialize FMR pool
Suggested by: Alex Estrin
git-svn-id: svn://openib.tc.cornell.edu/gen1@1032
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Wed, 2 Apr 2008 09:52:12 +0000 (09:52 +0000)]
removed dead code
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1031
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 1 Apr 2008 23:54:27 +0000 (23:54 +0000)]
[WinOF] force deletion of .obj files when building a release.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1030
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 1 Apr 2008 23:52:06 +0000 (23:52 +0000)]
[DAPL,DAPL2]
Make DAPL & DAPL2 build correct in DDK or WDK environments
DAPL2 dtest & dtestx - remove explicit SDK_INC_PATH in SOURCES file, not required.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1029
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 1 Apr 2008 23:45:43 +0000 (23:45 +0000)]
[Core,DAPL]
make user mode .dll libraries build
cleanup DAPL and getpid() missing from documented MS libs.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1028
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 1 Apr 2008 23:43:03 +0000 (23:43 +0000)]
[WinOF]
mk-OFA-dist.bat renamed to build-OFA-dist.bat
delete mkarchfiles.bat
git-svn-id: svn://openib.tc.cornell.edu/gen1@1027
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Thu, 27 Mar 2008 10:49:01 +0000 (10:49 +0000)]
[SRP] remove usage of kernel virtual memory registration, because it is not effective and not supported by ConnectX driver
git-svn-id: svn://openib.tc.cornell.edu/gen1@1026
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
aestrin [Wed, 26 Mar 2008 14:10:36 +0000 (14:10 +0000)]
[QLGCVNIC]flow control patch to help viport sustain a heavy load.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1025
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Mon, 24 Mar 2008 20:46:47 +0000 (20:46 +0000)]
[WinOF] install I/O Unit driver only if VNIC or SRP requested, prior to VNIC or SRP.
Document tabstop=4 default.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1024
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:53:33 +0000 (11:53 +0000)]
[OPENSM] added one more work completion status code
git-svn-id: svn://openib.tc.cornell.edu/gen1@1023
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:52:38 +0000 (11:52 +0000)]
[IPOIB] bugfix in ASSERTS: on error p_wc->wc_type is not defined !
git-svn-id: svn://openib.tc.cornell.edu/gen1@1022
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:51:01 +0000 (11:51 +0000)]
bugfix in uplink offset calculation
git-svn-id: svn://openib.tc.cornell.edu/gen1@1021
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:49:58 +0000 (11:49 +0000)]
[MLX4] removed an unused field
git-svn-id: svn://openib.tc.cornell.edu/gen1@1020
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:48:56 +0000 (11:48 +0000)]
added one more work completion status code
git-svn-id: svn://openib.tc.cornell.edu/gen1@1019
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:12:00 +0000 (11:12 +0000)]
[IBAL] typos and debug prints
git-svn-id: svn://openib.tc.cornell.edu/gen1@1018
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:11:13 +0000 (11:11 +0000)]
[IBAL] added one more work completion status code
git-svn-id: svn://openib.tc.cornell.edu/gen1@1017
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:10:13 +0000 (11:10 +0000)]
[IBAL] bugfix in calling an NDI support function
git-svn-id: svn://openib.tc.cornell.edu/gen1@1016
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:08:19 +0000 (11:08 +0000)]
[IBAL] returned and fixed a sanity check, disabled in rev. 931
git-svn-id: svn://openib.tc.cornell.edu/gen1@1015
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 11:04:42 +0000 (11:04 +0000)]
[MLX4] added a driver for Mellanox Tech. ConnectX HCAs support
git-svn-id: svn://openib.tc.cornell.edu/gen1@1014
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 24 Mar 2008 09:43:35 +0000 (09:43 +0000)]
[MTHCA] changes for elimination of WDK compiler warnings. MTHCA driver gets compiled with WDK 6000.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1013
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 23 Mar 2008 13:29:10 +0000 (13:29 +0000)]
Create a branch for ConnectX driver development
git-svn-id: svn://openib.tc.cornell.edu/gen1@1012
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 23 Mar 2008 13:27:08 +0000 (13:27 +0000)]
removed
git-svn-id: svn://openib.tc.cornell.edu/gen1@1011
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Sat, 22 Mar 2008 00:29:19 +0000 (00:29 +0000)]
[IBDF] Bus Driver - removed extraneous files. Query interface routines in place.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1010
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 21 Mar 2008 03:37:47 +0000 (03:37 +0000)]
winverbs: remove test file
Remove wv.c, it was only used to test that winverbs.h could be built as a C file, not just C++.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1009
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 21 Mar 2008 03:28:30 +0000 (03:28 +0000)]
winverbs: move userspace include file out of common wv_ioctl header
Move #include <winioctl.h> out of wv_ioctl.h. winioctl.h is needed to build the userspace library, but results in build errors if included by the winverbs driver.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1008
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 21 Mar 2008 01:59:29 +0000 (01:59 +0000)]
winverbs: include parent directory ('..') in include path
replace #include "..\wv_ioctl.h" with just #include "wv_ioctl.h" by having the parent directory in the include path.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1007
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Fri, 21 Mar 2008 00:08:52 +0000 (00:08 +0000)]
[WinOF] changed WIX\buildall.bat to WIX\build-MSI.bat
git-svn-id: svn://openib.tc.cornell.edu/gen1@1006
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Fri, 21 Mar 2008 00:07:04 +0000 (00:07 +0000)]
[WinOF] added script to zip an OFA release tree for transport to OFA website.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1005
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Fri, 21 Mar 2008 00:02:09 +0000 (00:02 +0000)]
[WinOF] WIX buildall.bat renamed to build-MSI.bat
git-svn-id: svn://openib.tc.cornell.edu/gen1@1004
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Thu, 20 Mar 2008 23:20:41 +0000 (23:20 +0000)]
[IBFD] KMDF Bus driver almost ready to start testing.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1003
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Thu, 20 Mar 2008 23:12:57 +0000 (23:12 +0000)]
[DAPL2] synchronize Windows source with OFED 1.3 src
git-svn-id: svn://openib.tc.cornell.edu/gen1@1002
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Thu, 20 Mar 2008 17:58:53 +0000 (17:58 +0000)]
Added a branch, presenting a new driver, which supports Mellanox ConnectX HCAs.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1001
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Thu, 20 Mar 2008 16:04:28 +0000 (16:04 +0000)]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1000
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 20 Mar 2008 07:35:18 +0000 (07:35 +0000)]
winverb/test: expand winverb test framework
Provide a bare framework for testing all winverb interfaces. Working test is limited to opening the library and getting/releasing the provider.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@999
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 20 Mar 2008 07:32:55 +0000 (07:32 +0000)]
winverbs: provide initial implementation for userspace verb calls
Verb related code is complete for UVP supported functionality, but basically only compile tested. (Kernel component is still needed.) Only verb related calls are coded: CQ, SRQ, QP, PD, AH, MR, etc. Communication management calls (Listen, Endpoints) are not done.
This is a very base implementation with not debugging support added yet, and almost no error checking.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@998
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 20 Mar 2008 07:15:54 +0000 (07:15 +0000)]
uvp/interface: add support for reporting QP context in WCs
Extend the uvp_interface to include support for reporting the QP context in work completions. The new interface is moved to version 3, and the Mellanox UVP is updated to support interfaces 1-3. The required changes are to allow specifying a qp_context in the pre_create_qp() IOCTL call, and reporting the qp_context through the work completion structure.
To minimize changes to the uvp, a new uvp_wc_t structure is defined that can be cast to the existing ib_wc_t structure. An existing poll_cq_array routine is exposed for retrieving the work completions, which matches up with the WinVerbs CQ::Poll() routine.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@997
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 20 Mar 2008 06:49:41 +0000 (06:49 +0000)]
uvp/get_interface: add new interface to get versioned uvp functions
Add a new call, uvp_get_interface_n(version, p_interface, sizeof(*p_interface)) that users can call to retrieve a specific interface that is supported by a uvp. With the introduction of NDI and WinVerbs support, the uvp_interface structure changes. Support for interface versioning will allow future changes to UVPs independent of IBAL and WinVerb changes and from each other.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@996
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 20 Mar 2008 06:34:19 +0000 (06:34 +0000)]
uvp/av: complete all processing in pre_create/destroy_av() calls
According to the documentation, if a UVP returns IB_VERBS_PROCESSING_DONE from a pre() IOCTL call, then all verbs related processing has completed. The current pre_create_av() and pre_destroy_av() uvp implementation can both return IB_VERBS_PROCESSING_DONE, but require that IBAL still call post_create_av() and post_destroy_av(). Fix the UVP to complete all processing in the pre() IOCTL calls when returning IB_VERBS_PROCESSING_DONE, and update IBAL to remove unnecessary post() IOCTL calls.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@995
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 20 Mar 2008 05:21:04 +0000 (05:21 +0000)]
openib.def: add default values for required build settings
To build the WinOF stack, the user must specify two environment settings. Provide default values for those settings. The user can still override the values by specifying their own.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@994
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 20 Mar 2008 05:18:55 +0000 (05:18 +0000)]
complib/cl_byteswap_osd.h: Add missing include file for stdlib.h
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@993
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Fri, 14 Mar 2008 17:11:08 +0000 (17:11 +0000)]
[IBFD] removed mt23108 from branch
git-svn-id: svn://openib.tc.cornell.edu/gen1@992
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Fri, 14 Mar 2008 16:44:25 +0000 (16:44 +0000)]
[KMDF-mthca-Bus] building mthca in better shape than bus at this time; neither are functional.
git-svn-id: svn://openib.tc.cornell.edu/gen1@991
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Thu, 13 Mar 2008 17:01:29 +0000 (17:01 +0000)]
[mthca-kmdf] link, possible initialize OK.
git-svn-id: svn://openib.tc.cornell.edu/gen1@990
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Wed, 12 Mar 2008 17:17:19 +0000 (17:17 +0000)]
[mthca-kmdf] rever to original mthca file structure so other will not be confused by KMDF additions and know where to find functions [DriverEntry] for instance is still in hca_driver.c
git-svn-id: svn://openib.tc.cornell.edu/gen1@989
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 11 Mar 2008 20:57:40 +0000 (20:57 +0000)]
[MTHCA-KMDF] updates after rename from pcidrv.c & public.h
git-svn-id: svn://openib.tc.cornell.edu/gen1@988
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 11 Mar 2008 20:52:07 +0000 (20:52 +0000)]
[MTHCA-KMDF] stubbed out, builds, move on to populating KMDF stubs.
git-svn-id: svn://openib.tc.cornell.edu/gen1@987
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sat, 8 Mar 2008 02:17:30 +0000 (02:17 +0000)]
wv/dll: fix reference count tracking on providers
We need to decrement the DLL reference count whenever a provider is deleted.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@986
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Sat, 8 Mar 2008 01:53:50 +0000 (01:53 +0000)]
[IBDF] KMDF skeletons for ib_bus and mthca drivers.
git-svn-id: svn://openib.tc.cornell.edu/gen1@985
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Sat, 8 Mar 2008 01:48:20 +0000 (01:48 +0000)]
[IBFD] allow .dll generation in WDK environment
git-svn-id: svn://openib.tc.cornell.edu/gen1@984
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Sat, 8 Mar 2008 01:44:38 +0000 (01:44 +0000)]
[IBFD] IB Fabric driver KMDF work - allow .dll generation in WDK environment.
git-svn-id: svn://openib.tc.cornell.edu/gen1@983
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 6 Mar 2008 08:05:31 +0000 (08:05 +0000)]
wv/test: provide framework for testing device interface
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@982
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 6 Mar 2008 08:04:23 +0000 (08:04 +0000)]
wv/device: add framework to create/destroy device object
Allow allocating and destroying the device object. Only the structure is allocated. The device is not associated with any specific RDMA device.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@981
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 6 Mar 2008 07:45:13 +0000 (07:45 +0000)]
wv/provider: use wvstatus in place of winerror values
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@980
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 6 Mar 2008 07:40:05 +0000 (07:40 +0000)]
wv/main: add ConvertIbalStatus routine to map ibal return values to wvstatus
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@979
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 6 Mar 2008 07:36:54 +0000 (07:36 +0000)]
wv/main: replace winerror values with wvstatus values.
Use WinVerbs defined status values, rather than base error values.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@978
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 6 Mar 2008 07:34:11 +0000 (07:34 +0000)]
wv/WvGetObject(): fix error handling
Need to set *ppbObject = NULL so it can be returned to the user.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@977
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
aestrin [Wed, 5 Mar 2008 21:55:18 +0000 (21:55 +0000)]
[QLGCVNIC] remove direct ibal call and linkage dependency.
git-svn-id: svn://openib.tc.cornell.edu/gen1@976
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Wed, 5 Mar 2008 18:11:11 +0000 (18:11 +0000)]
[DAPL] identify and generate debug version dapltestd.exe
git-svn-id: svn://openib.tc.cornell.edu/gen1@975
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 5 Mar 2008 17:57:42 +0000 (17:57 +0000)]
wv/device: rename device class from CIWVDevice to CWVDevice
Remove the leftover 'I' from the class name.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@974
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 5 Mar 2008 17:45:27 +0000 (17:45 +0000)]
wv/winverbs.h: specify full include path
Add 'rdma/' to include path, and remove 1 random extra whitespace.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@973
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 5 Mar 2008 01:30:23 +0000 (01:30 +0000)]
wvtests: add getopt() routine to process test options
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@972
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 5 Mar 2008 01:28:50 +0000 (01:28 +0000)]
winverbs: formatted code for tabs = 4 spaces
Code formatted for Windows-i-ness. It's pretty now.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@971
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Wed, 5 Mar 2008 00:46:34 +0000 (00:46 +0000)]
[WinOF] added datd.lib for DAT debug linking, included dapltestd.exe for field debug.
git-svn-id: svn://openib.tc.cornell.edu/gen1@970
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 4 Mar 2008 23:07:39 +0000 (23:07 +0000)]
wvtests: add reference to using std namespace
Avoid using std:: everywhere. Just use the std namespace by default.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@969
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 4 Mar 2008 07:32:38 +0000 (07:32 +0000)]
Add winverbs test application framework. Test acquires and releases IWVProvider interface.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@968
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 4 Mar 2008 07:30:18 +0000 (07:30 +0000)]
Export call from DLL to obtain IWVProvider interface. This avoids using COM to acquire the interface to simplify development.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@967
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 4 Mar 2008 07:28:27 +0000 (07:28 +0000)]
Initialize WVProvider reference count.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@966
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86