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
stansmith [Thu, 22 Jan 2009 21:58:19 +0000 (21:58 +0000)]
[WinOF] unified msiexec cmd-line DGB=1 to use the same sDBG global for install & uninstall. Reworked dpinst_status() to intelligently output useful status information instead of assuming error only.
shefty [Tue, 20 Jan 2009 23:07:10 +0000 (23:07 +0000)]
winverbs.lib: remove from build
Removal of the listen.cpp and listen.h source files results in the winverbs library build breaking. The removal will occur, but it's only part of a patch to winverbs to handle listening. So, we either need to apply the rest of the patch or back out the changes to fix the build. Since the rest of the patch will be applied within the next couple of days, remove the library from the build until then.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1861 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
shefty [Tue, 20 Jan 2009 21:35:44 +0000 (21:35 +0000)]
mlx4u.dll: initialize qp pointer before use
We need to initialize the qp pointer to NULL to avoid accessing some random memory location when polling for completions. Without this, calls to mlx4_poll_cq_array() can crash in mlx4_poll_one().
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1859 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
shefty [Tue, 20 Jan 2009 21:34:40 +0000 (21:34 +0000)]
mthca/mlx4: add check to validate output data sizes
Only the hardware drivers know what size the output data buffer must be for ndi_modify_qp. Have the drivers verify that the provided data buffer is large enough.
This fixes a crash if (say, a buggy) userspace (library under development) does not provide a response buffer.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1858 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
shefty [Tue, 20 Jan 2009 21:32:45 +0000 (21:32 +0000)]
ibal: remove unneeded typedefs
al_qp.h defines typedefs that are only used later in the same file. Remove the typedefs and just define the functions inline. This also prevents a duplicate typedef (with different types).
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1857 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
stansmith [Mon, 19 Jan 2009 19:43:35 +0000 (19:43 +0000)]
[WinOF]
CustomActions.vbs
rewrote/cleanup device uninstall to use 'devman driverfiles' instead of guessing what files are installed for each driver.
Added msiexec.exe cmd-line arg DBG=1 for install & uninstall - provide debug insights to what's going on.
wof.wxs
Remove ibinstaller.dll references
Prep for WinOF 2.1 Release
Remove erroneous file dup/copy for files installed via driver .inf
README_release.txt & Release_notes.htm
Prep for WinOF 2.1 release.
aestrin [Mon, 19 Jan 2009 17:16:19 +0000 (17:16 +0000)]
[ipoib cm] fix for fragmented UDP packet. Don't check UDP packet size if it is fragmented. Fragment size of large UDP packet could be less than udp_hdr size and shouldn't fail. (Submitted by Alex Naslednikov <xalex@mellanox.co.il>)
leonidk [Sun, 18 Jan 2009 13:47:55 +0000 (13:47 +0000)]
[MLTHCA] added polling mode support.
This patch is a second part of a workaround, added in rev. 1800 for MLX4.
It adds polling mode support for MTHCA.
This is needed for example in the case, when interrupts stop to be conveyed to the driver for some HW problem.
(Xsigo saw such case).
This patch additionally "actualize" the workaround (by off-commenting #if WORKAROUND_POLL_EQ) to enable polling mode without re-building the drivers.
Signed-off-by: James Yang [jyang@xsigo.com]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1841 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86