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

16 years ago[WinVerbs]
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

16 years agowinverbs/ioctl: updated IOCTL calls
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

16 years ago[WinVerbs] kmdf bus driver skeleton
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

16 years agowinverbs/test: add test for query GUIDs
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

16 years agowinverbs/library: open kernel device
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

16 years agoProvide the kernel driver framework for WinVerbs. The driver uses the KMDF
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

16 years ago[SRP] If a target announces support for the direct data buffer descriptor format...
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

16 years ago[SRP] Added look-up of pending queue and descriptor cleanup for abort command
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

16 years ago[SRP] added SRP_MODE_NO_FMR_POOL flag check before initialize FMR pool
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

16 years agoremoved dead code
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

16 years ago[WinOF] force deletion of .obj files when building a release.
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

16 years ago[DAPL,DAPL2]
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

16 years ago[Core,DAPL]
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

16 years ago[WinOF]
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

16 years ago[SRP] remove usage of kernel virtual memory registration, because it is not effective...
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

16 years ago[QLGCVNIC]flow control patch to help viport sustain a heavy load.
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

16 years ago[WinOF] install I/O Unit driver only if VNIC or SRP requested, prior to VNIC or SRP.
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

16 years ago[OPENSM] added one more work completion status code
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

16 years ago[IPOIB] bugfix in ASSERTS: on error p_wc->wc_type is not defined !
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

16 years agobugfix in uplink offset calculation
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

16 years ago[MLX4] removed an unused field
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

16 years agoadded one more work completion status code
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

16 years ago[IBAL] typos and debug prints
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

16 years ago[IBAL] added one more work completion status code
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

16 years ago[IBAL] bugfix in calling an NDI support function
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

16 years ago[IBAL] returned and fixed a sanity check, disabled in rev. 931
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

16 years ago[MLX4] added a driver for Mellanox Tech. ConnectX HCAs support
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

16 years ago[MTHCA] changes for elimination of WDK compiler warnings. MTHCA driver gets compiled...
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

16 years agoCreate a branch for ConnectX driver development
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

16 years agoremoved
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

16 years ago[IBDF] Bus Driver - removed extraneous files. Query interface routines in place.
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

16 years agowinverbs: remove test file
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

16 years agowinverbs: move userspace include file out of common wv_ioctl header
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

16 years agowinverbs: include parent directory ('..') in include path
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

16 years ago[WinOF] changed WIX\buildall.bat to WIX\build-MSI.bat
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

16 years ago[WinOF] added script to zip an OFA release tree for transport to OFA website.
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

16 years ago[WinOF] WIX buildall.bat renamed to build-MSI.bat
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

16 years ago[IBFD] KMDF Bus driver almost ready to start testing.
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

16 years ago[DAPL2] synchronize Windows source with OFED 1.3 src
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

16 years agoAdded a branch, presenting a new driver, which supports Mellanox ConnectX HCAs.
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

16 years agogit-svn-id: svn://openib.tc.cornell.edu/gen1@1000 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

16 years agowinverb/test: expand winverb test framework
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

16 years agowinverbs: provide initial implementation for userspace verb calls
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

16 years agouvp/interface: add support for reporting QP context in WCs
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

16 years agouvp/get_interface: add new interface to get versioned uvp functions
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

16 years agouvp/av: complete all processing in pre_create/destroy_av() calls
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

16 years agoopenib.def: add default values for required build settings
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

16 years agocomplib/cl_byteswap_osd.h: Add missing include file for stdlib.h
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

16 years ago[IBFD] removed mt23108 from branch
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

16 years ago[KMDF-mthca-Bus] building mthca in better shape than bus at this time; neither are...
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

16 years ago[mthca-kmdf] link, possible initialize OK.
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

16 years ago[mthca-kmdf] rever to original mthca file structure so other will not be confused...
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

16 years ago[MTHCA-KMDF] updates after rename from pcidrv.c & public.h
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

16 years ago[MTHCA-KMDF] stubbed out, builds, move on to populating KMDF stubs.
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

16 years agowv/dll: fix reference count tracking on providers
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

16 years ago[IBDF] KMDF skeletons for ib_bus and mthca drivers.
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

16 years ago[IBFD] allow .dll generation in WDK environment
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