]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
13 years agolibibumad: report port rate in Gbps
Sean Hefty [Mon, 13 Sep 2010 17:45:42 +0000 (17:45 +0000)]
libibumad: report port rate in Gbps

Port rate is currently reported as port speed, rather than in Gbps.

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

13 years ago[PERFTEST] Updated ibv_XXXX_bw/ ibv_XXXX_lat tools - updated according to the new...
Tzachi Dar [Mon, 13 Sep 2010 12:51:39 +0000 (12:51 +0000)]
[PERFTEST] Updated ibv_XXXX_bw/ ibv_XXXX_lat tools - updated according to the new Linux versions of them.
Signed off by: Irena

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

13 years ago[IBAL] added ca_guid field to the upper IBAL interface, which is returned in QUERY_IN...
Tzachi Dar [Mon, 13 Sep 2010 10:53:42 +0000 (10:53 +0000)]
[IBAL] added ca_guid field to the upper IBAL interface, which is returned in QUERY_INTERFACE request.
Signed off by leonid.

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

13 years ago[ipoib] Fix a macro.
Tzachi Dar [Mon, 13 Sep 2010 10:44:17 +0000 (10:44 +0000)]
[ipoib] Fix a macro.

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

13 years ago[osmtest] Use the normal convention for the version.
Tzachi Dar [Sun, 12 Sep 2010 08:02:08 +0000 (08:02 +0000)]
[osmtest] Use the normal convention for the version.

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

13 years ago[BRANCHES] remove old version of opensm
Stan Smith [Fri, 10 Sep 2010 20:46:58 +0000 (20:46 +0000)]
[BRANCHES] remove old version of opensm

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

13 years ago[DAPL2] UCM DAPL provider - go quietly during async event processing.
Stan Smith [Fri, 10 Sep 2010 20:41:13 +0000 (20:41 +0000)]
[DAPL2] UCM DAPL provider - go quietly during async event processing.

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

13 years ago[WIX] target_path cmd-line arg was not correctly processed; make it so.
Stan Smith [Fri, 10 Sep 2010 20:39:32 +0000 (20:39 +0000)]
[WIX] target_path cmd-line arg was not correctly processed; make it so.

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

13 years ago[OFED] correct typos and svn versions for winOFED 2.3 RC1
Stan Smith [Fri, 10 Sep 2010 20:38:37 +0000 (20:38 +0000)]
[OFED] correct typos and svn versions for winOFED 2.3 RC1

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

13 years ago[WIX] target path cmd-line arg was not processed correctly; make it so within limitat...
Stan Smith [Fri, 10 Sep 2010 20:36:06 +0000 (20:36 +0000)]
[WIX] target path cmd-line arg was not processed correctly; make it so within limitations of .bat script set cmd.

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

13 years ago[OFED] winOFED 2.3 RC1
Stan Smith [Thu, 9 Sep 2010 18:55:17 +0000 (18:55 +0000)]
[OFED] winOFED 2.3 RC1

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

13 years ago[WIX] remove winmad registry entry on winOFED uninstall.
Stan Smith [Thu, 9 Sep 2010 18:51:29 +0000 (18:51 +0000)]
[WIX] remove winmad registry entry on winOFED uninstall.

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

13 years ago[winOFED] update with svn 2904, 2905 commits.
Stan Smith [Thu, 9 Sep 2010 18:18:55 +0000 (18:18 +0000)]
[winOFED] update with svn 2904, 2905 commits.

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

13 years ago[DAPL] remove outdated DAPL v1 tree; not clear why this showed up when Trunk\ was...
Stan Smith [Thu, 9 Sep 2010 17:56:28 +0000 (17:56 +0000)]
[DAPL] remove outdated DAPL v1 tree; not clear why this showed up when Trunk\ was branched, as it is not in the trunk?

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

13 years agowinverbs: use export/import function appropriately
Sean Hefty [Thu, 9 Sep 2010 16:58:48 +0000 (16:58 +0000)]
winverbs: use export/import function appropriately

Winverbs defines WvGetObject that users must invoke to obtain the winverb provider interface.  WvGetObject is defined in the header files as dllexport, but callers require dllimport.  The winverbs sources file already defines EXPORT_WV_SYMBOLS that is intended to distinguish if we are really trying to export or import WvGetObject. Update winverbs.h to support dllimport for clients including
winverbs directly.

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

13 years agowinmad: check return value of read/writefile
Sean Hefty [Thu, 9 Sep 2010 16:48:44 +0000 (16:48 +0000)]
winmad: check return value of read/writefile

When performing synchronous operation, we need to check the return value of ReadFile/WriteFile before calling GetOverlappedResult.  Otherwise GetOverlappedResult can hang.

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

13 years agogit-svn-id: svn://openib.tc.cornell.edu/gen1@2903 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
Stan Smith [Thu, 9 Sep 2010 16:29:07 +0000 (16:29 +0000)]
git-svn-id: svn://openib.tc.cornell.edu/gen1@2903 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

13 years ago[WIX] install DAPL 32-bit binaries in SysWow64 on 64-bit systems.
Stan Smith [Wed, 8 Sep 2010 23:14:12 +0000 (23:14 +0000)]
[WIX] install DAPL 32-bit binaries in SysWow64 on 64-bit systems.
Install DAPL UCM (Unreliable Datagram Connection Manager) as part of DAPL runtime package.

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

13 years ago[OFED] correct typo in cmd name.
Stan Smith [Tue, 7 Sep 2010 20:52:53 +0000 (20:52 +0000)]
[OFED] correct typo in cmd name.

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

13 years ago[IPOIB_NDIS6_CM] Fix an NDIS6 bad address length problem 1st addressed in svn.commit...
Stan Smith [Tue, 7 Sep 2010 20:43:12 +0000 (20:43 +0000)]
[IPOIB_NDIS6_CM] Fix an NDIS6 bad address length problem 1st addressed in svn.commit 2878.

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

13 years ago[IPOIB_NDIS6_CM] remove duplicated line.
Stan Smith [Tue, 7 Sep 2010 20:40:27 +0000 (20:40 +0000)]
[IPOIB_NDIS6_CM] remove duplicated line.

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

13 years ago[OPENSM] prevent pointer data truncation loss by using portable data type which is...
Stan Smith [Tue, 7 Sep 2010 20:31:56 +0000 (20:31 +0000)]
[OPENSM] prevent pointer data truncation loss by using portable data type which is 32/64 bit aware.

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

13 years ago[etc] Fix whitespaces in comments.
Tzachi Dar [Mon, 6 Sep 2010 15:44:30 +0000 (15:44 +0000)]
[etc] Fix whitespaces in comments.

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

13 years ago[ibal] Add support for more operations on ib_types.h
Tzachi Dar [Mon, 6 Sep 2010 15:23:57 +0000 (15:23 +0000)]
[ibal] Add support for more operations on ib_types.h

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

13 years ago[IBBUS] fix BSOD during WHQL's "Pnpdtest with concurrent IO in parallel with DevPathE...
Tzachi Dar [Mon, 6 Sep 2010 15:21:18 +0000 (15:21 +0000)]
[IBBUS] fix BSOD during WHQL's "Pnpdtest with concurrent IO in parallel with DevPathExer" (mlnx 5186)
This test runs in parallel 3 tests: pnpdtest, pwrtest and devpathexer.
pwrtest unload/load the driver while pnpdtest send various requests.
BSOD was caused by Device Query Location PnP request to IpoIB PDO, which crashed, because bus_port_mgr has not yet managed acquire HCA.

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

13 years ago[OFED\WIX] check for WIX required files prior to compiling. Include WIX/OFA graphics
Stan Smith [Thu, 2 Sep 2010 20:04:44 +0000 (20:04 +0000)]
[OFED\WIX] check for WIX required files prior to compiling. Include WIX/OFA graphics

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

13 years agowinmad: clear overlapped structures
Sean Hefty [Thu, 2 Sep 2010 18:48:33 +0000 (18:48 +0000)]
winmad: clear overlapped structures

Currently winmad does not support byte offset reads and writes.  However, if we ever want to support that feature, than we need to specify an offset of 0 for current operations to avoid backwards compatibility issues.

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

13 years agowinmad: close handle for read and write events
Sean Hefty [Thu, 2 Sep 2010 17:54:07 +0000 (17:54 +0000)]
winmad: close handle for read and write events

Rather than closing the write event handle twice, close the read handle, which was the intent.

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

13 years ago[mthca] Fix a typo.
Tzachi Dar [Thu, 2 Sep 2010 08:38:49 +0000 (08:38 +0000)]
[mthca] Fix a typo.

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

13 years ago[IBAL] Improve error printing.
Tzachi Dar [Thu, 2 Sep 2010 08:14:42 +0000 (08:14 +0000)]
[IBAL] Improve error printing.

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

13 years ago[ibal] Remove a white space.
Tzachi Dar [Thu, 2 Sep 2010 08:10:09 +0000 (08:10 +0000)]
[ibal] Remove a white space.

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

13 years ago[ibal] Pass only the parameter that is essential for this function.
Tzachi Dar [Thu, 2 Sep 2010 08:01:59 +0000 (08:01 +0000)]
[ibal] Pass only the parameter that is essential for this function.

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

13 years ago[IBAL] remove unnecessary ASSERT.
Tzachi Dar [Thu, 2 Sep 2010 07:20:48 +0000 (07:20 +0000)]
[IBAL] remove unnecessary ASSERT.
Signed off by: Leonid

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

13 years ago[DAPL2] update to OFED 1.5.2 (DAPL 2.0.30) builds for all OS/arch combinations.
Stan Smith [Wed, 1 Sep 2010 22:12:54 +0000 (22:12 +0000)]
[DAPL2] update to OFED 1.5.2 (DAPL 2.0.30) builds for all OS/arch combinations.

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

13 years agodapl: change ib_addr to rdma_ib_addr
Sean Hefty [Wed, 1 Sep 2010 21:15:13 +0000 (21:15 +0000)]
dapl: change ib_addr to rdma_ib_addr

The librdmacm changed the name of struct ib_addr to struct rdma_ib_addr.  Update dapl to use the new name.  This fixes a build issue if DAPL_DBG is enabled.

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

13 years ago[IBBUS] g_stat: added threads for handling SET POWER IRP.
Tzachi Dar [Wed, 1 Sep 2010 12:19:31 +0000 (12:19 +0000)]
[IBBUS] g_stat: added threads for handling SET POWER IRP.
Signed off by: leonid

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

13 years ago[mthca] Remove livefish support.
Tzachi Dar [Wed, 1 Sep 2010 10:25:12 +0000 (10:25 +0000)]
[mthca] Remove livefish support.

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

13 years ago[IBAL] This memory leak was found while running with driver verifier. (mlnx 5187)
Tzachi Dar [Wed, 1 Sep 2010 10:19:21 +0000 (10:19 +0000)]
[IBAL] This memory leak was found while running with driver verifier. (mlnx 5187)

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

13 years ago[IBAL] Add an assert to check cases where cl_obj_dref is causing a destroy of the...
Tzachi Dar [Wed, 1 Sep 2010 08:59:40 +0000 (08:59 +0000)]
[IBAL] Add an assert to check cases where cl_obj_dref is causing a destroy of the object without destroy being called first. (mlnx 6401)

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

13 years ago[IPOIB_NDIS6_CM] DHCP: fix for Linux interop
Stan Smith [Tue, 31 Aug 2010 17:21:43 +0000 (17:21 +0000)]
[IPOIB_NDIS6_CM] DHCP: fix for Linux interop
The format of Client Identifier Field (CID) was changed.

/* The CID will contain of:
 CID[0] = DHCP_OPT_CLIENT_ID == 61
 CID[1] = coIPoIB_CID_Len == 22
 CID[2:13] = coIBDefaultDHCPPrefix; (Here CID[2] always == coIPoIB_HwTypeIB == 0xFF)
 CID[14:21] = GUID;
*/
Signed-off by: Alexander Naslednikov (xalex at mellanox.co.il)

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

13 years ago[MLX4] Added support for disabling PPF when PFs are running. [mlnx 5739]
Tzachi Dar [Tue, 31 Aug 2010 11:54:59 +0000 (11:54 +0000)]
[MLX4] Added support for disabling PPF when PFs are running. [mlnx 5739]
Signed off by: leonid

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

13 years ago[ipoib] ipoib - recv processing takes too much time in DPC
Tzachi Dar [Mon, 30 Aug 2010 12:30:19 +0000 (12:30 +0000)]
[ipoib] ipoib -  recv processing takes too much time in DPC

When processing of receive packet, the function stays in DPC too much time. In win2008 the OS throws an assert warning that too much time is spent in DPC and it may affect the system.

The fix is to move the receive processing to a workitem. The IPOIB give-up after some time and return to process receive packet in workitem. that allows other DPCs and workitems too run in parallel.

commit 6315 in svn://mtls50/svn.wininf/branches/MLNX_WinOF-2_1_2

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

13 years ago[IPOIB_NDIS6_CM] enhance wc linking loop performance by removing array index calculat...
Stan Smith [Thu, 26 Aug 2010 22:43:42 +0000 (22:43 +0000)]
[IPOIB_NDIS6_CM] enhance wc linking loop performance by removing array index calculations.
reformat a comment to prevent line wrap.

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

13 years ago[IPOIB,IPOIB_NDIS6_CM]
Stan Smith [Thu, 26 Aug 2010 22:22:58 +0000 (22:22 +0000)]
[IPOIB,IPOIB_NDIS6_CM]
Fixing the bug when NDIS sends OID_GEN_NETWORK_LAYER_ADDRESSES with the list of new addresses with invalid formatting (happened when AddressCount =5)

NDIS sends NETWORK_ADDRESS_LIST structure, which contains an array of NETWORK_ADDRESS structures of variable size. The calculation of the next address offset is based on AddressLength;  in a case when this field contains wrong data, one can get access violation error

Signed-off by: Alexander Naslednikov (xalex at mellanox.co.il)

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

13 years ago[WIX] include librdmacm\include\rdma\rdma_verbs.h header file in the OFED_SDK install...
Stan Smith [Wed, 25 Aug 2010 21:34:26 +0000 (21:34 +0000)]
[WIX] include librdmacm\include\rdma\rdma_verbs.h header file in the OFED_SDK install feature.

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

13 years ago[WIX] <simplify> condense OS specific SymStor folders into a single SymStor folder...
Stan Smith [Wed, 25 Aug 2010 21:24:22 +0000 (21:24 +0000)]
[WIX] <simplify> condense OS specific SymStor folders into a single SymStor folder; losing OS\SymStor and OS\Installers folders.

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

13 years ago[WIX] whitespace correction (tab --> spaces)
Stan Smith [Wed, 25 Aug 2010 21:18:19 +0000 (21:18 +0000)]
[WIX] whitespace correction (tab --> spaces)

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

13 years ago[opensm] Better handle bad command line parameters.
Tzachi Dar [Wed, 25 Aug 2010 11:12:54 +0000 (11:12 +0000)]
[opensm] Better handle bad command line parameters.

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

13 years agolibrdmacm: update to API version 1.0.13
Sean Hefty [Tue, 17 Aug 2010 16:04:23 +0000 (16:04 +0000)]
librdmacm: update to API version 1.0.13

- Support for synchronous operation
- Operational PD and CQ parameters
- New rdma_getaddrinfo functionality to support future
  changes for IB ACM
- New simple client / server test apps.

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

13 years ago[IPOIB_NDIS6_CM] simplify/clarify the IPOIB_INLINE_RECV conditionals by separating...
Stan Smith [Mon, 9 Aug 2010 20:27:47 +0000 (20:27 +0000)]
[IPOIB_NDIS6_CM] simplify/clarify the IPOIB_INLINE_RECV conditionals by separating out only the different items; enhances readability/understanding of the code.
No Functionality changes!

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

13 years ago[IPOIB_NDIS6_CM] restore IRQL on error exit.
Stan Smith [Wed, 4 Aug 2010 16:19:33 +0000 (16:19 +0000)]
[IPOIB_NDIS6_CM] restore IRQL on error exit.

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

13 years ago[IPOIB_NDIS6_CM] white-space (tabstop=4 & line length(85)) alignments, spelling corre...
Stan Smith [Tue, 3 Aug 2010 20:53:56 +0000 (20:53 +0000)]
[IPOIB_NDIS6_CM] white-space (tabstop=4 & line length(85)) alignments, spelling corrections; no functionality changes.

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

13 years ago[IPOIB_NDIS6_CM] remove outdated (pre-WDK) build constructs
Stan Smith [Tue, 3 Aug 2010 16:34:23 +0000 (16:34 +0000)]
[IPOIB_NDIS6_CM] remove outdated (pre-WDK) build constructs

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

13 years ago[IPOIB_NDIS6_CM] white-space (tabstop=4 & line length(85)) alignments; no functionali...
Stan Smith [Tue, 3 Aug 2010 16:32:47 +0000 (16:32 +0000)]
[IPOIB_NDIS6_CM] white-space (tabstop=4 & line length(85)) alignments; no functionality changes.

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

13 years agond2: convert ND MR flags to WV flags
Sean Hefty [Wed, 28 Jul 2010 17:42:44 +0000 (17:42 +0000)]
nd2: convert ND MR flags to WV flags

Provide conversions for missing ND MR flags.

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

13 years agond2: remove linking with C runtime lib
Sean Hefty [Wed, 28 Jul 2010 17:24:54 +0000 (17:24 +0000)]
nd2: remove linking with C runtime lib

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

13 years agond2: simplify ND provider creation
Sean Hefty [Wed, 28 Jul 2010 17:22:00 +0000 (17:22 +0000)]
nd2: simplify ND provider creation

Remove the CNDClassFactory implementation and instead create
ND provider objects directly in DllGetClassObject().

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

13 years agond2: determine when it's safe to unload the library
Sean Hefty [Wed, 28 Jul 2010 17:15:38 +0000 (17:15 +0000)]
nd2: determine when it's safe to unload the library

Count the number of provider instances to know when it's
safe to unload the library.

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

13 years agond2: pass affinity information into SRQ init
Sean Hefty [Tue, 27 Jul 2010 22:27:14 +0000 (22:27 +0000)]
nd2: pass affinity information into SRQ init

Carry processor affinity information through to Init call, so it's available when supported by winverbs.

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

13 years agond2: pass affinity information to CQ init
Sean Hefty [Tue, 27 Jul 2010 22:26:12 +0000 (22:26 +0000)]
nd2: pass affinity information to CQ init

Carry processor affinity information through to Init call, so it's available when supported by winverbs.

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

13 years agond2: implement qp flush
Sean Hefty [Tue, 27 Jul 2010 22:25:07 +0000 (22:25 +0000)]
nd2: implement qp flush

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

13 years agond2: set initial QP attributes for pkey and port
Sean Hefty [Tue, 27 Jul 2010 22:24:24 +0000 (22:24 +0000)]
nd2: set initial QP attributes for pkey and port

Assign default values for the pkey and port.  These can
change during later QP transitions if needed.

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

13 years agond2: add SRQ support for 32-bit library
Sean Hefty [Tue, 27 Jul 2010 22:23:27 +0000 (22:23 +0000)]
nd2: add SRQ support for 32-bit library

The SRQ receive code assumes that ND_SGE can map
to a WV_SGE.  This is only true for 64-bit platforms.
A 32-bit library must convert ND_SGE to WV_SGE.  The
ND_SGE size varies based on the build; WV_SGE is a fixed
size for all platforms.

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

13 years agond2: conver use of SGE to Sge
Sean Hefty [Tue, 27 Jul 2010 22:22:42 +0000 (22:22 +0000)]
nd2: conver use of SGE to Sge

The latest ND spec uses Sge instead of SGE.  Update the
internal use of SGE to match.

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

13 years agond2: implement MR overlap calls
Sean Hefty [Tue, 27 Jul 2010 22:20:46 +0000 (22:20 +0000)]
nd2: implement MR overlap calls

Track overlapped registration requests and cancel them independently from the winverbs protection domain.

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

13 years agond2: move up check against query length
Sean Hefty [Tue, 27 Jul 2010 22:19:37 +0000 (22:19 +0000)]
nd2: move up check against query length

Check that the length of pInfo is large enough before
dereferencing it.

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

13 years agond2: set file completion notification mode
Sean Hefty [Tue, 27 Jul 2010 22:18:29 +0000 (22:18 +0000)]
nd2: set file completion notification mode

Add an Init() call to the NDProvider in order to report
failure during initialization.  Set the winverbs file handle
completion notification mode according to the latest ND spec.

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

13 years agowinverbs: define cachable memory access flag
Sean Hefty [Tue, 27 Jul 2010 22:17:06 +0000 (22:17 +0000)]
winverbs: define cachable memory access flag

Define a flag that can indicate if memory registration is
allowed to be cachable.

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

13 years agond2: use private heap
Sean Hefty [Tue, 27 Jul 2010 22:15:04 +0000 (22:15 +0000)]
nd2: use private heap

Replace the use of the application heap with a private heap.

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

13 years agond2: update provider APIs to match latest spec
Sean Hefty [Tue, 27 Jul 2010 22:10:02 +0000 (22:10 +0000)]
nd2: update provider APIs to match latest spec

This updates the implementation to match the latest ndspi.h header file.  Changes include:

- Functions that return an interface take a REFIID as input and return VOID** rather than IND**
- Functions that take an interface as input use IUnknown* rather than IND*
- SGE became Sge
- A few acronyms are now spelled out.
- A couple new functions were defined, and parameters added in a couple places.

No significant functionality is added.

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

13 years agolibibnetdisc: fix cast in unmarshall16
Sean Hefty [Mon, 26 Jul 2010 18:45:06 +0000 (18:45 +0000)]
libibnetdisc: fix cast in unmarshall16

Uri Habusha reported a build error on windows as a result of an incorrect cast to uint64_t.

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

14 years agowinverbs: fix memory violation in SRQ code
Sean Hefty [Mon, 19 Jul 2010 18:03:59 +0000 (18:03 +0000)]
winverbs: fix memory violation in SRQ code

Problem reported by Shiqing Fan:

"I got a memory violation error in wv_srq.cpp Query() function around line 202. It seems using uninitialized verbsData.output_size for memcpy. The verbsData.input_size is initialized in WvPreQueryQp (wvuverbs.cpp), and it has a similar memcpy in this function too."

wv_uverbs.cpp should initialize the output_size to 0 in all
WvPre* calls.

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

14 years agolibibverbs: remove _errno include from verbs.h
Sean Hefty [Tue, 13 Jul 2010 17:20:20 +0000 (17:20 +0000)]
libibverbs: remove _errno include from verbs.h

verbs.h is intended to be included directly by applications.  Since _errno.h is a linux header file abstraction, move its use internal to libibverbs.  This avoids issues if the user includes errno.h directly and matches the use on Linux.

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

14 years agolibibverbs: remove duplicate wc status values
Sean Hefty [Tue, 13 Jul 2010 17:15:45 +0000 (17:15 +0000)]
libibverbs: remove duplicate wc status values

Several ibv_wc_status values map to the same winverbs wc status values.  This causes an error if the ibv_wc_status values are referenced in a switch statement.  Replace the duplicated values with constants, so every wc status value is unique.

Since the wc status values are mapped from the provider library, the duplicated values are not used anyway.

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

14 years ago[WIX] added infiniband\sa.h as part of the IB SDK feature.
Stan Smith [Mon, 12 Jul 2010 20:58:23 +0000 (20:58 +0000)]
[WIX] added infiniband\sa.h as part of the IB SDK feature.

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

14 years agodapl/scm: fix debug build
Sean Hefty [Fri, 2 Jul 2010 17:11:56 +0000 (17:11 +0000)]
dapl/scm: fix debug build

sources file linkes to free version of winverbs, rather than the debug version.

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

14 years agoFix memory leak of temprary CQ attribute buffer in CAdapter::Query.
Fab Tillier [Fri, 2 Jul 2010 01:59:33 +0000 (01:59 +0000)]
Fix memory leak of temprary CQ attribute buffer in CAdapter::Query.

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

14 years agodapl: update to commit 455e9d6d0aeb753a9ecb4a130b0b237e1ffd4146
Sean Hefty [Thu, 1 Jul 2010 04:07:23 +0000 (04:07 +0000)]
dapl: update to commit 455e9d6d0aeb753a9ecb4a130b0b237e1ffd4146

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

14 years agolibibverbs: update interfaces to 1.1.12
Sean Hefty [Wed, 30 Jun 2010 17:51:23 +0000 (17:51 +0000)]
libibverbs: update interfaces to 1.1.12

libibverbs interfaces are at 1.1.8.  Update to 1.1.12.

This converts some enum's in the API to int's, plus adds definitions for path record data to a new header file (for windows anyway), sa.h.

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

14 years agocomplib/user: fix timer race conditions
Sean Hefty [Tue, 29 Jun 2010 19:33:05 +0000 (19:33 +0000)]
complib/user: fix timer race conditions

This serializes the callbacks for a timer and provides synchronization for multi-threaded timer usage.

cl_timer_stop is not allowed to be called from a timer callback, and will block until any callback has completed.  (Technically, this should work, but it is not supported.)

cl_timer_start simply calls cl_timer_trim

cl_timer_trim changes the timeout of a queued timer if the new timeout time is less than the last set timeout.

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

14 years ago complib/timer: fix race accessing timer fields
Sean Hefty [Tue, 29 Jun 2010 19:31:07 +0000 (19:31 +0000)]
 complib/timer: fix race accessing timer fields

The timeout_time field of cl_timer_t is modified in the timer callback function and also in calls to cl_timer_start, cl_timer_stop, and cl_timer_trim.  The user cannot protect against the changes made in the timer callback function, so the timer must provide this protection itself.

Provide serialization to prevent multiple timer callbacks to the user at once.

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

14 years ago[OFED] correct comments.
Stan Smith [Fri, 25 Jun 2010 23:46:04 +0000 (23:46 +0000)]
[OFED] correct comments.

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

14 years ago[WIX] !x86 arch - Install 32-bit DAPL libraries directly into SysWOW64\ instead of...
Stan Smith [Fri, 25 Jun 2010 23:45:03 +0000 (23:45 +0000)]
[WIX] !x86 arch - Install 32-bit DAPL libraries directly into SysWOW64\ instead of %ProgramFiles%\OFED\.

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

14 years ago[WIX] use new name system_files.inc to setup system32 & syswow64
Stan Smith [Fri, 25 Jun 2010 23:43:01 +0000 (23:43 +0000)]
[WIX] use new name system_files.inc to setup system32 & syswow64

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

14 years ago[WIX] rename system32_files.inc --> system_files.inc to reflect both system32\ &...
Stan Smith [Fri, 25 Jun 2010 23:40:48 +0000 (23:40 +0000)]
[WIX] rename system32_files.inc --> system_files.inc to reflect both system32\ & sysWow64\ files.

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

14 years agoetc\pkgwo: add opensm and missing diags to winmad package
Sean Hefty [Fri, 25 Jun 2010 18:57:10 +0000 (18:57 +0000)]
etc\pkgwo: add opensm and missing diags to winmad package

Include opensm, osmtest, ibnetdiscover, saquery, and ibtrapgen in the winmad package.

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

14 years ago[WIX] Incorporate WIX DirRef construct to simplify wix files (installed folder struct...
Stan Smith [Thu, 24 Jun 2010 16:20:07 +0000 (16:20 +0000)]
[WIX] Incorporate WIX DirRef construct to simplify wix files (installed folder structure defined in a single file; much easier to understand overall structure).
Additionally install .dlls in %SystemRoot%\system32 instead of %SystemRoot%.

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

14 years ago[CORE] Fix the race at IRP cancellation mechanism
Leonid Kelly [Thu, 24 Jun 2010 09:43:35 +0000 (09:43 +0000)]
[CORE] Fix the race at IRP cancellation mechanism

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

14 years agolibibumad: fix handling of receive timeouts
Sean Hefty [Wed, 23 Jun 2010 22:40:05 +0000 (22:40 +0000)]
libibumad: fix handling of receive timeouts

If the user calls receive with a timeout, the receive will
be posted, then the user will wait on an event until either
the receive completes or times out.  If the wait times out,
an attempt is made to cancel the pending receive.  However,
a MAD could be received between the wait timing out and
the completion of the cancel.  To handle this, we need to
check the return status after the cancel to see if the
cancel succeeded.

This fixes a problem with ibnetdiscover hanging.

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

14 years ago[DOCS] updated OpenSM discussion to reflect OpenSM 3.3.6
Stan Smith [Wed, 23 Jun 2010 20:58:35 +0000 (20:58 +0000)]
[DOCS] updated OpenSM discussion to reflect OpenSM 3.3.6

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

14 years ago[OPENSM] OpenSM 3.3.6 - see changlog files for details.
Stan Smith [Wed, 23 Jun 2010 20:55:36 +0000 (20:55 +0000)]
[OPENSM] OpenSM 3.3.6 - see changlog files for details.

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

14 years ago[OFED] script to build a single .msi installer based on OS & arch qualifiers.
Stan Smith [Wed, 23 Jun 2010 20:41:41 +0000 (20:41 +0000)]
[OFED] script to build a single .msi installer based on OS & arch qualifiers.

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

14 years ago[OFED] add Arch qualifier to makebin.bat, adjust buildrelease.bat to use it.
Stan Smith [Wed, 23 Jun 2010 20:32:35 +0000 (20:32 +0000)]
[OFED] add Arch qualifier to makebin.bat, adjust buildrelease.bat to use it.

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

14 years ago[OFED] update build process to use latest WDK version 7600.16385.1
Stan Smith [Mon, 21 Jun 2010 19:26:59 +0000 (19:26 +0000)]
[OFED] update build process to use latest WDK version 7600.16385.1

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

14 years agolibibumad: fixes for opensm
Sean Hefty [Mon, 21 Jun 2010 18:42:58 +0000 (18:42 +0000)]
libibumad: fixes for opensm

Fix struct user_mad to align the grh_valid field with winmad.  Provide conversion functions to switch GRH data between umad and winmad when GRH data is in use.

Set errno correctly in case of failures.

Finally, cancel overlapped requests if receive or poll time out to prevent reusing those structures.

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

14 years agoibal: set timeout and retry values for RMPP messages
Sean Hefty [Mon, 21 Jun 2010 18:35:04 +0000 (18:35 +0000)]
ibal: set timeout and retry values for RMPP messages

Define default timeout and retry values for RMPP response messages if none are provided by the user.

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

14 years agowinmad: fixup return values and zero allocated mad master
Sean Hefty [Tue, 15 Jun 2010 17:04:28 +0000 (17:04 +0000)]
winmad: fixup return values and zero allocated mad

Winmad simply returns the status values defined by IBAL.  Convert those values into winmad define status values and align those values with errno.  This matches the expectations of libibumad.

As part of the cleanup, convert the check for success from IB_SUCCESS to IB_WCS_SUCCESS.  Both are defined as 0, so there's no functional change,but the mad status is a 'work completion status' value, not an API status value.

Finally, return the correct status value when canceling a read request.

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

14 years agoupdate ib-mgmt_class_vers
Sean Hefty [Tue, 8 Jun 2010 23:50:01 +0000 (23:50 +0000)]
update ib-mgmt_class_vers

Update libibmad, libibnetdisc, and ib-diags to the management.git tree commit 4a55423059e76ccba95aed36dd256510082b1e27

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

14 years agolibibumad: add new link_layer field
Sean Hefty [Tue, 8 Jun 2010 21:29:50 +0000 (21:29 +0000)]
libibumad: add new link_layer field

Update libibumad to include a link_layer field as part of the port structure.  This updates the definition to match linux and is needed for the ib-diag port.

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

14 years ago[OPENSM] commit 3.3.6 opensm for review/testing
Stan Smith [Wed, 2 Jun 2010 23:52:47 +0000 (23:52 +0000)]
[OPENSM] commit 3.3.6 opensm for review/testing

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