]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
13 years ago[DAPL2] spawn test corrections.
Stan Smith [Fri, 22 Oct 2010 19:22:03 +0000 (19:22 +0000)]
[DAPL2] spawn test corrections.

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

13 years ago[AL] Populate the missing items from __ib_async_event_str[] such that ib_get_async_ev...
Stan Smith [Fri, 15 Oct 2010 21:35:51 +0000 (21:35 +0000)]
[AL] Populate the missing items from __ib_async_event_str[] such that ib_get_async_event_str() reports the correct string for the specified AE_xxx code.
Tested in building & validating winOFED 2.3 pre-RC5.
signed-off-by: stan smith <stan.smith@intel.com>

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

13 years ago[ALL] remove all .cdf driver files as they are no longer part of the build process...
Stan Smith [Fri, 15 Oct 2010 16:16:37 +0000 (16:16 +0000)]
[ALL] remove all .cdf driver files as they are no longer part of the build process (inf2cat replaces info in .cdf files) svn commit 2969.
Tested by building winOFED 2.3 RC5

signed-off-by: stan smith <stan.smith@intel.com>

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

13 years ago[WIX] Correct oversight in WinSock Direct install as disabled. When dperforming a...
Stan Smith [Fri, 15 Oct 2010 15:55:30 +0000 (15:55 +0000)]
[WIX] Correct oversight in WinSock Direct install as disabled. When dperforming a NODRV=1 (NO Drivers) install, installsp.exe was omitted as the IPoIB driver is not an installed feature.
Remove installsp.exe from IPoIB feature and include it with IB tools feature.

signed-off-by: stan smith <stan.smith@intel.com>

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

13 years ago[SRP] commit 2967 was incomplete, missed SunMicrosystems SRP dev IDs IBA\Cff00c690ep0...
Stan Smith [Fri, 15 Oct 2010 15:48:02 +0000 (15:48 +0000)]
[SRP] commit 2967 was incomplete, missed SunMicrosystems SRP dev IDs IBA\Cff00c690ep0108r0001 & IBA\Cff00c690ep0108
Rearranged Dev ID ordering to match pre-2967 commit ordering for clarity.

signed-off-by: stan smith <stan.smith@intel.com>

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

13 years ago[etc] Remove the cdf files that are not used in the build process any more.
Tzachi Dar [Sun, 10 Oct 2010 16:41:38 +0000 (16:41 +0000)]
[etc] Remove the cdf files that are not used in the build process any more.

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

13 years ago[OFED] winOFED 2.3 RC4 release setup - take 3.
Stan Smith [Fri, 8 Oct 2010 22:29:20 +0000 (22:29 +0000)]
[OFED] winOFED 2.3 RC4 release setup - take 3.

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

13 years ago[SRP] fix device ID recognition problem with SRPT target OpenSolaris B134.
Stan Smith [Fri, 8 Oct 2010 22:26:01 +0000 (22:26 +0000)]
[SRP] fix device ID recognition problem with SRPT target OpenSolaris B134.

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

13 years ago[OFED] winOFED 2.3 RC4 release setup - take 2.
Stan Smith [Thu, 7 Oct 2010 20:07:09 +0000 (20:07 +0000)]
[OFED] winOFED 2.3 RC4 release setup - take 2.

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

13 years ago[DOCS] document Winsock Direct install changes: winOFED default install will install...
Stan Smith [Thu, 7 Oct 2010 20:01:21 +0000 (20:01 +0000)]
[DOCS] document Winsock Direct install changes: winOFED default install will install WSD, although WSD is no longer enabled/started by default (use installsp.exe -i) to enable.

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

13 years ago[DOCS] document Winsock Direct install changes: winOFED default install will install...
Stan Smith [Thu, 7 Oct 2010 20:00:15 +0000 (20:00 +0000)]
[DOCS] document Winsock Direct install changes: winOFED default install will install WSD, although WSD is no longer enabled/started by default (use installsp.exe -i) to enable.

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

13 years ago[IPoIB_NDIS6_CM] The patch prevents race with BSOD when NDIS call receive callback...
Stan Smith [Thu, 7 Oct 2010 19:51:42 +0000 (19:51 +0000)]
[IPoIB_NDIS6_CM] The patch prevents race with BSOD when NDIS call receive callback of ipoib while
some ipoib global objects are under destruction (like p_adapter ->p_port).
It was tested by night regression run on IPoIB driver

Adding shutter_shut for Adapter Reset flow

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

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

13 years ago[IPoIB_NDIS6_CM] NDIS6 IPOIB had a problem with forwarding packets.
Stan Smith [Thu, 7 Oct 2010 19:41:10 +0000 (19:41 +0000)]
[IPoIB_NDIS6_CM] NDIS6 IPOIB had a problem with forwarding packets.
The packet would be sent with one fragment size with size 0. The hw would than refuse to send the packet.

signed-off-by: Tzachi Dar <tzachid@mellanox.co.il>

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

13 years ago[IPoIB_NDIS6_CM] remove stale comment from ipoib_send_desc_t.
Stan Smith [Thu, 7 Oct 2010 19:33:01 +0000 (19:33 +0000)]
[IPoIB_NDIS6_CM] remove stale comment from ipoib_send_desc_t.

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

13 years ago[IPOIB_NDIS6_CM] remove unreferenced struct element 'desc' from ipoib_send_mgr_t.
Stan Smith [Thu, 7 Oct 2010 15:38:30 +0000 (15:38 +0000)]
[IPOIB_NDIS6_CM] remove unreferenced struct element 'desc' from ipoib_send_mgr_t.

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

13 years ago[OFED] winOFED 2.3 RC4 setup
Stan Smith [Tue, 5 Oct 2010 22:52:32 +0000 (22:52 +0000)]
[OFED] winOFED 2.3 RC4 setup

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

13 years ago[WIX] forgot to 'add' before previous commit.
Stan Smith [Tue, 5 Oct 2010 22:36:25 +0000 (22:36 +0000)]
[WIX] forgot to 'add' before previous commit.

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

13 years ago[WIX] Cleanup network provider install references (new file common\network_providers...
Stan Smith [Tue, 5 Oct 2010 22:31:55 +0000 (22:31 +0000)]
[WIX] Cleanup network provider install references (new file common\network_providers.inc).

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

13 years ago[DAPL] fix recent commits so they actually build.
Stan Smith [Tue, 5 Oct 2010 22:16:31 +0000 (22:16 +0000)]
[DAPL] fix recent commits so they actually build.

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

13 years ago[DAPL] merge trunk commit #2954 for latest DAPL fixes.
Stan Smith [Mon, 4 Oct 2010 18:12:21 +0000 (18:12 +0000)]
[DAPL] merge trunk commit #2954 for latest DAPL fixes.

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

13 years agodapl: update
Sean Hefty [Mon, 4 Oct 2010 17:27:40 +0000 (17:27 +0000)]
dapl: update

update to git commit 8be031e229dfc6afcf7b637d2ea78e43048b7223, post 2.0.30

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

13 years ago[OFED] winOFED release 2.3 RC3 prep.
Stan Smith [Fri, 1 Oct 2010 17:01:22 +0000 (17:01 +0000)]
[OFED] winOFED release 2.3 RC3 prep.

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

13 years ago[IPoIB_NDIS6_CM] oops - checked in the wrong set of files for EndPoint initialization...
Stan Smith [Fri, 1 Oct 2010 16:56:14 +0000 (16:56 +0000)]
[IPoIB_NDIS6_CM] oops - checked in the wrong set of files for EndPoint initialization; this commits fixes commit 2951 (ipoib_endpt_create() needs p_port passed in).

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

13 years ago[IPoIB_NDIS6_CM] initialize IBAL pointer in Endpoint struct @ EP creation; initialize...
Stan Smith [Fri, 1 Oct 2010 15:50:52 +0000 (15:50 +0000)]
[IPoIB_NDIS6_CM] initialize IBAL pointer in Endpoint struct @ EP creation; initialize only in one place as IBAL ptr does not change over life of EP.

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

13 years ago[OFED] integrate trunk commits up to and including 2949
Stan Smith [Tue, 28 Sep 2010 22:51:18 +0000 (22:51 +0000)]
[OFED] integrate trunk commits up to and including 2949

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

13 years ago[core] Replace memory allocator with a memory allocator that works natively with...
Tzachi Dar [Tue, 28 Sep 2010 17:26:21 +0000 (17:26 +0000)]
[core] Replace memory allocator with a memory allocator that works natively with 0 bytes allocations

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

13 years ago[HCA] Prevent stack corruption
Leonid Kelly [Mon, 27 Sep 2010 19:32:11 +0000 (19:32 +0000)]
[HCA] Prevent stack corruption

In the case where umv_buf::command is FALSE, the else control segment is taken and a stack variable's address is stored by INIT_UDATA, to be written later in the call to alloc_pd.  The stack variable then goes out of scope, so the call to alloc_pd could corrupt the stack.

The fix uses the status local variable as temporary storage, as it is unused until after the call to alloc_pd.

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

13 years agolibrdmacm: validate user private data size
Sean Hefty [Wed, 22 Sep 2010 17:13:53 +0000 (17:13 +0000)]
librdmacm: validate user private data size

Check private data size to avoid overrunning the winverbs data buffer.

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

13 years ago[IPoIB_NDIS6_CM] stop leaking spin lock
Alex Naslednikov [Wed, 22 Sep 2010 09:40:52 +0000 (09:40 +0000)]
[IPoIB_NDIS6_CM] stop leaking spin lock
Signed-off by: Smith Stan

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

13 years ago[[IPoIB_NDIS6_CM] Spacing and tabulation - part II; no functionality changes
Alex Naslednikov [Wed, 22 Sep 2010 09:28:26 +0000 (09:28 +0000)]
[[IPoIB_NDIS6_CM] Spacing and tabulation - part II; no functionality changes

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

13 years ago[[IPoIB_NDIS6_CM] Spacing and tabulation; no functionality changes
Alex Naslednikov [Wed, 22 Sep 2010 09:26:18 +0000 (09:26 +0000)]
[[IPoIB_NDIS6_CM] Spacing and tabulation; no functionality changes

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

13 years ago[[IPoIB_NDIS6_CM] LSO bug fix
Alex Naslednikov [Tue, 21 Sep 2010 16:07:09 +0000 (16:07 +0000)]
[[IPoIB_NDIS6_CM] LSO bug fix

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

13 years ago[IPoIB_NDIS6_CM] Handling memory access violation at destroy when __port_init fails
Alex Naslednikov [Tue, 21 Sep 2010 16:05:11 +0000 (16:05 +0000)]
[IPoIB_NDIS6_CM] Handling memory access violation at destroy when __port_init fails

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

13 years ago[IPoIB_NDIS6_CM] [HW]
Alex Naslednikov [Tue, 21 Sep 2010 15:19:38 +0000 (15:19 +0000)]
[IPoIB_NDIS6_CM] [HW]
4K MTU support

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

13 years ago[IPoIB] [IPoIB_NDIS6_CM]
Alex Naslednikov [Tue, 21 Sep 2010 15:15:20 +0000 (15:15 +0000)]
[IPoIB] [IPoIB_NDIS6_CM]
Guids supported by several new vendors can’t be distinguished only by first 2 bytes.
This patch adds 3-rd byte of GUID to the translation table

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

13 years ago[IPoIB_NDIS6_CM]
Alex Naslednikov [Tue, 21 Sep 2010 14:47:23 +0000 (14:47 +0000)]
[IPoIB_NDIS6_CM]
Fix at statistic calculation

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

13 years ago[wsdinstall] Add support for user access control to the WSD installer.
Tzachi Dar [Tue, 21 Sep 2010 14:00:36 +0000 (14:00 +0000)]
[wsdinstall] Add support for user access control to the WSD installer.

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

13 years ago[perf_utils] Add more information in error printing.
Tzachi Dar [Tue, 21 Sep 2010 13:59:20 +0000 (13:59 +0000)]
[perf_utils] Add more information in error printing.

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

13 years ago[Tools]
Alex Naslednikov [Tue, 21 Sep 2010 12:42:46 +0000 (12:42 +0000)]
[Tools]
Change Peak BW calculation when the difference between post and completion is abnormal (avoid 1#J printings)
Merged from MLNX_WinOF 5894

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

13 years ago[IPoIB_NDIS6_CM]
Alex Naslednikov [Tue, 21 Sep 2010 12:16:38 +0000 (12:16 +0000)]
[IPoIB_NDIS6_CM]
Fixing a possible race when we get PORT_REMOVE before PORT_DOWN
Merged from MLNX_WinOF_2.1.25168

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

13 years ago[complib] Allow the timer to work with windows 2003. (mlnx 6543)
Tzachi Dar [Sun, 19 Sep 2010 12:18:34 +0000 (12:18 +0000)]
[complib] Allow the timer to work with windows 2003. (mlnx 6543)

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

13 years agogit-svn-id: svn://openib.tc.cornell.edu/gen1@2933 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
Stan Smith [Fri, 17 Sep 2010 17:10:51 +0000 (17:10 +0000)]
git-svn-id: svn://openib.tc.cornell.edu/gen1@2933 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

13 years ago[OPENSM] When creating the opensm database file directory, return an error if the...
Stan Smith [Thu, 16 Sep 2010 14:35:24 +0000 (14:35 +0000)]
[OPENSM] When creating the opensm database file directory, return an error if the actual createDirectory operation fails.

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

13 years ago[INC] increment minor # to reflect 2.'3' release
Stan Smith [Thu, 16 Sep 2010 14:30:32 +0000 (14:30 +0000)]
[INC] increment minor # to reflect 2.'3' release

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

13 years ago[WINVERBS/WINMAD] incorporate trunk commit 2928.
Stan Smith [Wed, 15 Sep 2010 16:53:01 +0000 (16:53 +0000)]
[WINVERBS/WINMAD] incorporate trunk commit 2928.

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

13 years ago[IPOIB] incorporate trunk commit svn.2927
Stan Smith [Wed, 15 Sep 2010 16:52:15 +0000 (16:52 +0000)]
[IPOIB] incorporate trunk commit svn.2927

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

13 years agowinverbs/winmad: check return value of DeviceIoControl
Sean Hefty [Wed, 15 Sep 2010 16:22:45 +0000 (16:22 +0000)]
winverbs/winmad: check return value of DeviceIoControl

We need to check the return value from DeviceIoControl before
calling GetOverlappedResult to avoid potential hangs.

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

13 years ago[IPoIB]
Alex Naslednikov [Wed, 15 Sep 2010 11:05:13 +0000 (11:05 +0000)]
[IPoIB]
DHCP fix (Linux-Windows interop). The patch caused by the change at Client Identifier (CID) format:
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;
*/

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

13 years ago[IPOIB] include trunk commit 2924
Stan Smith [Tue, 14 Sep 2010 16:35:25 +0000 (16:35 +0000)]
[IPOIB] include trunk commit 2924

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

13 years ago[MLX4] incorporate trunk commit #'s 2921, 2922
Stan Smith [Tue, 14 Sep 2010 16:13:11 +0000 (16:13 +0000)]
[MLX4] incorporate trunk commit #'s 2921, 2922

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

13 years ago[IPOIB_NDIS6_CM] prevent a UD IPOIB from falsely advertising a CM (Connected Mode...
Stan Smith [Tue, 14 Sep 2010 15:58:13 +0000 (15:58 +0000)]
[IPOIB_NDIS6_CM] prevent a UD IPOIB from falsely advertising a CM (Connected Mode) capability.

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

13 years ago[IPoIB]
Alex Naslednikov [Tue, 14 Sep 2010 09:26:45 +0000 (09:26 +0000)]
[IPoIB]
Removing the patch for the bug when NDIS sends OID_GEN_NETWORK_LAYER_ADDRESSES with the list of new addresses with invalid formatting from IPoIB based on NDIS5.

This patch is relevant only for Windows 2008 R2

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

13 years ago[MLX4] Fix ioremap to use consistent caching attribute
Leonid Kelly [Tue, 14 Sep 2010 09:22:20 +0000 (09:22 +0000)]
[MLX4] Fix ioremap to use consistent caching attribute

It's the missed file from the previous patch

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

13 years ago[MLX4] Fix ioremap to use consistent caching attribute
Leonid Kelly [Tue, 14 Sep 2010 09:21:23 +0000 (09:21 +0000)]
[MLX4] Fix ioremap to use consistent caching attribute

When mapping Blue Flame registers to user-mode, the UAR page is first mapped from I/O space to kernel-mode, then from kernel-mode to user-mode.  The mapping from I/O space uses the function ioremap, which is hard coded to use MmNonCached as the caching attribute.  The subsequent mapping to user-mode specifies MmWriteCombined.  On Windows Server 2008 R2, the memory manager catches the inconsistency and preserves the original MmNonCached attribute.  This leads to a 200-400% regression in small message latencies due to not write combining when writing the request to the blue flame register.

The following patch adds a caching type as a parameter to ioremap, changes all previous callers to specify MmNonCached except in __map_memory_for_user, which already took a caching type, in which case it forwards the caching type to ioremap.

With this patch, small message latency is identical on Windows Server 2008 and Windows Server 2008 R2.

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

13 years ago[winOFED] catch up to trunk 2919 commits.
Stan Smith [Mon, 13 Sep 2010 23:45:38 +0000 (23:45 +0000)]
[winOFED] catch up to trunk 2919 commits.

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

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