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
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
stansmith [Tue, 26 Feb 2008 20:40:51 +0000 (20:40 +0000)]
[DAPL2]
prefix debug mesg output with hostname.
Fixed an RC connection tear down race with multple threads & endpoints.
dapltest now correctly exits with an error code making scripting useful.
dt-cli.bat
added EP test (quick test of multiple threads and Endpoints)
added EPA test (increasing endpoints[1..9] + threads [1..7].
stansmith [Tue, 26 Feb 2008 20:32:51 +0000 (20:32 +0000)]
[WInOF]
buildall.bat - us %systemroot%\temp as the default store for .msi files
CustomActions.vbs - support Qlogic VNIC & SRP install/uninstall - SRP untested at this juncture
[ia64,x86,x64]/\wof.wxs - IB SDK feature moved to end of feature listing.
mk-OFA-dist.bat - script to generate a .zip file for OFA download distribution
mkarchfiles.bat - script to create separate .zip files for each architecture.
stansmith [Fri, 15 Feb 2008 00:05:59 +0000 (00:05 +0000)]
[WinOF] undo previous rename as once a release is pushed out, then the latest version of this file will be renamed to README_realease_x.y.txt and added to the repository.
stansmith [Mon, 11 Feb 2008 23:12:25 +0000 (23:12 +0000)]
[WinOF] WIX undo damaged of renaming Release_notes.htm to Release_notes_1-1.htm as it broke the WIX installer build...oops. Release_notes.htm reflects the 'next' WinOF release to be published WIP. Once a WinOF release is accomplished, Release_notes.htm is renamed to Release_notes_x-y.htm; where x-y reflects the latest WinOF release and Release_notes.htm once again is the 'next' WinOF release.
README.txt updated to repeat the above words on what-is-what...
aestrin [Fri, 8 Feb 2008 22:06:09 +0000 (22:06 +0000)]
[VNIC] added support for ipv6 checksum offload.
- fixed potential netpath null dereference
- fixed control path initialization potential flaw,
- simplified LBFO a bit and removed NdisMRemoveMiniport since
it breaks adapter reset-reinitialization.
- removed cmd reset request (doesn't make sense when path is broken).
- hung flag set change
- debug messages, replace some macros with inline funcs, some code cleanup and formatting.
INF changes
- fixed service name.
- mtu payload size can be modified in 100 bytes increments( was 500).
leonidk [Thu, 31 Jan 2008 09:20:41 +0000 (09:20 +0000)]
[ipoib] Added support for Cisco GUIDs.
[IBAL, MTHCA] (user space) changed low-level IBAL interface to facilitate (for verb provider) creation of objects in pre- functions.
[ALL] added NDI support.
aestrin [Mon, 21 Jan 2008 21:49:28 +0000 (21:49 +0000)]
[VNIC] Changes include support for jumbo frames, 802.1q/p vlan and priority, IPv4 checksums offload, failover to secondary IB path, LBFO (failover only).Driver name have changed to 'qlc_vnic.sys'.
stansmith [Sat, 8 Dec 2007 01:03:04 +0000 (01:03 +0000)]
[WinOF] IBSDK - InfiniBand software development kit.
Added Visual Studio Makefiles for x64 & x86.
Strongly noted /Gz (__stdcall) compiler switch is Manditory to achieve a correctly functioning IB application; issues with API declarations in IBAL & CompLib.
stansmith [Thu, 6 Dec 2007 01:06:36 +0000 (01:06 +0000)]
[WinOF] updated cmtest_main.c to compile under Visual studio 2005.
local & remote endpoint (port) LIDs are now specified in host-byte order as displayed by the vstat command.
Help text reworked to mention vstat command output for LID specification.
leonidk [Sun, 25 Nov 2007 15:30:39 +0000 (15:30 +0000)]
[IBAL] 1) fixed a bug in RTU handling, which caused immediate unbinding QP from CEP and eventual crash on arriving DREQ after QP destroying;
2) fixed a bug with not-releasing of a parameter structure, allocated for REQ handling, in several paths of error flow;
3) fixed incorrect ioctl return code;
4) reworked usage of reference counting to make the code more readable;
5) added AL_RESERVED_CID. It is set to enforce CEP destroy before destroying the bound QP;
6) fixed some CL_ASSERTs to adopt setting a new AL_RESERVED_CID value upon QP destroy;
7) added more debug prints;