]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
15 years agolibibumad: match behavior of OFED libibumad wrt ca ports
shefty [Fri, 6 Mar 2009 22:33:11 +0000 (22:33 +0000)]
libibumad: match behavior of OFED libibumad wrt ca ports

The OFED version of libibumad stores a list of ports associated with a umad_ca_t differently based on whether the CA is on a host or is part of a switch.  On a host, the port information is maintained in the port array starting at index 1, not 0.  In this case, umad_ca_t:port[0] is NULL.  Update the WinOF version of libibumad to behave the same.  This fixes an issue with ibstat reporting 1 too many ports.

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

15 years agoperftest: allow server to support both IPv6 and IPv4
shefty [Fri, 6 Mar 2009 22:27:39 +0000 (22:27 +0000)]
perftest: allow server to support both IPv6 and IPv4

Changes based on Leonid's patch to add support for IPv6 and IPv4.  Allow the server to accept incoming connections from IPv6 and IPv4 clients.

Move connection handling code into common location to eliminate code duplication between perftest apps.

Signed-off-by: Leonid Keller <leonid@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2013 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[DAPL2] DAPL Counters & 2.0.3 extensions to support counter retrieval.
stansmith [Thu, 5 Mar 2009 22:36:58 +0000 (22:36 +0000)]
[DAPL2] DAPL Counters & 2.0.3 extensions to support counter retrieval.
dt-cli.bat - return error codes from script, use for() loop in regression test.
SOURCES - debug version get counters by default.

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

15 years ago[ipoib cm] fix for receive counters.
aestrin [Thu, 5 Mar 2009 15:06:43 +0000 (15:06 +0000)]
[ipoib cm] fix for receive counters.

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

15 years ago[HW] removed mthca_log.rc
leonidk [Thu, 5 Mar 2009 11:11:35 +0000 (11:11 +0000)]
[HW] removed mthca_log.rc

SVN maintains mthca_log.rc, but the build deletes it.  The result is that the mthca directory always shows changes after performing a build.

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

15 years agoib-diags: fix portnum being off by 1
shefty [Tue, 3 Mar 2009 21:17:59 +0000 (21:17 +0000)]
ib-diags: fix portnum being off by 1

Relevent fix has been submitted upstream, but apply this to svn until ib-diags are updated.

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

15 years agowinverbs branch: update to svn 2007
shefty [Tue, 3 Mar 2009 20:51:00 +0000 (20:51 +0000)]
winverbs branch: update to svn 2007

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

15 years ago[DAPL2] incorrect patches for Counters - unwind to svn.2004
stansmith [Tue, 3 Mar 2009 19:24:17 +0000 (19:24 +0000)]
[DAPL2] incorrect patches for Counters - unwind to svn.2004

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

15 years ago[WinOF]
stansmith [Tue, 3 Mar 2009 17:43:53 +0000 (17:43 +0000)]
[WinOF]
  buildrelease.bat - added sign only option
  build-all-MSI.bat - update comments and support 'sign' option
  README_release.txt - WinOF 2.1 beginnings
  Release_notes.htm - WinOF 2.1 beginnings

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

15 years ago[DAPL2] DAPL Counters 2.0.3 & extensions.
stansmith [Tue, 3 Mar 2009 17:38:47 +0000 (17:38 +0000)]
[DAPL2] DAPL Counters 2.0.3 & extensions.

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

15 years ago[ipoib cm] redirection flag could be left uninitialized for default IP packet.
aestrin [Tue, 3 Mar 2009 13:15:57 +0000 (13:15 +0000)]
[ipoib cm] redirection flag could be left uninitialized for default IP packet.

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

15 years ago[ipoib cm] fix for redirection of non-IP packets.
aestrin [Tue, 3 Mar 2009 13:10:42 +0000 (13:10 +0000)]
[ipoib cm] fix for redirection of non-IP packets.
Note: if destination endpoint is not connected large raw packets will be dropped.

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

15 years ago [mlx4] Fix error path on create qp.
tzachid [Tue, 3 Mar 2009 09:45:11 +0000 (09:45 +0000)]
 [mlx4] Fix error path on create qp.

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

15 years ago[mlx4] Fix our error handling in the case of hardware errors.
tzachid [Tue, 3 Mar 2009 08:43:28 +0000 (08:43 +0000)]
[mlx4] Fix our error handling in the case of hardware errors.

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

15 years agogetopt: return '?' if user wants an arg, but none is provided
shefty [Tue, 3 Mar 2009 01:05:53 +0000 (01:05 +0000)]
getopt: return '?' if user wants an arg, but none is provided

If the user specifies that an argument is required, but none is provided, return '?' as the option, rather than NULL as the optarg.  This fixes an issue if the last option specified in the option list requires an argument, but none is provided.

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

15 years agolibibumad: fix return value for RMPP handling
shefty [Tue, 3 Mar 2009 00:50:59 +0000 (00:50 +0000)]
libibumad: fix return value for RMPP handling

Return ENOSPC if the user provided buffer is smaller than the MAD to retrieve from the kernel.  This allows processing of MADs > 256 bytes.

Problem was found by running the saquery ib-diag with RMPP used to return fabric topology information.

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

15 years agoinfiniband-diags: replace ib-diags with latest
shefty [Tue, 3 Mar 2009 00:18:25 +0000 (00:18 +0000)]
infiniband-diags: replace ib-diags with latest

Replace the infiniband_diags port of ib-diags with a version that is in sync with the main management.git tree.  The infiniband-diags tree is current with
git commit 1f5fdf3dfc69733a427520198bcbdd03645bb326.  All executable ib-diags are supported.  (Perl scripts that parse the output are not ported.)

The infiniband-diags directory is a mirror of the infiniband-diags directory of my ib-mgmt.git tree.  This is a clone of the management.git tree, with a 1 line patch added to complete the port from Linux to Windows.

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

15 years agolibibmad: update to commit 1f5fdf3dfc69733a427520198bcbdd03645bb326
shefty [Mon, 2 Mar 2009 23:30:06 +0000 (23:30 +0000)]
libibmad: update to commit 1f5fdf3dfc69733a427520198bcbdd03645bb326

Needed update to exported function list.

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

15 years agoib_types: update SA attribute definitions
shefty [Mon, 2 Mar 2009 22:58:48 +0000 (22:58 +0000)]
ib_types: update SA attribute definitions

To support a direct port of the ib-diags (and eventually opensm), update ib_types.h so that the relevant definitions used by the diags match between OFED and WinOF.  The affected attributes are:

ib_path_rec
ib_vl_arb_element
ib_mad_notice_attr
ib_inform_info
ib_inform_info_record

Users of the attributes are updated accordingly.  In several cases, static inline accessor functions were provided in the ib_types.h header files that were not called by anything.  Rather than update all 29 of those functions, I simply deleted them.

The updates moved the path record attribute to match the 1.2.1 spec version.  The inform info attribute was updated to make it easier to use the structure.

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

15 years agocomplib: add cl_nodenamemap
shefty [Mon, 2 Mar 2009 22:10:14 +0000 (22:10 +0000)]
complib: add cl_nodenamemap

The ib-diags (and possible future opensm port) make use of a 'node name map' that was added to the OFED version of complib.  Add cl_nodenamemap to the WinOF version of complib.

This patch relies on the linux compatibility header patch.  The imported code is basically a direct import of the  OFED code, with an include file change.

This changes complib to using the MSV CRT DLL, rather than NT DLL.

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

15 years agolibibverbs/librdmacm: update calls to winverbs pkey interfaces
shefty [Mon, 2 Mar 2009 21:25:03 +0000 (21:25 +0000)]
libibverbs/librdmacm: update calls to winverbs pkey interfaces

Fixup calls to QueryPkey and FindPkey, which now take a UINT16 as the pkey index, rather than a DWORD.  Fixes a build warning for libibverbs and a build error for librdmacm.

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

15 years agoetc: add generic linux compatibility code
shefty [Sat, 28 Feb 2009 18:50:05 +0000 (18:50 +0000)]
etc: add generic linux compatibility code

To support the porting of OFED code, such as the infiniband-diags, provide a
set of linux compatible include files and functions.

This adds a set of header files under inc/user/linux so #include statements
in code will find them.  In some cases, the header files are blank, but in
others, they contain mappings between the linux calls and equivalent windows
calls.

Where more complex functionality is needed, source files are added under
etc/user to provide it, similar to what was done for getopt.

These headers and source files are used to support the OFED infiniband-diags
in the WinOF build environment.

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

15 years agoperftest: adjust performance counters for ridiculously long Vista time stamping
shefty [Sat, 28 Feb 2009 17:50:43 +0000 (17:50 +0000)]
perftest: adjust performance counters for ridiculously long Vista time stamping

Adjust time stamping to account for lengthy time stamps.  Only keep performance
data on the client side to avoid server time stamping overhead.  Extract out
common performance code into a new module that's included by all the perftests.

Problem was reported by Leonid.

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

15 years agowinverbs branch: update to trunk 1990
shefty [Wed, 25 Feb 2009 19:56:28 +0000 (19:56 +0000)]
winverbs branch: update to trunk 1990

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

15 years agowinverbs branch: mass collection of various changes...
shefty [Wed, 25 Feb 2009 19:30:29 +0000 (19:30 +0000)]
winverbs branch: mass collection of various changes...

Chnages to support ib-diags, perftest updates, and winverb fixes...  Changes will be broken out when submitting into trunk.

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

15 years agogetopt: add const to interface
shefty [Wed, 25 Feb 2009 19:27:09 +0000 (19:27 +0000)]
getopt: add const to interface

Add const to getopt argv argument, and allow getopt to be included by
c++.

This allows the ib-diags to call getopt without build warnings.

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

15 years agodocs: add 'trunk' to generate-patch command line
shefty [Wed, 25 Feb 2009 05:25:55 +0000 (05:25 +0000)]
docs: add 'trunk' to generate-patch command line

It's easier to generate patches if you can copy the command line directly out of the generate-patch.txt file.  So include 'trunk' in the path.

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

15 years agowinverbs/winmad: fix GetOverlappedResult return value
shefty [Tue, 24 Feb 2009 23:58:21 +0000 (23:58 +0000)]
winverbs/winmad: fix GetOverlappedResult return value

The GetOverlappedResults methods are supposed to return an HRESULT, but are returning a BOOL. This makes GetOverlappedResults return WV_SUCCESS when the underlying ::GetOverlappedResults failed.

This patch returns the NTSTATUS results (not the Win32 conversion thereof) so that the WV_STATUS values are returned (since these map to NTSTATUS values.)

Applied similar fix to winmad.  (-SH)

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

15 years agowinverbs/winmad: allow clients to use IOCPs
shefty [Tue, 24 Feb 2009 23:17:49 +0000 (23:17 +0000)]
winverbs/winmad: allow clients to use IOCPs

This patch allows clients to use IOCPs.  It sets the lower bit of the event used for synchronous IOCTLs to prevent their completion from being reported to the IOCP.

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

15 years agowinverbs: remove dependency on CRT
shefty [Tue, 24 Feb 2009 23:13:41 +0000 (23:13 +0000)]
winverbs: remove dependency on CRT

This patch removes the dependency on the CRT, avoiding any potential issues with mismatched CRTs (say a client app uses the single-threaded static version of the CRT while WinVerbs uses the multi-threaded DLL version.)

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

15 years agowinverbs: use consistent pkey index sizeof
shefty [Tue, 24 Feb 2009 23:12:47 +0000 (23:12 +0000)]
winverbs: use consistent pkey index sizeof

Use a pkey index size of UINT16 everywhere.

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

15 years agowinmad: fix crash and handle mads > 256 correctly
shefty [Tue, 24 Feb 2009 23:04:49 +0000 (23:04 +0000)]
winmad: fix crash and handle mads > 256 correctly

Fix crash if driver is loaded, but does not go active (power D0) before being unloaded.  Also handle mads > 256 bytes by checking against STATUS_SUCCESS, rather than for a successful status.  STATUS_MORE_ENTRIES is a successful status, but not what we're interested in.

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

15 years agoibat: speed up build.
shefty [Tue, 24 Feb 2009 23:02:43 +0000 (23:02 +0000)]
ibat: speed up build.

Remove platform SDK path from the include path to speed up the ibat build.
Clean up the sources file a little as long as we're in there.

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

15 years agoibat: use #ifdef to avoid including header multiple times
shefty [Tue, 24 Feb 2009 23:01:41 +0000 (23:01 +0000)]
ibat: use #ifdef to avoid including header multiple times

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

15 years agowinverbs branch: updated to support OFED ib-diags
shefty [Sun, 22 Feb 2009 06:14:57 +0000 (06:14 +0000)]
winverbs branch: updated to support OFED ib-diags

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

15 years ago[ipoib cm] bug fix. corrected return status code.
aestrin [Fri, 20 Feb 2009 13:52:01 +0000 (13:52 +0000)]
[ipoib cm] bug fix. corrected return status code.

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

15 years agowinverbs branch: sync with trunk
shefty [Wed, 18 Feb 2009 22:40:56 +0000 (22:40 +0000)]
winverbs branch: sync with trunk

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

15 years ago[ipoib cm] propagated missed changes from the trunk.
aestrin [Wed, 18 Feb 2009 13:13:14 +0000 (13:13 +0000)]
[ipoib cm] propagated missed changes from the trunk.
- patch rev. 1892 for OID_GEN_MAXIMUM_SEND_PACKETS.
- validate interface before dereferencing.

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

15 years agoinfiniband-diags: update to latest SVN
shefty [Tue, 17 Feb 2009 22:42:31 +0000 (22:42 +0000)]
infiniband-diags: update to latest SVN

Matches code based on patches submitted upstream.

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

15 years ago[WinOF] 2.0.2 release.
stansmith [Tue, 17 Feb 2009 21:07:57 +0000 (21:07 +0000)]
[WinOF] 2.0.2 release.

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

15 years ago[WinOF] 2.0.2 set svn.commit # tag
stansmith [Tue, 17 Feb 2009 20:57:15 +0000 (20:57 +0000)]
[WinOF] 2.0.2 set svn.commit # tag

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

15 years ago[WinOF] update release notes with Mellanox commit # & svn.commit #
stansmith [Tue, 17 Feb 2009 20:56:00 +0000 (20:56 +0000)]
[WinOF] update release notes with Mellanox commit # & svn.commit #

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

15 years ago[WinOF] rename branches\WOF2-0-1 --> WOF2-0-2
stansmith [Tue, 17 Feb 2009 18:57:44 +0000 (18:57 +0000)]
[WinOF] rename branches\WOF2-0-1 --> WOF2-0-2

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

15 years ago[WinOF] additional WHQL patches from trunk (svn.commit #)
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

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

15 years ago[mlx4] Add support for multiple use/loose operations.
tzachid [Mon, 16 Feb 2009 13:20:01 +0000 (13:20 +0000)]
[mlx4] Add support for multiple use/loose operations.

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

15 years ago[ipoib cm]
aestrin [Mon, 16 Feb 2009 12:59:22 +0000 (12:59 +0000)]
[ipoib cm]
- don't retransmit failed packets (RFC recommend)
- add missing failover_accept flag setup on CM passive side.

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

15 years ago[IBBUS] Fix debug build when WPP tracing is enabled.
leonidk [Mon, 16 Feb 2009 12:14:30 +0000 (12:14 +0000)]
[IBBUS] Fix debug build when WPP tracing is enabled.

When turning on WPP tracing in a debug build the bus driver build fails.  This fixes it.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1968 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[IBAL] Fix WPP trace previx for AL_PRINT
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

15 years ago[IBAL,WinVerbs] fix ib_get_err_str
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

15 years ago[IBBUS] added support for creating vendor defined devices.
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

15 years agowsdinstall: do not add SDK include files to include path
shefty [Sat, 14 Feb 2009 01:09:34 +0000 (01:09 +0000)]
wsdinstall: do not add SDK include files to include path

Avoid the build checking SDK include files for updates, which just makes things go really slow.

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

15 years agoib-diags: add smpdump
shefty [Sat, 14 Feb 2009 01:07:01 +0000 (01:07 +0000)]
ib-diags: add smpdump

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

15 years agolibibverbs: use errno.h to define posix errors and fix cast
shefty [Sat, 14 Feb 2009 01:06:07 +0000 (01:06 +0000)]
libibverbs: use errno.h to define posix errors and fix cast

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

15 years agolibibmad: sync with mgmt.git tree
shefty [Sat, 14 Feb 2009 01:04:22 +0000 (01:04 +0000)]
libibmad: sync with mgmt.git tree

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

15 years agoib-diags: re-porting of ib diag utilities
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

15 years ago[WinOF] update script comments to match actual script args.
stansmith [Fri, 13 Feb 2009 19:58:28 +0000 (19:58 +0000)]
[WinOF] update script comments to match actual script args.
signDrivers.bat now embedded signs .sys files for boot start drivers.

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

15 years ago[WinOF] CustomActions.vbs - remove /S switch from dpinst cmd-line as it suppresses...
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.

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

15 years ago[WinOF] install ibtracert, ibroute
stansmith [Fri, 13 Feb 2009 19:50:29 +0000 (19:50 +0000)]
[WinOF] install ibtracert, ibroute

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

15 years ago[ipoib cm] offload chksum flags handling updated.
aestrin [Fri, 13 Feb 2009 18:03:05 +0000 (18:03 +0000)]
[ipoib cm] offload chksum flags handling updated.

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

15 years agonetdirect: add framework for winverbs network direct provider
shefty [Thu, 12 Feb 2009 02:28:49 +0000 (02:28 +0000)]
netdirect: add framework for winverbs network direct provider

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

15 years ago[ipoib cm] adapter could be left in INIT state.
aestrin [Wed, 11 Feb 2009 16:50:28 +0000 (16:50 +0000)]
[ipoib cm] adapter could be left in INIT state.

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

15 years agolibibmad: update to commit 669083324cd5a43db5c865040c3a220cea8b496f
shefty [Wed, 11 Feb 2009 13:28:01 +0000 (13:28 +0000)]
libibmad: update to commit 669083324cd5a43db5c865040c3a220cea8b496f

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

15 years agodapl2: sync with OFED dapl
shefty [Wed, 11 Feb 2009 12:55:02 +0000 (12:55 +0000)]
dapl2: sync with OFED dapl

dapl2 directory now mirrors dapl.git tree, master branch.

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

15 years agoOFED compat libs: rework event handling
shefty [Wed, 11 Feb 2009 12:16:56 +0000 (12:16 +0000)]
OFED compat libs: rework event handling

Use event_channel abstraction to support more than 64 events.

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

15 years agoibat: avoid duplicate definitions if included multiple times
shefty [Wed, 11 Feb 2009 12:14:55 +0000 (12:14 +0000)]
ibat: avoid duplicate definitions if included multiple times

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

15 years agogetopt: add support for cpp
shefty [Wed, 11 Feb 2009 12:13:55 +0000 (12:13 +0000)]
getopt: add support for cpp

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

15 years agoibat: move include inside #defined
shefty [Wed, 11 Feb 2009 12:13:03 +0000 (12:13 +0000)]
ibat: move include inside #defined

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

15 years agoetc/getopt: return '?' if at end of input and needing an argument
shefty [Wed, 11 Feb 2009 12:11:44 +0000 (12:11 +0000)]
etc/getopt: return '?' if at end of input and needing an argument

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

15 years agoetc/event_channel: add event channel abstraction
shefty [Wed, 11 Feb 2009 12:10:17 +0000 (12:10 +0000)]
etc/event_channel: add event channel abstraction

Initial implementation to support any number of events on a single event channel.  Allows scaling beyond 64 events.

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

15 years agowsdinstall: remove build file from source tree
shefty [Wed, 11 Feb 2009 12:07:20 +0000 (12:07 +0000)]
wsdinstall: remove build file from source tree

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

15 years agogit-svn-id: svn://openib.tc.cornell.edu/gen1@1944 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
shefty [Wed, 11 Feb 2009 12:05:48 +0000 (12:05 +0000)]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1944 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoibat: allow build to proceed faster by removing unneeded includes
shefty [Wed, 11 Feb 2009 12:04:52 +0000 (12:04 +0000)]
ibat: allow build to proceed faster by removing unneeded includes

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

15 years ago[hw] Don't try to write to event log when there is no driver object
tzachid [Wed, 11 Feb 2009 10:49:02 +0000 (10:49 +0000)]
[hw] Don't try to write to event log when there is no driver object

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

15 years ago[mlx4] Fix error handling of mlx4_bus driver.
tzachid [Wed, 11 Feb 2009 10:32:07 +0000 (10:32 +0000)]
[mlx4] Fix error handling of mlx4_bus driver.

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

15 years ago[osmtest] Adding support for default guid selection when running osmtest.
tzachid [Wed, 11 Feb 2009 10:14:39 +0000 (10:14 +0000)]
[osmtest] Adding support for default guid selection when running osmtest.
Signed off by: xalex@mellanox.co.il

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

15 years ago[IPoIB] adapter could be left in INIT state.
tzachid [Wed, 11 Feb 2009 10:08:30 +0000 (10:08 +0000)]
[IPoIB] adapter could be left in INIT state.
signed off by: alex.estrin@qlogic.com

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

15 years ago[ipoib cm] send ICMP packets through UD path. Other option for linux counterpart...
aestrin [Tue, 10 Feb 2009 21:27:11 +0000 (21:27 +0000)]
[ipoib cm] send ICMP packets through UD path. Other option for linux counterpart seem confusing.

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

15 years ago[ipoib cm] offload chksum flags handling.
aestrin [Tue, 10 Feb 2009 12:38:11 +0000 (12:38 +0000)]
[ipoib cm] offload chksum flags handling.

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

15 years ago[IBDIAGS] adding ibtracert & ibroute to the build.
stansmith [Tue, 10 Feb 2009 01:53:01 +0000 (01:53 +0000)]
[IBDIAGS] adding ibtracert & ibroute to the build.

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

15 years ago[IBDIAG] sources whitespace cleanup & explicit complib & ibal libs
stansmith [Tue, 10 Feb 2009 01:35:48 +0000 (01:35 +0000)]
[IBDIAG] sources whitespace cleanup & explicit complib & ibal libs

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

15 years ago[IBMAD] export xdump() & smp_query_via()
stansmith [Tue, 10 Feb 2009 01:34:15 +0000 (01:34 +0000)]
[IBMAD] export xdump() & smp_query_via()

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

15 years ago[WInOF] final 2.0.1 cleanup
stansmith [Fri, 6 Feb 2009 21:54:05 +0000 (21:54 +0000)]
[WInOF] final 2.0.1 cleanup

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

15 years ago[WinOF] GA release for 2.0.1
stansmith [Fri, 6 Feb 2009 21:52:20 +0000 (21:52 +0000)]
[WinOF] GA release for 2.0.1

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

15 years ago[OPENSM] fixed build problem.
stansmith [Wed, 4 Feb 2009 17:56:23 +0000 (17:56 +0000)]
[OPENSM] fixed build problem.

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

15 years ago[OpenSM] patches for saquery porting - 6 of 6:
tzachid [Wed, 4 Feb 2009 15:26:22 +0000 (15:26 +0000)]
[OpenSM] patches for saquery porting - 6 of 6:
change osm_helper.c
Signed off by: stan.smith@intel.com

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

15 years ago[OpenSM] patches for saquery porting - 5 of 6:
tzachid [Wed, 4 Feb 2009 15:24:59 +0000 (15:24 +0000)]
[OpenSM] patches for saquery porting - 5 of 6:
change osm_sa_path_record.c
Signed off by: stan.smith@intel.com

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

15 years ago[OpenSM] patches for saquery porting - 4 of 6:
tzachid [Wed, 4 Feb 2009 15:23:03 +0000 (15:23 +0000)]
[OpenSM] patches for saquery porting - 4 of 6:
change osmtest.c
Signed off by: stan.smith@intel.com

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

15 years ago[OpenSM] patches for saquery porting - 3 of 6:
tzachid [Wed, 4 Feb 2009 15:20:41 +0000 (15:20 +0000)]
[OpenSM] patches for saquery porting - 3 of 6:
change osm_base.h
Signed off by: stan.smith@intel.com

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

15 years ago[OpenSM] patches for saquery porting - 2 of 6:
tzachid [Wed, 4 Feb 2009 15:17:04 +0000 (15:17 +0000)]
[OpenSM] patches for saquery porting - 2 of 6:
change winosm_common.h
Signed off by: stan.smith@intel.com

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

15 years agoOpenSM patches for saquery porting - 1 of 6:
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

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

15 years ago[IBDIAGS] make it buildable.
stansmith [Mon, 2 Feb 2009 19:44:49 +0000 (19:44 +0000)]
[IBDIAGS] make it buildable.

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

15 years ago[OSM] convert to Windows EOL format
stansmith [Fri, 30 Jan 2009 22:20:39 +0000 (22:20 +0000)]
[OSM] convert to Windows EOL format

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

15 years ago[WinOF] spelling typo in etc\clean-build.bat
stansmith [Fri, 30 Jan 2009 22:14:04 +0000 (22:14 +0000)]
[WinOF] spelling typo in etc\clean-build.bat
[ETC] getopt.c - change EOL char to Windows standard.
[IB-diags] add ibportstate, ibsysstat, saquery (alpha)

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

15 years ago[WinOF]
stansmith [Fri, 30 Jan 2009 22:03:02 +0000 (22:03 +0000)]
[WinOF]
   buildrelease.bat - cleanup error message
   CustomActions.vbs - use msgbox() title
   WIX_tools\README.txt - cleanup tools download explaination.

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

15 years ago[ipoib cm] necessary changes for ipoib cm
aestrin [Thu, 29 Jan 2009 23:27:25 +0000 (23:27 +0000)]
[ipoib cm] necessary changes for ipoib cm

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

15 years ago[ipoib cm] added cm payload mtu configurable parameter.
aestrin [Thu, 29 Jan 2009 19:49:18 +0000 (19:49 +0000)]
[ipoib cm] added cm payload mtu configurable parameter.

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

15 years ago[ipoib cm] revoked previous changes from revisions 1873, 1885. One preallocated send...
aestrin [Thu, 29 Jan 2009 19:39:06 +0000 (19:39 +0000)]
[ipoib cm] revoked previous changes from revisions 1873, 1885. One preallocated send descriptor is all that needed for large packets segmentation.

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

15 years ago[WinOF] It's good to correctly uninstall SRP.
stansmith [Thu, 29 Jan 2009 17:57:50 +0000 (17:57 +0000)]
[WinOF] It's good to correctly uninstall SRP.

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

15 years ago[WinOF] 2.0.1 synchronize svn commit #
stansmith [Wed, 28 Jan 2009 17:50:01 +0000 (17:50 +0000)]
[WinOF] 2.0.1 synchronize svn commit #

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

15 years ago[WinOF] 2.0.1 updates
stansmith [Wed, 28 Jan 2009 17:38:31 +0000 (17:38 +0000)]
[WinOF] 2.0.1 updates

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