]>
git.openfabrics.org - ~shefty/rdma-win.git/log
leonidk [Sun, 29 Jun 2008 16:09:57 +0000 (16:09 +0000)]
[tools] This patch removes XXX_PTR64 and TO_ULONG_PTR macro use from vstat.
Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1305
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
tzachid [Sun, 29 Jun 2008 13:52:24 +0000 (13:52 +0000)]
[tools] remove XXX_PTR64 and TO_ULONG_PTR macro use from perf tests.
Signed off: ftillier@windows.microsoft.com
git-svn-id: svn://openib.tc.cornell.edu/gen1@1304
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
tzachid [Sun, 29 Jun 2008 11:38:09 +0000 (11:38 +0000)]
[mlx4] Stop DPC from running for ever (mlnx: 2642)
git-svn-id: svn://openib.tc.cornell.edu/gen1@1303
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
tzachid [Sat, 28 Jun 2008 18:42:34 +0000 (18:42 +0000)]
[wsd] remove XXX_PTR64 and TO_ULONG_PTR macro use from WSD.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1302
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 27 Jun 2008 19:00:37 +0000 (19:00 +0000)]
updated based on feedback
git-svn-id: svn://openib.tc.cornell.edu/gen1@1301
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Wed, 25 Jun 2008 22:46:50 +0000 (22:46 +0000)]
[DAPL2] remove extraneous file
git-svn-id: svn://openib.tc.cornell.edu/gen1@1300
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 25 Jun 2008 05:30:56 +0000 (05:30 +0000)]
winverbs: fix crash on error
Fix null pointer dereference on initialization error.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1299
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 25 Jun 2008 05:29:46 +0000 (05:29 +0000)]
winverbs: fix inx file to support 64-bit OS installs
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1298
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 25 Jun 2008 05:28:54 +0000 (05:28 +0000)]
winverbs: move index_list to common location
Allow other drivers to use index_list. Relocate .c and .h file out of the winverb directory.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1297
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 25 Jun 2008 05:10:30 +0000 (05:10 +0000)]
bldwo: fix usage message to reference correct program name
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1296
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
tzachid [Mon, 23 Jun 2008 07:52:48 +0000 (07:52 +0000)]
[ibal] Fix an assert. [mlnx: 2610]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1295
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Sat, 21 Jun 2008 00:27:03 +0000 (00:27 +0000)]
[Core] fixed errant Default Data length when reading registry entry 'PartitionKey' and the key did not exist. Showed up as a BSOD crash when loading ibbus.sys on Server 2003 x86.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1294
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 20 Jun 2008 04:33:01 +0000 (04:33 +0000)]
winverbs: add '.' to '.dll' to form correct free build library extension
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1293
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 20 Jun 2008 04:32:14 +0000 (04:32 +0000)]
winverbs: add patch to fix uvp checks of ci_umv_buf p_inout_buf pointer
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1292
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 20 Jun 2008 04:31:26 +0000 (04:31 +0000)]
perftest: update prints
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1291
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 20 Jun 2008 04:27:54 +0000 (04:27 +0000)]
winverb/test: add test to query device attributes
Basic functionality test, only display port count for now.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1290
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Thu, 19 Jun 2008 17:52:36 +0000 (17:52 +0000)]
[HW, TOOLS] return system_image_guid
git-svn-id: svn://openib.tc.cornell.edu/gen1@1289
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
tzachid [Thu, 19 Jun 2008 15:04:36 +0000 (15:04 +0000)]
[mlx4] Add support for Ethernet. (mlnx: 2561)
git-svn-id: svn://openib.tc.cornell.edu/gen1@1288
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
tzachid [Thu, 19 Jun 2008 14:11:17 +0000 (14:11 +0000)]
[ipoib] mac generation from hp GUID.
Signed by: Anatoly Greenblatt
git-svn-id: svn://openib.tc.cornell.edu/gen1@1287
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 19 Jun 2008 05:52:38 +0000 (05:52 +0000)]
winverbs: fix deref to NULL pointer
If WdfCreateDevice is successful, then pinit is set to NULL. No need to clean it up later on an error.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1286
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Wed, 18 Jun 2008 21:54:54 +0000 (21:54 +0000)]
[WinOF] added common exit path with time stamp info (start & end times); curently takes about 15 minutes to compile, sign drivers and build installers on a 4P platform.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1285
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Wed, 18 Jun 2008 17:25:21 +0000 (17:25 +0000)]
[MTHCA] Ensure an Rx WQE is in memory before linking
Use a write memory barrier to ensure a WQE is written to memory
before linking it to the previous WQE.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1284
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 18 Jun 2008 04:59:31 +0000 (04:59 +0000)]
winverbs: rearm CQ if async operation returns IO pending
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1283
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 18 Jun 2008 04:58:03 +0000 (04:58 +0000)]
getopt: remove unneeded include files
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1282
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 18 Jun 2008 04:56:58 +0000 (04:56 +0000)]
libibverbs: align work completion status with ib_wc_status
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1281
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 18 Jun 2008 04:55:52 +0000 (04:55 +0000)]
winverbs: port of perftest
Port of most perftests from linux over libibverbs.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1280
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Wed, 18 Jun 2008 00:09:56 +0000 (00:09 +0000)]
[WinOF]
buildrelease.bat - added WIX .msi creation only option; assumes drivers are signed
etc\makebin.bat - don't copy Mx tools which have been removed from the build/svn
etc\clean-build.bat - delete build generated files to ensure a clean build.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1279
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 17 Jun 2008 23:24:18 +0000 (23:24 +0000)]
[WinOF]
missed x86\Command Window.lnk
WIX\bin removed, as it's now an OS flavor {wlh,wnet,wxp} specific item
wof.wxs - removed erroneous reference to mtcr.dll
git-svn-id: svn://openib.tc.cornell.edu/gen1@1278
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Tue, 17 Jun 2008 18:40:54 +0000 (18:40 +0000)]
[MTHCA] Fix possible data corruption for Sinai chip upon fmr_unmap
(In mthca_arbel_fmr_unmap(), the high bits of the key are masked off.
This gets rid of the effect of adjust_key(), which makes sure that
bits 3 and 23 of the key are equal when the Sinai throughput
optimization is enabled, and so it may happen that an FMR will end up
with bits 3 and 23 in the key being different. This causes data
corruption, because when enabling the throughput optimization, the
driver promises the HCA firmware that bits 3 and 23 of all memory keys
will always be equal.
Fix by re-applying adjust_key() after masking the key.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1277
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Tue, 17 Jun 2008 18:39:33 +0000 (18:39 +0000)]
[IBAL] fixed a typo in __ib_qp_type_str
git-svn-id: svn://openib.tc.cornell.edu/gen1@1276
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Tue, 17 Jun 2008 18:38:29 +0000 (18:38 +0000)]
[MLX4] improve the time of handling events like port state change
git-svn-id: svn://openib.tc.cornell.edu/gen1@1275
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 17 Jun 2008 17:09:24 +0000 (17:09 +0000)]
[WinOF]
ib_srp.inf - updated DriverVer so signtool doesn't complain of being too old.
ib_srp.cdf - driver signing file - defines ibsrp.cat contents for driver package signing.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1274
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 17 Jun 2008 17:02:17 +0000 (17:02 +0000)]
[WinOF]
ipoib.inf - updated DriverVer in order that ipoib.sys could be signed; signtool.exe complained.
ipoib.cdf - removed extraneous whitespace.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1273
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 17 Jun 2008 17:01:12 +0000 (17:01 +0000)]
[WinOF]
qlgcvnic.inf - added CatalogFile for Windows Server 2008 driver signing.
netvnic.cdf - new file for driver signing.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1272
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 17 Jun 2008 16:45:54 +0000 (16:45 +0000)]
[WinOF] multiple buildrelease options: all, compile, makebin, msi
git-svn-id: svn://openib.tc.cornell.edu/gen1@1271
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 17 Jun 2008 16:42:31 +0000 (16:42 +0000)]
[WinOF] support or not, Time-stamping signed driver files.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1270
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 17 Jun 2008 02:25:18 +0000 (02:25 +0000)]
libibverbs: add support for RC/UC/UD pingpong
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1269
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 17 Jun 2008 02:23:32 +0000 (02:23 +0000)]
winverbs: add io pending status definition
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1268
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sat, 14 Jun 2008 04:45:41 +0000 (04:45 +0000)]
winverbs: update align wc patch
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1267
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sat, 14 Jun 2008 04:18:37 +0000 (04:18 +0000)]
winverbs: fixes to support ibv_rc_pingpong test.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1266
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sat, 14 Jun 2008 04:17:20 +0000 (04:17 +0000)]
winverbs: updated to trunk patches
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1265
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Fri, 13 Jun 2008 00:00:03 +0000 (00:00 +0000)]
[DAPL2] Request extensions didn't allocate a cookie if the completion was suppressed, which resulted in segfault during provider post call. Provider's expect a *cookie in wr_id, even with surpressed completions, needed to handle events during errors.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1264
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Thu, 12 Jun 2008 23:54:39 +0000 (23:54 +0000)]
[WinOF] v2.0 prep - WDK build env structure for multiple OS flavors: WLH, WNET & WXP.
scripts to build .cat files and Digitally sign drivers, given a certificate (.cer) file.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1263
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Thu, 12 Jun 2008 17:35:37 +0000 (17:35 +0000)]
[TOOLS] remove Mellanox burning tools. They are to be provided for each kind of HW by its vendor.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1262
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Wed, 11 Jun 2008 10:25:31 +0000 (10:25 +0000)]
[TOOLS] remove Mellanox burning tools. They are to be provided for each kind of HW by its vendor.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1261
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Tue, 10 Jun 2008 16:21:02 +0000 (16:21 +0000)]
[MTHCA] added returning max_avs for Tavor
git-svn-id: svn://openib.tc.cornell.edu/gen1@1260
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Tue, 10 Jun 2008 16:16:44 +0000 (16:16 +0000)]
[ALL] fix drivers to return PKEY in BE order as IBAL requires [MLNX: 2551]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1259
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Tue, 10 Jun 2008 16:10:02 +0000 (16:10 +0000)]
[HW] remove GPL comments from windows-reimplemented bit macros
git-svn-id: svn://openib.tc.cornell.edu/gen1@1258
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Tue, 10 Jun 2008 16:09:13 +0000 (16:09 +0000)]
[HW] replace GPL-protected Linux implementation of lists by Windows one
git-svn-id: svn://openib.tc.cornell.edu/gen1@1257
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Tue, 10 Jun 2008 15:09:27 +0000 (15:09 +0000)]
[TOOLS] fixed a bug in setting parameters on x64 platform [MLNX: 2558]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1256
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:49:56 +0000 (06:49 +0000)]
winverbs: fix retrieving library name
Signed-of-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1255
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:49:09 +0000 (06:49 +0000)]
winverbs/pd: avoid referencing freed memory
We need to walk the MR map starting at the head each time. Using the 'next' entry results in accessing freed memory.
Signed-of-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1254
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:47:44 +0000 (06:47 +0000)]
winverbs/qp: set max inline qp creation attribute value
Signed-of-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1253
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:46:55 +0000 (06:46 +0000)]
libibverbs: set device attributes correctly
A few device attributes were set incorrectly. Fix that.
Signed-of-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1252
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:44:51 +0000 (06:44 +0000)]
wnverbs/device: fix crashes
Fix accessing variable before it's set, and references to invalid port numbers.
Also, the HCA driver does not support querying on usermode device handles, so use the kernel handle when querying for attributes.
Signed-of-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1251
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:41:48 +0000 (06:41 +0000)]
winverbs/cq: initialize cq device pointer
Signed-of-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1250
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:40:15 +0000 (06:40 +0000)]
winverbs/qp_context: set qp handle in pre_create call
We need the qp handle in the pre_create call in order to save the qp context.
Signed-of-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1249
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:38:37 +0000 (06:38 +0000)]
libibverbs/rc_pingpong: initialize variables
We need to add explicit initialization to ported code that was changed as a result of compiler differences.
Signed-of-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1248
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:36:36 +0000 (06:36 +0000)]
libibverbs: ibv_get_device_list allows *num as optional parameter
Signed-of-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1247
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sun, 8 Jun 2008 06:35:02 +0000 (06:35 +0000)]
getopt: add support for long options
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1246
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Thu, 5 Jun 2008 12:04:45 +0000 (12:04 +0000)]
[MLX4] return a more specific return code (in the bad flow of create_cq) [MLNX: 2554]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1245
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 5 Jun 2008 06:23:08 +0000 (06:23 +0000)]
winverbs: move reference counting back to WvBase and use virtual Delete call
Move AddRef and Release back into WvBase. Add a virtual function Delete() to WvBase that derived classes set to delete 'this'. This avoids the heap corruption issues without classes re-implementing Release.
This fixes an issue with the previous fix where heap corruption still would have occurred if a user released the QP interface after releasing the derived interface (such as the connected QP interface).
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1244
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 5 Jun 2008 03:04:43 +0000 (03:04 +0000)]
winverbs: rename member variable to include 'm_'
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1243
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 5 Jun 2008 03:03:58 +0000 (03:03 +0000)]
winverbs: do not inherit Release() calls
Release() tries to delete an object when its reference count reaches 0. Inheriting Release() from WvBase ends up corrupting the heap when WvBase tries to delete 'this'.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1242
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 5 Jun 2008 03:00:58 +0000 (03:00 +0000)]
winverbs: wait to create device on PnP power up (D0)
The hca drivers are not ready to handle query interface and function calls until the device enters the D0 power state. Delay initializing the RDMA device until winverbs sees the D0 power state for that device. This is only done the first time that the device enters the power state to avoid losing user context information just because the device enters a lower powered state.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1241
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Wed, 4 Jun 2008 15:32:28 +0000 (15:32 +0000)]
[TOOLS] fix license
git-svn-id: svn://openib.tc.cornell.edu/gen1@1240
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 4 Jun 2008 04:59:06 +0000 (04:59 +0000)]
winverbs: track changes against trunk using patch files
Add patch directory with patches that can be applied. This simplifies tracking changes against the trunk, and makes it easier to update only affected patches with changes.
This will help when merging the changes into the trunk.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1239
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 4 Jun 2008 04:12:02 +0000 (04:12 +0000)]
winverbs: undo changes to files tracked in trunk
Undo any changes to files that exist in the trunk. All changes will be added as patches to make synchronizing changes in the winverb branch with the trunk easier. The patches will then be applied directly to the trunk when merging.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1238
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Wed, 4 Jun 2008 03:48:05 +0000 (03:48 +0000)]
docs/dontdiff.txt: add .bin, .rej, and .orig files to the skip list
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1237
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 3 Jun 2008 22:41:24 +0000 (22:41 +0000)]
Merge with trunk rev 1231.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1236
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 3 Jun 2008 22:24:59 +0000 (22:24 +0000)]
libibverbs: add port of sample programs
Add port of example ibv_devinfo and ibv_rc_pingpong programs.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1235
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 3 Jun 2008 22:23:43 +0000 (22:23 +0000)]
winverbs: fix including header file from .c sources
Fix build error when including winverbs.h from a .c file.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1234
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 3 Jun 2008 22:22:22 +0000 (22:22 +0000)]
winverbs: use common getopt sources
getopt was moved from internal to winverbs to a public location. Use the new common files.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1233
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Tue, 3 Jun 2008 22:21:01 +0000 (22:21 +0000)]
etc: add generic getopt functionality
Add a common getopt implementation available to any app/library. Source file is located in etc\user, and header file is located in inc\user.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1232
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 3 Jun 2008 19:38:02 +0000 (19:38 +0000)]
[WinOF] WDK build env; good to go.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1231
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 3 Jun 2008 19:36:03 +0000 (19:36 +0000)]
[DAPL] match winof 1.1
git-svn-id: svn://openib.tc.cornell.edu/gen1@1230
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 3 Jun 2008 19:32:39 +0000 (19:32 +0000)]
[WinOF] WDK build env updates
git-svn-id: svn://openib.tc.cornell.edu/gen1@1229
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 2 Jun 2008 16:36:08 +0000 (16:36 +0000)]
[MLX4] return a more specific return code (in the bad flow of create_cq) [MLNX: 2537]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1228
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 1 Jun 2008 17:29:33 +0000 (17:29 +0000)]
[MLX4] bugfix: fill alt_port_num field in qp_modify
git-svn-id: svn://openib.tc.cornell.edu/gen1@1227
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 1 Jun 2008 17:26:52 +0000 (17:26 +0000)]
[MLX4] fixed warnings in DBG environment
git-svn-id: svn://openib.tc.cornell.edu/gen1@1226
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 1 Jun 2008 17:24:15 +0000 (17:24 +0000)]
[MLX4] fixed a PREFast warning
git-svn-id: svn://openib.tc.cornell.edu/gen1@1225
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 1 Jun 2008 17:10:11 +0000 (17:10 +0000)]
[MLX4] fixed bug: send WQE buffer initialization was skipped in case of NDI provider [MLNX: 2531]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1224
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 1 Jun 2008 14:19:59 +0000 (14:19 +0000)]
[SRP] fixes the BSOD when SRPT disconnects.
Suggested by: Eleanor Witiak [eleanor.witiak@qlogic.com]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1223
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sat, 31 May 2008 07:31:01 +0000 (07:31 +0000)]
libibverbs: complete initial implementation
The implementation lacks complete support for all potential threading usage models, but it should support current usage models. The library is about 90% complete, and should be usable by most applications. Missing functionality and complete multi-threading support will be deferred until an application requires it, or a later time.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1222
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sat, 31 May 2008 07:24:22 +0000 (07:24 +0000)]
winverbs: modify how device events are reported
Change reporting device events to simplify interface and avoid missing events. Device events are now set using flags, allowing multiple events to occur in the kernel before userspace retrieves them. This will avoid losing events or userspace needing to call into the kernel to retrieve one event at a time. Events are also associated with a device port, rather than with the device itself.
The new types of events are kept more generic for transport neutral independence.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1221
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Sat, 31 May 2008 07:20:19 +0000 (07:20 +0000)]
winverbs: remove debug print messages
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1220
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 29 May 2008 19:59:59 +0000 (19:59 +0000)]
libibverbs: initial implementation
Most function coded, except for those dealing with event handling.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1219
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 29 May 2008 19:52:12 +0000 (19:52 +0000)]
winverbs: update driver and library to support libibverbs interfaces
Updates based on adding support for libibverbs interfaces.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1218
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Thu, 29 May 2008 19:50:24 +0000 (19:50 +0000)]
ibal: modify layout work request structure
Modify layout of ib_send_wr_t to eliminate internal padding and reduce the structure size. Using the new layout, users can cast between the IBAL ib_send_wr_t and the OFED struct ibv_send_wr.
Also modify the wr type enums to allow quick checks for receive completions.
ULPs are unaffected by this change, except for a re-compile.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1217
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Wed, 28 May 2008 01:14:18 +0000 (01:14 +0000)]
[WinOF] WDK build env, support multiple OS flavors; use more common arch files
git-svn-id: svn://openib.tc.cornell.edu/gen1@1216
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Wed, 28 May 2008 00:26:34 +0000 (00:26 +0000)]
[WinOF] WDK build env, support multiple OS flavors; use common arch files
git-svn-id: svn://openib.tc.cornell.edu/gen1@1215
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Wed, 28 May 2008 00:20:13 +0000 (00:20 +0000)]
[WinOF] WDK build env, support multiple OS flavors; separate by OS/arch
git-svn-id: svn://openib.tc.cornell.edu/gen1@1214
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 27 May 2008 23:01:06 +0000 (23:01 +0000)]
[WinOF] adding WDK/OS specific installer build folders.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1213
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 27 May 2008 22:52:49 +0000 (22:52 +0000)]
[DAPL2] incorporate WinOF 1.1 DAPL fixes for rnr handling.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1212
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
stansmith [Tue, 27 May 2008 22:47:16 +0000 (22:47 +0000)]
[WinOF] WDK build env - say goodbye to DDK builds.
git-svn-id: svn://openib.tc.cornell.edu/gen1@1211
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 26 May 2008 09:50:20 +0000 (09:50 +0000)]
[TOOLS] support the work on Server 2008, where there are both IPv4 and IPv6. [MLNX: 2505]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1210
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 26 May 2008 09:46:46 +0000 (09:46 +0000)]
[TOOLS] support the work on Server 2008, where there are both IPv4 and IPv6. [MLNX: 2505]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1209
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 25 May 2008 15:56:26 +0000 (15:56 +0000)]
[MLX4] fixed incorrect return code in bad flow, which caused kernel crash. [MLNX: 2500]
git-svn-id: svn://openib.tc.cornell.edu/gen1@1208
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 23 May 2008 07:54:19 +0000 (07:54 +0000)]
winverbs: fix 64-bit build warnings
Also use default build warnings, which work now with WDK.
Signed-off-by: Sean Hefty <Sean.hefty@intel.com
git-svn-id: svn://openib.tc.cornell.edu/gen1@1207
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
shefty [Fri, 23 May 2008 07:04:43 +0000 (07:04 +0000)]
winverbs: check HRESULT not memory window pointer
64-bit build flagged this incorrect check.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1206
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86