]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
15 years agowinverbs.dll: retrieve socket information after binding
shefty [Tue, 20 Jan 2009 07:57:01 +0000 (07:57 +0000)]
winverbs.dll: retrieve socket information after binding

bind() does not return a socket's address and port number as output.  Call getsockname() to return the obtained port number.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1852 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs.dll: remove unused code.
shefty [Tue, 20 Jan 2009 07:55:30 +0000 (07:55 +0000)]
winverbs.dll: remove unused code.

Listening for connections was integrated with the endpoint code.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1851 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs: remove unused header file include
shefty [Tue, 20 Jan 2009 07:54:29 +0000 (07:54 +0000)]
winverbs: remove unused header file include

Listening for connections was integrated with the endpoint code.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1850 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agorping snapshot of work in progress.
shefty [Tue, 20 Jan 2009 07:52:35 +0000 (07:52 +0000)]
rping snapshot of work in progress.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1849 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibrdmacm: query for connect parameters when establishing connection
shefty [Tue, 20 Jan 2009 07:51:44 +0000 (07:51 +0000)]
librdmacm: query for connect parameters when establishing connection

When reporting an established event, return the private data in the RTU or REP to the user.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1848 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibibmad: update to latest OFED port.
shefty [Tue, 20 Jan 2009 07:49:59 +0000 (07:49 +0000)]
libibmad: update to latest OFED port.

Patches have still not been merged into main git tree.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1847 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agomlx4u.dll: initialize QP parameter
shefty [Tue, 20 Jan 2009 07:47:21 +0000 (07:47 +0000)]
mlx4u.dll: initialize QP parameter

Initialize QP parameter to NULL to prevent accessing an invalid memory region when polling for completions.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1846 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoperftest: add ibv_rdma_bw and ibv_rdma_lat
shefty [Tue, 20 Jan 2009 07:45:41 +0000 (07:45 +0000)]
perftest: add ibv_rdma_bw and ibv_rdma_lat

Add port of additional RDMA performance tests.  Both tests will use the RDMA CM to establish connections (-c option).

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1845 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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

git-svn-id: svn://openib.tc.cornell.edu/gen1@1844 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib cm] fix for fragmented UDP packet. Don't check UDP packet size if it is fragme...
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>)

git-svn-id: svn://openib.tc.cornell.edu/gen1@1843 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] Soft Reset: (bugfix in error flow) handling a case when MLX4_BUS fails during...
leonidk [Sun, 18 Jan 2009 16:11:56 +0000 (16:11 +0000)]
[MLX4] Soft Reset: (bugfix in error flow) handling a case when MLX4_BUS fails during restart after reset. [mlnx: 3557]

Soft Reset mechanism is used only in Ethernet mode of ConnectX HCA.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1842 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLTHCA] added polling mode support.
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

15 years ago[MLX4] added resource info to MLX4U.DLL
leonidk [Sun, 18 Jan 2009 13:43:26 +0000 (13:43 +0000)]
[MLX4] added resource info to MLX4U.DLL

git-svn-id: svn://openib.tc.cornell.edu/gen1@1840 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] This patch adds rc file to mlx4u[d].dll.
leonidk [Sun, 18 Jan 2009 13:42:56 +0000 (13:42 +0000)]
[MLX4] This patch adds rc file to mlx4u[d].dll.

Signed-off-by: Reuven Amitai
git-svn-id: svn://openib.tc.cornell.edu/gen1@1839 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] This patch loads winverbs and winmad as filter drivers for mlx4_hca and mthca
leonidk [Sun, 18 Jan 2009 12:47:00 +0000 (12:47 +0000)]
[MLX4] This patch loads winverbs and winmad as filter drivers for mlx4_hca and mthca

Signed off by stan.smith@intel.com

git-svn-id: svn://openib.tc.cornell.edu/gen1@1838 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] patches for loading winverbs and winmad as filter drivers for mlx4: 3 of 3
leonidk [Sun, 18 Jan 2009 12:25:05 +0000 (12:25 +0000)]
[MLX4] patches for loading winverbs and winmad as filter drivers for mlx4: 3 of 3

Signed off by stan.smith@intel.com

git-svn-id: svn://openib.tc.cornell.edu/gen1@1837 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MTHCA] patches for loading winverbs and winmad as filter drivers for mthca: 2 of...
leonidk [Sun, 18 Jan 2009 12:21:03 +0000 (12:21 +0000)]
[MTHCA] patches for loading winverbs and winmad as filter drivers for mthca: 2 of 3 - file: mthca32.cdf

Signed off by stan.smith@intel.com

git-svn-id: svn://openib.tc.cornell.edu/gen1@1836 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinmad: add missing mad_osd.h
shefty [Thu, 15 Jan 2009 18:25:55 +0000 (18:25 +0000)]
winmad: add missing mad_osd.h

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1835 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinmad: add missing mad_osd.h
shefty [Thu, 15 Jan 2009 18:25:44 +0000 (18:25 +0000)]
winmad: add missing mad_osd.h

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1834 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibibmad: updated based on merge feedback
shefty [Thu, 15 Jan 2009 07:31:36 +0000 (07:31 +0000)]
libibmad: updated based on merge feedback

Latest set of changes to libibmad to support both Windows and Linux.  Changes have not yet been accepted back into the main git tree.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1833 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoib-diags: initial port of IB diagnostic tools
shefty [Thu, 15 Jan 2009 07:24:33 +0000 (07:24 +0000)]
ib-diags: initial port of IB diagnostic tools

Only select tools ported yet.  Changes have not yet been merged into main git tree.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1832 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibibmad: updates based on linux merge feedback
shefty [Thu, 15 Jan 2009 07:20:54 +0000 (07:20 +0000)]
libibmad: updates based on linux merge feedback

All changes are still waiting to merge into main git tree.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1831 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibrdmacm: add to build
shefty [Thu, 15 Jan 2009 07:04:14 +0000 (07:04 +0000)]
librdmacm: add to build

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1830 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agocmatose: fix miscounting send/receive completions
shefty [Thu, 15 Jan 2009 07:03:20 +0000 (07:03 +0000)]
cmatose: fix miscounting send/receive completions

Because send and receive completions go to the same CQ, it's possible to process receive completions when we're looking for sends.  The receive completions will  be counted as sends and essentially lost as receives, resulting in hangs polling the CQ.  Fix this by separating sends and receives into their own CQs.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1829 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibrdmacm: indicate if a connection was rejected based on the return code.
shefty [Thu, 15 Jan 2009 07:00:38 +0000 (07:00 +0000)]
librdmacm: indicate if a connection was rejected based on the return code.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1828 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibibverbs: save QP parameters before query
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

15 years agowinverbs: save reject private data to return to user
shefty [Thu, 15 Jan 2009 06:56:57 +0000 (06:56 +0000)]
winverbs: save reject private data to return to user

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1826 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs: clear QP attributes to ensure all values are set when querying
shefty [Thu, 15 Jan 2009 06:51:41 +0000 (06:51 +0000)]
winverbs: clear QP attributes to ensure all values are set when querying

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1825 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs: define rejected status code
shefty [Thu, 15 Jan 2009 06:49:44 +0000 (06:49 +0000)]
winverbs: define rejected status code

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1824 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib cm] missed upper limit adjustment for xfer_block_size (submitted by Alex Nasle...
aestrin [Wed, 14 Jan 2009 16:59:01 +0000 (16:59 +0000)]
[ipoib cm] missed upper limit adjustment for xfer_block_size (submitted by Alex Naslednikov).

git-svn-id: svn://openib.tc.cornell.edu/gen1@1823 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[tools] Remove coinstaller
reuven [Wed, 14 Jan 2009 09:14:35 +0000 (09:14 +0000)]
[tools] Remove coinstaller

The coinstaller is not needed anymore as IBAL moved to be a filter driver.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1822 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoUpdate to svn 1820
shefty [Wed, 14 Jan 2009 08:07:47 +0000 (08:07 +0000)]
Update to svn 1820

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1821 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs: rdma cm support added
shefty [Wed, 14 Jan 2009 07:13:12 +0000 (07:13 +0000)]
winverbs: rdma cm support added

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1820 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[UMAD] removed readme.txt file as the Windows libumad implementation is indeed a...
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.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1819 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] added README.txt which explains how to setup the WIX toolset.
stansmith [Tue, 13 Jan 2009 23:24:17 +0000 (23:24 +0000)]
[WinOF] added README.txt which explains how to setup the WIX toolset.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1818 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib cm]
aestrin [Tue, 13 Jan 2009 13:45:56 +0000 (13:45 +0000)]
[ipoib cm]
- ICMP should be sent through RC. ( noticed by Alex Naslednikov ).
- fixed a typo.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1817 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[IBBUS] remove unused files
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.

Signed-off-by: Reuven Amitai (reuven@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1@1816 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MTHCA] patches for loading winverbs and winmad as filter drivers for mthca: 1 of...
leonidk [Tue, 13 Jan 2009 11:22:43 +0000 (11:22 +0000)]
[MTHCA] patches for loading winverbs and winmad as filter drivers for mthca: 1 of 3 - file: mthca.cdf

Signed off by stan.smith@intel.com

git-svn-id: svn://openib.tc.cornell.edu/gen1@1815 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib] CM. merge with latest changes from the trunk.
aestrin [Mon, 12 Jan 2009 22:36:10 +0000 (22:36 +0000)]
[ipoib] CM. merge with latest changes from the trunk.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1814 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib]CM. adjust UD MTU based on actual port MTU if CM is enabled.
aestrin [Mon, 12 Jan 2009 22:31:34 +0000 (22:31 +0000)]
[ipoib]CM. adjust UD MTU based on actual port MTU if CM is enabled.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1813 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] removed IB_[CHK,FRE]_BLD_[IA64,x64,x86].bat as they are no longer used (repla...
stansmith [Fri, 9 Jan 2009 17:56:32 +0000 (17:56 +0000)]
[WinOF] removed IB_[CHK,FRE]_BLD_[IA64,x64,x86].bat as they are no longer used (replaced by etc\bldwo.bat)

git-svn-id: svn://openib.tc.cornell.edu/gen1@1812 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] When requested, start the local OpenSM service immediately after loading...
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

git-svn-id: svn://openib.tc.cornell.edu/gen1@1811 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[DOCS] document SRP uninstall issues with lingering SRP driver references and how...
stansmith [Thu, 8 Jan 2009 00:32:20 +0000 (00:32 +0000)]
[DOCS] document SRP uninstall issues with lingering SRP driver references and how to cleanly uninstall via diskpart.exe (WLH only).

git-svn-id: svn://openib.tc.cornell.edu/gen1@1810 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] document SRP install (OFED 1.4 target) & uninstall items of interest
stansmith [Tue, 6 Jan 2009 20:07:42 +0000 (20:07 +0000)]
[WinOF] document SRP install (OFED 1.4 target) & uninstall items of interest

git-svn-id: svn://openib.tc.cornell.edu/gen1@1809 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[LIBIBMAD] mirror OFED files in svn to assist Windows developers; see README.txt.
stansmith [Tue, 6 Jan 2009 20:04:43 +0000 (20:04 +0000)]
[LIBIBMAD] mirror OFED files in svn to assist Windows developers; see README.txt.
[LIBUMAD] added README.txt file to explain source mirror policy.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1808 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] Support Winmad.dll, libibverbs.dll, libibumad.dll, ibverbs symbols(.pdb files).
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.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1807 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] makebin.bat - include winmad, ibverbs & script Progress output(echo).
stansmith [Mon, 5 Jan 2009 19:42:58 +0000 (19:42 +0000)]
[WinOF] makebin.bat - include winmad, ibverbs & script Progress output(echo).

git-svn-id: svn://openib.tc.cornell.edu/gen1@1806 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[DOCS] document winverbs tools (ibv_devinfo, ibstat)
stansmith [Mon, 5 Jan 2009 19:33:41 +0000 (19:33 +0000)]
[DOCS] document winverbs tools (ibv_devinfo, ibstat)

git-svn-id: svn://openib.tc.cornell.edu/gen1@1805 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[IBMAD] build libibmad
stansmith [Mon, 5 Jan 2009 19:30:00 +0000 (19:30 +0000)]
[IBMAD] build libibmad

git-svn-id: svn://openib.tc.cornell.edu/gen1@1804 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib] restore last table until validation.
reuven [Mon, 29 Dec 2008 10:10:12 +0000 (10:10 +0000)]
[ipoib] restore last table until validation.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1803 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib] add guid2mac table instead of endless if statements.
tzachid [Thu, 25 Dec 2008 16:31:39 +0000 (16:31 +0000)]
[ipoib] add guid2mac table instead of endless if statements.
        Add full guid list of Mellanox HCAs cards.
Signed off by: Reuven@mellanox.co.il

git-svn-id: svn://openib.tc.cornell.edu/gen1@1802 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[IPoIB] Removing dead code.
tzachid [Thu, 25 Dec 2008 16:09:02 +0000 (16:09 +0000)]
[IPoIB] Removing dead code.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1801 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[mlx4] Add code that replaces interrupts with a thread that is polling.
tzachid [Thu, 25 Dec 2008 16:06:46 +0000 (16:06 +0000)]
[mlx4] Add code that replaces interrupts with a thread that is polling.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1800 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[etc] Replace recieve with receive.
tzachid [Thu, 25 Dec 2008 15:52:25 +0000 (15:52 +0000)]
[etc] Replace recieve with receive.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1799 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ibat] Decrease the time it takes to build the ibat lib.
tzachid [Thu, 25 Dec 2008 15:49:45 +0000 (15:49 +0000)]
[ibat] Decrease the time it takes to build the ibat lib.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1798 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib] cm. Fixed send completion routines handling error cases:
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.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1797 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[Winverbs/Winumad] _DEBUG_ --> DBG to enable (DEBUG) in file status
stansmith [Thu, 18 Dec 2008 22:28:28 +0000 (22:28 +0000)]
[Winverbs/Winumad] _DEBUG_ --> DBG to enable (DEBUG) in file status

git-svn-id: svn://openib.tc.cornell.edu/gen1@1796 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoWinMad driver and library.
shefty [Wed, 17 Dec 2008 20:27:48 +0000 (20:27 +0000)]
WinMad driver and library.
libibumad compatibility library.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1795 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[IBAL] compare TID based on user contolled area only
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

15 years ago[IBAL]use default LID of 1 for SA AV
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

15 years ago[WinVerbs.mthca] auto load WinVerbs+WinMad filter drivers when loading ConnectX HCA...
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

git-svn-id: svn://openib.tc.cornell.edu/gen1@1792 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinVerbs.mlx4] auto load WinVerbs+WinMad filter drivers when loading ConnectX HCA...
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

git-svn-id: svn://openib.tc.cornell.edu/gen1@1791 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinVerbs.mlx4] auto load WinVerbs+WinMad filter drivers when loading ConnectX HCA...
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

git-svn-id: svn://openib.tc.cornell.edu/gen1@1790 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinVerbs.mthca] auto load WinVerbs+WinMad filter drivers when loading InfiniHost...
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

git-svn-id: svn://openib.tc.cornell.edu/gen1@1789 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[IPoIB]: Fill in service level in MAC_TO_PATH output.
tzachid [Sun, 14 Dec 2008 02:47:22 +0000 (02:47 +0000)]
[IPoIB]: Fill in service level in MAC_TO_PATH output.
signed off by: Fab Tillier [ftillier@windows.microsoft.com]

git-svn-id: svn://openib.tc.cornell.edu/gen1@1788 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF]
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).

    Support cmd-line msiexec installs:
      start/wait msiexec /I WOF.msi /passive NODRV=1 #install defaults except drivers (WDM support)

      (Server 2003/Xp64/XP ONLY - ignored for WLH)
      start/wait msiexec /I WOF.msi /passive HCA=cx  # Install ConnectX driver instead of InfiniHost.
      start/wait msiexec /I WOF.msi /passive HCA=+cx  # Install ConnectX and InfiniHost HCA drivers.

      start/wait msiexec /I WOF.msi /passive HCA=SRP  # add SRP driver to default install.
      start/wait msiexec /I WOF.msi /passive HCA=VNIC  # add SRP driver to default install.

trunk\winof\buildrelease.bat
    Rearrange varible set(s) so 'clean' can 'rmdir WinOF\WIX\{wlh,wnet,wxp}\bin'.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1787 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF,WinVerbs]
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.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1786 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[TOOLS] fix a minor spacing typo.
stansmith [Fri, 12 Dec 2008 00:54:09 +0000 (00:54 +0000)]
[TOOLS] fix a minor spacing typo.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1785 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinVerbs] Added .rc files + mods to SOURCES to use .rc files.
stansmith [Fri, 12 Dec 2008 00:52:06 +0000 (00:52 +0000)]
[WinVerbs] Added .rc files + mods to SOURCES to use .rc files.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1784 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinVerbs] added .rc files to perftests; fixed missing hostname of '-h hostname'...
stansmith [Fri, 12 Dec 2008 00:42:33 +0000 (00:42 +0000)]
[WinVerbs] added .rc files to perftests; fixed missing hostname of '-h hostname' parsing.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1783 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib] cm
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.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1782 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibibumad: initial working library
shefty [Thu, 11 Dec 2008 21:35:06 +0000 (21:35 +0000)]
libibumad: initial working library

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1781 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinmad.dll: replace USE_NTDDL with USE_MTVCRT
shefty [Thu, 11 Dec 2008 21:34:13 +0000 (21:34 +0000)]
winmad.dll: replace USE_NTDDL with USE_MTVCRT

Allow printing within the library for debug purposes.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1780 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinmad: initial working kernel driver
shefty [Thu, 11 Dec 2008 21:32:27 +0000 (21:32 +0000)]
winmad: initial working kernel driver

git-svn-id: svn://openib.tc.cornell.edu/gen1@1779 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agobranch for opensm porting
reuven [Wed, 10 Dec 2008 13:25:24 +0000 (13:25 +0000)]
branch for opensm porting

git-svn-id: svn://openib.tc.cornell.edu/gen1@1778 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib] CM
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.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1777 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] reset upon driver unload. [mlnx: 3546]
leonidk [Thu, 27 Nov 2008 13:38:57 +0000 (13:38 +0000)]
[MLX4] reset upon driver unload. [mlnx: 3546]

The patch improves the behavior of mst (with _pci_conf0, after mst stop & start)

git-svn-id: svn://openib.tc.cornell.edu/gen1@1776 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MTHCA] bugfix in CMD interface: wait for GO bit before issuing command in polling...
leonidk [Thu, 27 Nov 2008 13:38:02 +0000 (13:38 +0000)]
[MTHCA] bugfix in CMD interface: wait for GO bit before issuing command in polling mode. [mlnx: 3313]

git-svn-id: svn://openib.tc.cornell.edu/gen1@1775 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[IBBUS] workaround for some problems with WHQL PnP test over IPoIB. [mlnx: 3535]
leonidk [Thu, 27 Nov 2008 13:37:02 +0000 (13:37 +0000)]
[IBBUS] workaround for some problems with WHQL PnP test over IPoIB. [mlnx: 3535]

git-svn-id: svn://openib.tc.cornell.edu/gen1@1774 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ALL] a fix to support debug print in Windows 2008. [mlnx: 3510]
leonidk [Thu, 27 Nov 2008 13:34:14 +0000 (13:34 +0000)]
[ALL] a fix to support debug print in Windows 2008. [mlnx: 3510]

git-svn-id: svn://openib.tc.cornell.edu/gen1@1773 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] fixed application crash in case of IOCTL failure. [mlnx:3498]
leonidk [Thu, 27 Nov 2008 13:29:24 +0000 (13:29 +0000)]
[MLX4] fixed application crash in case of IOCTL failure. [mlnx:3498]

git-svn-id: svn://openib.tc.cornell.edu/gen1@1772 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] Fixed QP memory leak, inserted in 1288 fix.
leonidk [Thu, 27 Nov 2008 13:25:33 +0000 (13:25 +0000)]
[MLX4] Fixed QP memory leak, inserted in 1288 fix.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1771 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] Fixed QP memory leak, inserted in 1288 fix.
leonidk [Thu, 27 Nov 2008 13:16:32 +0000 (13:16 +0000)]
[MLX4] Fixed QP memory leak, inserted in 1288 fix.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1770 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[opensm] Reduce the time needed to build opensm.
tzachid [Wed, 26 Nov 2008 08:59:38 +0000 (08:59 +0000)]
[opensm] Reduce the time needed to build opensm.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1769 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] support dpinst.exe for WLH installs.
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

git-svn-id: svn://openib.tc.cornell.edu/gen1@1768 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] use trunk\etc\bldwo.bat file instead of clunky etc\IB_*.bat file (will be...
stansmith [Fri, 21 Nov 2008 22:07:14 +0000 (22:07 +0000)]
[WinOF] use trunk\etc\bldwo.bat file instead of clunky etc\IB_*.bat file (will be removed ASAP).

git-svn-id: svn://openib.tc.cornell.edu/gen1@1767 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ND] match ND binaries used in WinOF 2.0
stansmith [Thu, 20 Nov 2008 23:06:18 +0000 (23:06 +0000)]
[ND] match ND binaries used in WinOF 2.0

git-svn-id: svn://openib.tc.cornell.edu/gen1@1766 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ipoib] Don't put multicast entries in the dlid lists.
tzachid [Sun, 16 Nov 2008 13:36:32 +0000 (13:36 +0000)]
[ipoib] Don't put multicast entries in the dlid lists.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1765 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] Make the bus driver to start at boot and as part of the NDIS group.
leonidk [Sun, 16 Nov 2008 12:35:00 +0000 (12:35 +0000)]
[MLX4] Make the bus driver to start at boot and as part of the NDIS group.

It is needed for PXE boot.

Signed-off-by: tzachid@mellanox.co.il
git-svn-id: svn://openib.tc.cornell.edu/gen1@1764 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] 2.0
stansmith [Thu, 13 Nov 2008 21:07:21 +0000 (21:07 +0000)]
[WinOF] 2.0

git-svn-id: svn://openib.tc.cornell.edu/gen1@1763 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] 2.0
stansmith [Thu, 13 Nov 2008 21:06:02 +0000 (21:06 +0000)]
[WinOF] 2.0

git-svn-id: svn://openib.tc.cornell.edu/gen1@1762 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MTHCA] 1361 fix added a bug: now all applications, creating QP with zero receive...
leonidk [Thu, 13 Nov 2008 17:41:17 +0000 (17:41 +0000)]
[MTHCA] 1361 fix added a bug: now all applications, creating QP with zero receive QP size, will fail with send completion error.

This patch fixes that.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1761 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MTHCA] 1361 fix added a bug: now all applications, creating QP with zero receive...
leonidk [Thu, 13 Nov 2008 17:40:16 +0000 (17:40 +0000)]
[MTHCA] 1361 fix added a bug: now all applications, creating QP with zero receive QP size, will fail with send completion error.

This patch fixes that.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1760 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] Changed WPP GUID, which was accidentally equal to a MTHCA.
leonidk [Thu, 13 Nov 2008 17:33:02 +0000 (17:33 +0000)]
[MLX4] Changed WPP GUID, which was accidentally equal to a MTHCA.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1759 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] Changed WPP GUID, which was accidently equal to a MTHCA.
leonidk [Thu, 13 Nov 2008 17:26:03 +0000 (17:26 +0000)]
[MLX4] Changed WPP GUID, which was accidently equal to a MTHCA.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1758 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[ETC] saving getopt.c with DOS End-Of-Line instead of Linux EOL
stansmith [Thu, 13 Nov 2008 01:52:04 +0000 (01:52 +0000)]
[ETC] saving getopt.c with DOS End-Of-Line instead of Linux EOL

git-svn-id: svn://openib.tc.cornell.edu/gen1@1757 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[DAPL2] minor documentation update for the .bat file.
stansmith [Thu, 13 Nov 2008 00:42:09 +0000 (00:42 +0000)]
[DAPL2] minor documentation update for the .bat file.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1756 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] script now understands trunk\WinOF instead of ..\branches\WinOF
stansmith [Thu, 13 Nov 2008 00:40:48 +0000 (00:40 +0000)]
[WinOF] script now understands trunk\WinOF instead of ..\branches\WinOF

git-svn-id: svn://openib.tc.cornell.edu/gen1@1755 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] cleaning house - move trunk\buildrelease.bat --> trunk\WinOF
stansmith [Wed, 12 Nov 2008 23:41:00 +0000 (23:41 +0000)]
[WinOF] cleaning house - move trunk\buildrelease.bat --> trunk\WinOF

git-svn-id: svn://openib.tc.cornell.edu/gen1@1754 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WinOF] complete moving branches\WinOF --> trunk.
stansmith [Wed, 12 Nov 2008 23:38:21 +0000 (23:38 +0000)]
[WinOF] complete moving branches\WinOF --> trunk.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1753 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86