stansmith [Tue, 17 Feb 2009 18:40:59 +0000 (18:40 +0000)]
[WinOF] additional WHQL patches from trunk (svn.commit #)
1765 [ipoib] Don't put multicast entries in the dlid lists.
1770 [MLX4] Fixed QP memory leak, inserted in 1288 fix.
1771 [MLX4] Fixed QP memory leak, inserted in 1288 fix.
1772 [MLX4] fixed application crash in case of IOCTL failure.[mlnx:3498]
1774 [IBBUS] workaround for some problems with WHQL PnP test over IPoIB.
[mlnx: 3535]
1788 [IPoIB]: Fill in service level in MAC_TO_PATH output.
1966 [IBAL,WinVerbs] fix ib_get_err_str. The addition of
IB_INVALID_GUID_MASK wasn't reflected in the string conversion.
This causes all text representations of error values greater than
IB_INVALID_GUID_MASK to be wrong.
WIX src updates for 2.0.2 release
leonidk [Mon, 16 Feb 2009 12:06:19 +0000 (12:06 +0000)]
[IBAL] Fix WPP trace previx for AL_PRINT
The AL_PRINT WPP prefix adds a space before the colon. This makes output look funny if you use AL_PRINT instead of AL_ENTER to create a more detailed entry message (with parameter values, for example), as the colon won't align. This makes it hard to search a file for function entry.
Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1967 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
leonidk [Mon, 16 Feb 2009 11:50:20 +0000 (11:50 +0000)]
[IBAL,WinVerbs] fix ib_get_err_str
The addition of IB_INVALID_GUID_MASK wasn't reflected in the string conversion. This causes all text representations of error values greater than IB_INVALID_GUID_MASK to be wrong.
Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1966 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
leonidk [Mon, 16 Feb 2009 10:13:45 +0000 (10:13 +0000)]
[IBBUS] added support for creating vendor defined devices.
It replaces creating devices on built-in base.
Devices, created by this patch: IPoIB and XsigoBus.
The parameters, describing the devices to be created, are defined in mlx4_hca and mthca inf files, but they are placed into Registry under ibbus\parameters key.
Signed-off-by: James Yang
git-svn-id: svn://openib.tc.cornell.edu/gen1@1965 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
shefty [Fri, 13 Feb 2009 22:33:59 +0000 (22:33 +0000)]
ib-diags: re-porting of ib diag utilities
A new port of the ib diag utilities that is in sync with the main management.git tree. This code mirrors git://git.openfabrics.org/~shefty/scm/ib-mgmt.git, which is a clone of Sasha's management.git tree, plus pending patches for windows support.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1960 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
stansmith [Fri, 13 Feb 2009 19:55:22 +0000 (19:55 +0000)]
[WinOF] CustomActions.vbs - remove /S switch from dpinst cmd-line as it suppresses the required unknown SW Publisher dialogue box during HCA driver install; for a system which has never seen WinOF SW. Side effect of checking the trust unknown SW publisher is an OFA certificate is placed in the trusted publishers cert store.
Install dpinst.xml file so dpinst.exe doesn't complain about not having one.
tzachid [Wed, 4 Feb 2009 15:11:30 +0000 (15:11 +0000)]
OpenSM patches for saquery porting - 1 of 6:
The following OpenSM patches update OpenSM's ib_types.h a small step closer to the OFED version by
1) matching field names.
2) missing #defines
3) missing functions
Changes were required in order to port the OFED 1.4 ibsaquery command.
Signed off by: stan.smith@intel.com
stansmith [Wed, 28 Jan 2009 17:17:37 +0000 (17:17 +0000)]
[WinOF] 2.0.1 point release
BuildRelease.bat - now assumes trunk\WinOF\WIX path as branches\WinOF was moved into the trunk.
latest versions of DPInst.exe
Updated WIX src files to reflect WinOF version 2.0.1
stansmith [Wed, 28 Jan 2009 17:12:28 +0000 (17:12 +0000)]
[WinOF] learned about .bat for() loops & default delimiters with folder name which contain spaces (say if you make a copy of a folder). The default delimiters <space> & <tab> allow a filename like 'c:\openIB\gen1\trunk\ulp\ipoib - Copy(2)\objfre_wlh_x86' to be returned as 'c:\openIB\gen1\trunk\ulp\ipoib' suitable for removal - not the intent.
stansmith [Wed, 28 Jan 2009 17:10:30 +0000 (17:10 +0000)]
[WinOF] 2.0.1 point release - learned about .bat for() loops & default delimiters with folder name which contain spaces (say if you make a copy of a folder). The default delimiters <space> & <tab> allow a filename like 'c:\openIB\gen1\trunk\ulp\ipoib - Copy(2)\objfre_wlh_x86' to be returned as 'c:\openIB\gen1\trunk\ulp\ipoib' suitable for removal - not the intent.
stansmith [Tue, 27 Jan 2009 18:46:28 +0000 (18:46 +0000)]
[WinOF] updated clean-build.bat due to a problem with a cmd window in delete path can cause removal of src files. Updated version writes temp file with matched folders/files to delete.
makebin.bat mods to support rdmacm and rdmacm test pgms: ibv_rdma_lat.exe, ibv_rdma_bw.exe. Latest OFED diag tools.
leonidk [Sun, 25 Jan 2009 09:32:03 +0000 (09:32 +0000)]
[MLX4] added MSI-X support to MLX4 driver.
This patch adds MSI-X support to MLX4 driver.
To remind, current driver creates 2 EQs (for commands/events and completions), which both use 1 legacy interrupt.
With this patch MLX4 requests (in inf file) 18 MSI-X interrupt vectors, spreaded across processors in round-robin way.
If the platform doesn't support MSI-X vectors, the driver uses legacy interrupts.
MSI-X support required some changes in the card reset mechanism, which are also found in the patch.
leonidk [Sun, 25 Jan 2009 09:22:12 +0000 (09:22 +0000)]
[CORE] bugfix in debug prints. [mlnx: 3573]
On x86 platform casting expression like
(LONG_PTR)p_obj
doesn't increase the size of pointer.
As a result printf() function - driven by %I64 size modifier - takes the next parameter as a second part of the previous one.
It causes a corrupted print at least and a crash at most.
The patch replaces %I64Ix fixed-size format modifier by the variable-sized %p one.
shefty [Sat, 24 Jan 2009 19:58:23 +0000 (19:58 +0000)]
librdmacm: provide OFED compatibility library.
Provide a port of librdmacm.
Because of the use of overlapped structures and events, the library
has a scalability limitation of about 60 connections. The scalability limit will be addressed in a subsequent version, once the needs of a real application are determined.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1879 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
shefty [Sat, 24 Jan 2009 19:53:32 +0000 (19:53 +0000)]
The librdmacm uses the same devices that are usable with the libibverbs library.
Provide a method in libibverbs that allows librdmacm to use the same winverbs
provider as libibverbs.
Include fixes discovered testing the librdmacm port:
When a CQ is removed, its position in the completion channel is replaced by
the CQ at the end of the list, but the CQ that moves is not updated to
reflect its new location.
When a QP is created, we need to save the user's initial values before
querying for the QPN. Otherwise, the query call tries to access invalid data.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1878 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
shefty [Sat, 24 Jan 2009 19:49:59 +0000 (19:49 +0000)]
Update the winverbs interface and library to add support for connection
establishment. The implementation supports XP, 2003, and 2008. Because
kernel support for IP is lacking in XP and 2003, the winverbs userspace
library performs address and route resolution, rather than relying on the
kernel driver to perform those operations.
The interface for datagram support was updated to match that used for
connections, but datagram support is not implemented at this time.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1877 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
shefty [Sat, 24 Jan 2009 19:30:54 +0000 (19:30 +0000)]
Add support for connection establishment over IB through the winverbs kernel
driver. This depends on exporting the IB CM interface. Connections follow
the RDMA CM model.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1875 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
shefty [Sat, 24 Jan 2009 19:15:03 +0000 (19:15 +0000)]
ib/cm: export cm only interface
To support WinVerbs and a future OFED libibcm compatibility library (requires
a new library and driver), export a new IB CM interface. The interface sits
above the existing communication endpoint (CEP) manager. This allows the
interface to export only IB CM functionality.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1874 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86