shefty [Thu, 15 Jan 2009 06:59:53 +0000 (06:59 +0000)]
libibverbs: save QP parameters before query
ibv_qp_create does not set QP values until after ibv_qp_query has been called to obtain the QPN. However, ibv_qp_query assumes that the values have been set.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1827 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
stansmith [Tue, 13 Jan 2009 23:56:51 +0000 (23:56 +0000)]
[UMAD] removed readme.txt file as the Windows libumad implementation is indeed a Windows specific implementation - I was confused when the readme.txt was comitted.
leonidk [Tue, 13 Jan 2009 11:31:42 +0000 (11:31 +0000)]
[IBBUS] remove unused files
The patch removes ib_bus.cdf, ib_bus32.cdf and ib_bus.inx files.
They are not used anymore since ibbus is now a filter driver.
ib_bus.cdf content moved to mthca.cdf & mlx4_hca.cdf, ib_bus.inx content moved to mthca.inx & mlx4_hca.inx.
stansmith [Thu, 8 Jan 2009 00:36:50 +0000 (00:36 +0000)]
[WinOF] When requested, start the local OpenSM service immediately after loading HCA driver in order for the later IOU driver to correctly load; Server 2003/XP64 problem observed such that IOU driver fails to load if OpenSM has not setup IOU/IOC prior to IOU driver load via devcon; dpinst.exe works find due to driver store.
Removed some unused code in CustomActions.vbs
stansmith [Mon, 5 Jan 2009 19:53:57 +0000 (19:53 +0000)]
[WinOF] Support Winmad.dll, libibverbs.dll, libibumad.dll, ibverbs symbols(.pdb files).
winverbs installed by default.
Linux OFED SRP target recognized when SRP installed.
For Server 2008 & Vista - dpinst.exe is used to install IOU, SRP & VNIC. Server 2003/XP use devman.exe.
aestrin [Wed, 24 Dec 2008 20:12:55 +0000 (20:12 +0000)]
[ipoib] cm. Fixed send completion routines handling error cases:
- for fragmented packets in UD completion only last fragment will have packet address set in wr_id.
- removed extra endpt dereference for CM completion routine.
leonidk [Wed, 17 Dec 2008 10:10:32 +0000 (10:10 +0000)]
[IBAL] compare TID based on user contolled area only
The current MAD processing code operates as follows when sending a request and trying to match a received response:
1. It saves the user's transaction ID (TID) to client_tid.
2. It clears the upper 32-bits of the TID.
3. It sets the upper 32-bits of the TID to an internal index.
4. It clears the upper 32-bits of a received response.
5. It tries to match the received response against client_tid.
Responses are only matched successfully if the user has already cleared the upper 32-bits of the TID before sending the MAD. It would be better to only match responses using the lower, user-controlled, 32-bits of the TID.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1794 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
leonidk [Wed, 17 Dec 2008 10:05:49 +0000 (10:05 +0000)]
[IBAL]use default LID of 1 for SA AV
The 'SA request' code creates an AV for the SA. It wants to use a default LID of 1, but does not byte-swap the value. Swap the value.
Because the AV is modified later to use the real SM LID, the value used here is irrelevant, but using a non-swapped value looks like a bug to anyone reading it.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1793 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
stansmith [Tue, 16 Dec 2008 21:28:27 +0000 (21:28 +0000)]
[WinVerbs.mthca] auto load WinVerbs+WinMad filter drivers when loading ConnectX HCA driver
Required additional files to be present in folder for correct install:
winverbs.sys
winverbs.dll
winverbsd.dll
winmad.sys
winmad.dll
winmadd.dll
WdfCoInstaller01007.dll
stansmith [Tue, 16 Dec 2008 21:27:32 +0000 (21:27 +0000)]
[WinVerbs.mlx4] auto load WinVerbs+WinMad filter drivers when loading ConnectX HCA driver
Required additional files to be present in folder for correct install:
winverbs.sys
winverbs.dll
winverbsd.dll
winmad.sys
winmad.dll
winmadd.dll
WdfCoInstaller01007.dll
stansmith [Tue, 16 Dec 2008 18:07:57 +0000 (18:07 +0000)]
[WinVerbs.mlx4] auto load WinVerbs+WinMad filter drivers when loading ConnectX HCA driver
Required additional files to be present in folder for correct install:
winverbs.sys
winverbs.dll
winverbsd.dll
WdfCoInstaller01007.dll
stansmith [Tue, 16 Dec 2008 17:46:42 +0000 (17:46 +0000)]
[WinVerbs.mthca] auto load WinVerbs+WinMad filter drivers when loading InfiniHost HCA driver
Required additional files to be present in folder for correct install:
winverbs.sys
winverbs.dll
winverbsd.dll
WdfCoInstaller01007.dll
stansmith [Fri, 12 Dec 2008 00:59:29 +0000 (00:59 +0000)]
[WinOF]
trunk\WinOF\WIX\{wlh,wnet,wxp}\*\wof.wxs
Enable ia64 ConnectX (mlx4) HCA support in WinOF Installs.
Setup winverbs.sys filter driver in WinOF\IBcore\
Winverbs[ibverbs.dll] OFED verbs & OFED test pgms (ibv_read_bs & friends) installed by default.
trunk\WinOF\WIX\CustomActions.vbs
Enable use of dpinst.exe for WLH variants; skip having to specify InfiniHost or ConnectX driver.
Server 2003/XP/XP64 still need to specify 'which' HCA driver (see below).
stansmith [Fri, 12 Dec 2008 00:57:21 +0000 (00:57 +0000)]
[WinOF,WinVerbs]
makebin.bat - support winverbs & libibverbs.dll (OFED API) install
etc\user\getopt.c - return '?' as error instead of EOF for missing option arg and other errors.
aestrin [Thu, 11 Dec 2008 23:05:27 +0000 (23:05 +0000)]
[ipoib] cm
- added local path reinit patch (merged from Fab's latest bug fix submitted).
- found missed local endpt removal from gids list during trunk merge.
- preserved ip_hdr ptr from being modified by chksum func.
- removed duplicate func.
aestrin [Sat, 6 Dec 2008 00:05:42 +0000 (00:05 +0000)]
[ipoib] CM
- added large multicast and ICMP packets fragmentation.
(each fragment utilises UD WR and all WRs chained to use one postsend per descriptor. Only Last WR set flag for completion).
- fixed some bugs,
- added changes from the trunk.
stansmith [Fri, 21 Nov 2008 22:15:36 +0000 (22:15 +0000)]
[WinOF] support dpinst.exe for WLH installs.
WLH wix files no longer require HCA type selection - let PNP load the correct driver.
start/wait msiexec /I WOF.msi /quiet # now works for either InfiniHost or ConnectX only on WLH.
To address dpinst not working well for WNET/XP, HCA device type override now possible via HCA=cx or HCA=+cx
start/wait msiexec /I WOF.msi /quiet HCA=cx # WNET/XP ConnectX HCA install from a single command line.
Support command line msiexec install for SRP or VNIC via SRP=1 and/or VNIC=1
start/wait msiexec /I WOF.msi /quiet SRP=1
Command line functionality documented in Release_notes.htm
WinOF WLH driver-less installs for HPC. Default WinOF install without .inf file processing, let WDM do driver installation.
start/wait msiexec /I WOF.msi /quiet NODRV=1
stansmith [Wed, 12 Nov 2008 23:26:20 +0000 (23:26 +0000)]
[WinOF] support default HCA device override for unattended connectX installs: msiexec /i Wof.msi HCA=mlx4
Support WinOF install on HPC compute nodes, do not install drivers: msiexec /i Wof.msi NODRV=1