14 years ago[IBBUS] Fix IOU section in INF so that it actually works.
ftillier [Wed, 19 Jul 2006 15:08:42 +0000 (15:08 +0000)]
[IBBUS] Fix IOU section in INF so that it actually works.

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

14 years ago[VSTAT]added printing of more port states
leonidk [Tue, 18 Jul 2006 13:44:51 +0000 (13:44 +0000)]
[VSTAT]added printing of more port states

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

14 years ago[IBAL] a fix to accept any successful return code in ASSERTs (mostly, to facilitate...
leonidk [Thu, 13 Jul 2006 15:22:05 +0000 (15:22 +0000)]
[IBAL] a fix to accept any successful return code in ASSERTs (mostly, to facilitate the work with Driver Verifier)

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

14 years ago[TESTS] 1. added a new RegisterVarMemRegions test. It's an improved RegisterMemRegion...
leonidk [Thu, 13 Jul 2006 14:43:43 +0000 (14:43 +0000)]
[TESTS] 1. added a new RegisterVarMemRegions test. It's an improved RegisterMemRegion test: it reg/dereg several times a number of regions with sizes from 1 to 2**27 bytes of size.
2. added a new ReregisterHca test: it causes driver to re-register itself with IBAL.

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

14 years ago[IPOIB] bugfix: endpt are not added to the port child list if port is marked as being...
sleybo [Thu, 13 Jul 2006 13:02:01 +0000 (13:02 +0000)]
[IPOIB] bugfix: endpt are not added to the port child list if port is marked as being destroy.
-add debug util to ref count
-port_resume is being called from port_destroy (and not from endpt_cleanup)

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

14 years ago[COMPLIB] Semantic change: inserting object relationships returns status.
ftillier [Tue, 11 Jul 2006 21:14:20 +0000 (21:14 +0000)]
[COMPLIB] Semantic change: inserting object relationships returns status.

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

14 years ago[AL] update p_size in modify_cq verb
sleybo [Tue, 11 Jul 2006 14:58:03 +0000 (14:58 +0000)]
[AL] update p_size in modify_cq verb

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

14 years ago[IPOIB] - clear the endpt lid_list on SM change event
sleybo [Tue, 11 Jul 2006 07:27:40 +0000 (07:27 +0000)]
[IPOIB] - clear the endpt lid_list on SM change event
- add ASSERT for duplication in the endpt lid_list
- not update the endpt lid from the WC , but wait to the path_query

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

14 years ago[IPOIB] A work around for working with 1.8.x opensm. (off by default)
tzachid [Mon, 10 Jul 2006 19:56:40 +0000 (19:56 +0000)]
[IPOIB] A work around for working with 1.8.x opensm. (off by default)

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

14 years ago[TOOLS] change the port GUID format
sleybo [Mon, 10 Jul 2006 15:32:59 +0000 (15:32 +0000)]
[TOOLS] change the port GUID format

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

14 years ago[MTHCA] re-bugfix: perform memory deregistration in reverse order wrt. memory registr...
leonidk [Mon, 10 Jul 2006 14:28:17 +0000 (14:28 +0000)]
[MTHCA] re-bugfix: perform memory deregistration in reverse order wrt. memory registration

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

14 years ago[MTHCA] bugfix: removed to asserts which behave incorrectly on XP platforms
leonidk [Mon, 10 Jul 2006 08:31:11 +0000 (08:31 +0000)]
[MTHCA] bugfix: removed to asserts which behave incorrectly on XP platforms

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

14 years ago[MTHCA] bugfix: perform memory deregistration in reverse order wrt. memory registration
leonidk [Mon, 10 Jul 2006 08:25:55 +0000 (08:25 +0000)]
[MTHCA] bugfix: perform memory deregistration in reverse order wrt. memory registration

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

14 years ago[MTHCA] 1. bugfix: skip any action in post-verb processing in user space, when kernel...
leonidk [Sun, 9 Jul 2006 18:15:55 +0000 (18:15 +0000)]
[MTHCA] 1. bugfix: skip any action in post-verb processing in user space, when kernel failed the ioctl.
2. cleaning: blanks replaced by tabs

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

14 years ago[MTHCA] 1. feature: added support for ReregisterHca test.
leonidk [Sun, 9 Jul 2006 18:10:46 +0000 (18:10 +0000)]
[MTHCA] 1. feature: added support for ReregisterHca test.
2. bugfix: in handling TARGET_DEVICE_REMOVE_COMPLETE notification.
3. cleaning

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

14 years ago[OPENSM] missed fix for OPENSM logging to System Event Log
leonidk [Sun, 9 Jul 2006 17:56:01 +0000 (17:56 +0000)]
[OPENSM] missed fix for OPENSM logging to System Event Log

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

14 years ago[COMPLIB] Fix incorrect assertion.
ftillier [Sun, 9 Jul 2006 12:52:16 +0000 (12:52 +0000)]
[COMPLIB] Fix incorrect assertion.

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

14 years ago[WSD] Increase RNR NACK timeout to 7 (infinite) to eliminate RNR timeout
ftillier [Thu, 6 Jul 2006 19:43:28 +0000 (19:43 +0000)]
[WSD] Increase RNR NACK timeout to 7 (infinite) to eliminate RNR timeout
issues during connection floods.

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

14 years ago[COMPLIB] Wait indefinitely for references to be released during synchronous
ftillier [Thu, 6 Jul 2006 14:56:21 +0000 (14:56 +0000)]
[COMPLIB] Wait indefinitely for references to be released during synchronous
object destruction.

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

14 years ago[IBAL] Fix REJ processing - a REJ received with INVALID_SID should not retry
ftillier [Thu, 6 Jul 2006 13:34:20 +0000 (13:34 +0000)]
[IBAL] Fix REJ processing - a REJ received with INVALID_SID should not retry
for client/server connection requests.

This fixes bug 148 (http://openib.org/bugzilla/show_bug.cgi?id=148)

Fix suggested by Yossi Leybovich (sleybo@mellanox.co.il)

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

14 years ago[IBAL] Remove unused user-mode CM files.
ftillier [Thu, 6 Jul 2006 13:23:54 +0000 (13:23 +0000)]
[IBAL] Remove unused user-mode CM files.

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

14 years ago[WSD] Properly size CQs and allow multiple QPs per CQ with HCA drivers that don't...
ftillier [Wed, 5 Jul 2006 15:47:58 +0000 (15:47 +0000)]
[WSD] Properly size CQs and allow multiple QPs per CQ with HCA drivers that don't support resize CQ.
Fix for bug 149 (http://openib.org/bugzilla/show_bug.cgi?id=149).

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

14 years ago[IBAL] Remove unused files.
ftillier [Wed, 5 Jul 2006 14:03:48 +0000 (14:03 +0000)]
[IBAL] Remove unused files.

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

14 years ago[OPENSM] 1. feature: added SHUT_DOWN support. Without that one can't perform reboot...
leonidk [Wed, 5 Jul 2006 13:19:23 +0000 (13:19 +0000)]
[OPENSM] 1. feature: added SHUT_DOWN support. Without that one can't perform reboot with opensm running as service !
2. bugfix: added message file for correct logging to System Event Log.
3. bugfix: wrong passing parameters in server mode;
4. bugfix: error in table of parameters

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

14 years ago[IPOIB] Fix mcast_cb error handling
ftillier [Tue, 4 Jul 2006 14:19:00 +0000 (14:19 +0000)]
[IPOIB] Fix mcast_cb error handling

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@401 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[MT23108] bugfix: was missed HcaClassGuid definition
leonidk [Tue, 4 Jul 2006 10:52:30 +0000 (10:52 +0000)]
[MT23108] bugfix: was missed HcaClassGuid definition

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

14 years ago[WSD] Fix compiling without PERFMON_ENABLED
ftillier [Mon, 3 Jul 2006 22:16:46 +0000 (22:16 +0000)]
[WSD] Fix compiling without PERFMON_ENABLED

Submitted by Guy Corem (guyc@voltaire.com)

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

14 years ago[WSD] Refix building with IBSP_LOGGING enabled, take two.
ftillier [Mon, 3 Jul 2006 21:51:09 +0000 (21:51 +0000)]
[WSD] Refix building with IBSP_LOGGING enabled, take two.

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

14 years ago[WSD] Refix building with IBSP_LOGGING enabled.
ftillier [Mon, 3 Jul 2006 21:49:41 +0000 (21:49 +0000)]
[WSD] Refix building with IBSP_LOGGING enabled.

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

14 years ago[IBAL] Change all use of %p to %016I64x to support WPP. Turn on WPP in free builds...
ftillier [Mon, 3 Jul 2006 21:09:34 +0000 (21:09 +0000)]
[IBAL] Change all use of %p to %016I64x to support WPP.  Turn on WPP in free builds of KAL.

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

14 years ago[TOOLS] add 4 performance tests (based on Linux tests)
sleybo [Tue, 27 Jun 2006 08:28:04 +0000 (08:28 +0000)]
[TOOLS] add 4 performance tests (based on Linux tests)

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

14 years ago[MTHCA] feature: added 2 new registry parameters: SkipTavorReset (0) - for skipping...
leonidk [Tue, 27 Jun 2006 08:10:52 +0000 (08:10 +0000)]
[MTHCA] feature: added 2 new registry parameters: SkipTavorReset (0) - for skipping reset on Tavor cards and DisableTavorResetOnFailure (1), which will set the previous to 1 in case of reset failure.

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

14 years ago[MTHCA} add WPP_OLDCC adn -dll to the use source
leonidk [Mon, 26 Jun 2006 13:54:38 +0000 (13:54 +0000)]
[MTHCA} add WPP_OLDCC adn -dll to the use source

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

14 years ago[MTHCA] 1. bugfix: fixed a typo, which caused a loss of IBAL state notifications.
leonidk [Sun, 25 Jun 2006 13:58:10 +0000 (13:58 +0000)]
[MTHCA] 1. bugfix: fixed a typo, which caused a loss of IBAL state notifications.
2. bugfix: in handling device power down request.

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

14 years ago[AL] pass g_al_dbg_flags to CL_PRINT macro
sleybo [Sun, 25 Jun 2006 13:49:23 +0000 (13:49 +0000)]
[AL] pass g_al_dbg_flags to CL_PRINT macro

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

14 years ago[AL] set initial values of debug variables.
sleybo [Sun, 25 Jun 2006 13:15:49 +0000 (13:15 +0000)]
[AL] set initial values of debug variables.

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

14 years ago[WSD] Fixed building with IBSP_LOGGING enabled.
tzachid [Thu, 22 Jun 2006 07:03:23 +0000 (07:03 +0000)]
[WSD] Fixed building with IBSP_LOGGING enabled.

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

14 years ago[WSD] Fix Installing WSD from a directory without write permissions.
tzachid [Thu, 22 Jun 2006 07:01:21 +0000 (07:01 +0000)]
[WSD] Fix Installing WSD from a directory without write permissions.

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

14 years ago[MTHCA] fix: return to the previous, amore robust solution of waiting for the command...
leonidk [Mon, 19 Jun 2006 14:54:09 +0000 (14:54 +0000)]
[MTHCA] fix: return to the previous, amore robust solution of waiting for the command completion in the non-alertable state

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

14 years ago[MTHCA] 1. feature: added a mechanism, preventing unloading MTHCA driver while there...
leonidk [Mon, 19 Jun 2006 10:37:21 +0000 (10:37 +0000)]
[MTHCA] 1. feature: added a mechanism, preventing unloading MTHCA driver while there are applications, working with it.
2. feature: (for applications in checked version) read dbg flag and level from MLNX_TRACE_LVL.
3. improvement: the polling interval for HCA command completion decreased from ~166 msec to 0, which seriously speeded the driver startup and multi-process tests.
4. improvement: improved mechanism of bitmap searching.
5. improvement: new mechanism for registration of user memory.
6. bugfix: fence bit support in post_send verbs in kernel and userspace.
7. bugfix: restore capabilities of the HCA card during its reset.
8. bugfix: handling of IBAL DEVICE_REMOVE_CANCELLED notification.
9. bugfix: in preventing secondary dereferencing of the PCI BUS interface.
10. potential improvement: added a more fair algorithm of HCA command completion polling, which performs the polling with increasing interval. The algorithm is under USE_FAIR_GO_BIT_POLLING preprocessor variable, which is not defined for now. We need to perform tuning of the parameters of the algorithm before enabling it.

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

14 years ago[WSD] Fixed a small problem that happens when running applications with the Applicati...
tzachid [Sun, 11 Jun 2006 14:10:47 +0000 (14:10 +0000)]
[WSD] Fixed a small problem that happens when running applications with the Application verifier enabled.

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

14 years agoBuild
ftillier [Fri, 9 Jun 2006 05:34:03 +0000 (05:34 +0000)]

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

14 years ago[MTHCA] Disable reset for Tavor as it never comes back on some systems.
ftillier [Fri, 9 Jun 2006 05:29:01 +0000 (05:29 +0000)]
[MTHCA] Disable reset for Tavor as it never comes back on some systems.

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

14 years ago[MTHCA] Fix erroneous removal from HCA list for cases where HCA was
ftillier [Fri, 9 Jun 2006 05:28:33 +0000 (05:28 +0000)]
[MTHCA] Fix erroneous removal from HCA list for cases where HCA was
never added to list.

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

14 years ago[IBAL] Add WPP tracing to KAL and UAL.
ftillier [Thu, 8 Jun 2006 17:10:14 +0000 (17:10 +0000)]
[IBAL] Add WPP tracing to KAL and UAL.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@381 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[WSD] Increase RNR NAK timeout so delays in posting the first receive
ftillier [Thu, 8 Jun 2006 00:28:19 +0000 (00:28 +0000)]
[WSD] Increase RNR NAK timeout so delays in posting the first receive
don't cause connection failure.

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

14 years ago[IBAL, MTHCA, MT23108] Fix FMR implementation to properly represent
ftillier [Wed, 7 Jun 2006 23:52:27 +0000 (23:52 +0000)]
[IBAL, MTHCA, MT23108] Fix FMR implementation to properly represent
that it is not IB standard, but rather a Mellanox specific optimization.
Make parameters to the mapping function consistent with physical memory
registration.  Add FMR stubs to MT23108 driver.

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

14 years ago[IPoIB] Report receives with NDIS_STATUS_RESOURCES when below a RQ
ftillier [Wed, 7 Jun 2006 23:49:48 +0000 (23:49 +0000)]
[IPoIB] Report receives with NDIS_STATUS_RESOURCES when below a RQ
low watermark.  This prevents hangs during certain workloads where
the RQ becomes exhausted.

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

14 years ago[MT23108] RNR NAK timeout is required in RTR transition.
ftillier [Wed, 7 Jun 2006 23:47:22 +0000 (23:47 +0000)]
[MT23108] RNR NAK timeout is required in RTR transition.

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

14 years agoMTHCA] bugfix: PoStartNextPowerIrp was erroneously called with the next stack locatio...
leonidk [Wed, 7 Jun 2006 10:41:55 +0000 (10:41 +0000)]
MTHCA] bugfix: PoStartNextPowerIrp was erroneously called with the next stack location, which caused assertion on the checked OS while restarting the computer

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

14 years ago{MTHCA] Always set IB_QP_MIN_RNR_TIMER when in RTR
leonidk [Tue, 6 Jun 2006 17:56:49 +0000 (17:56 +0000)]
{MTHCA] Always set IB_QP_MIN_RNR_TIMER when in RTR

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

14 years ago[TOOLS] added missed files for USB support (valid only for x86 platform)
leonidk [Tue, 6 Jun 2006 17:29:25 +0000 (17:29 +0000)]
[TOOLS] added missed files for USB support (valid only for x86 platform)

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

14 years ago[MTHCA, IBAL] added FMR support; [MTHCA] 1. fixed (and now works) "livefish" support;
leonidk [Tue, 6 Jun 2006 17:22:41 +0000 (17:22 +0000)]
[MTHCA, IBAL] added FMR support; [MTHCA] 1. fixed (and now works) "livefish" support;
2. fixed (and now works) multiple HCA support;
3. support of work of 32-bit tools with 64-bit kernel;
4. support *bad_wr parameter in post/recv verbs as optional;
5. make the wait on a command completion alertable for user processes;
6. improve the vstat output for multiple cards;
7. bugfix: remove QP numbers from the user mode table before they are removed from the kernel;

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

14 years ago[WSD] Fix race between CQ thread info cleanup and thread exit.
ftillier [Sun, 4 Jun 2006 19:37:37 +0000 (19:37 +0000)]
[WSD] Fix race between CQ thread info cleanup and thread exit.

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

14 years ago[WSD] Use correct CQ thread info structure when cleaning up.
ftillier [Sun, 4 Jun 2006 18:40:07 +0000 (18:40 +0000)]
[WSD] Use correct CQ thread info structure when cleaning up.

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

14 years ago[WSD] Remove SDDL_DOMAIN_ADMIN from perfmon shared file security descriptor.
ftillier [Sun, 4 Jun 2006 18:31:28 +0000 (18:31 +0000)]
[WSD] Remove SDDL_DOMAIN_ADMIN from perfmon shared file security descriptor.

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

14 years ago[MTHCA] 1. support *bad_wr as an optional parameter;
leonidk [Thu, 1 Jun 2006 09:40:28 +0000 (09:40 +0000)]
[MTHCA] 1. support *bad_wr as an optional parameter;
2. (bugfix) set static rate always to 0 (i.e. full speed).

The latter one enters a limitation of the same rate of all the inter-operating HCAs.
The right setting of the static rate is more complicate and will be eventually added.

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

14 years ago[IPoIB] Increase default queue depth to 512
ftillier [Wed, 31 May 2006 21:47:44 +0000 (21:47 +0000)]
[IPoIB] Increase default queue depth to 512

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

14 years ago[IPoIB] Make receive checksum offload a tunable, default to disabled.
ftillier [Wed, 31 May 2006 21:39:48 +0000 (21:39 +0000)]
[IPoIB] Make receive checksum offload a tunable, default to disabled.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@367 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[opensm] Fix a trivial build break
tzachid [Sun, 28 May 2006 11:49:08 +0000 (11:49 +0000)]
[opensm] Fix a trivial build break

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

14 years ago[WSD] Better check of the just created variable in performance counters.
tzachid [Sun, 28 May 2006 09:17:23 +0000 (09:17 +0000)]
[WSD] Better check of the just created variable in performance counters.

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

14 years ago[WSD] Add a few more debug counters.
tzachid [Sun, 28 May 2006 08:35:30 +0000 (08:35 +0000)]
[WSD] Add a few more debug counters.

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

14 years ago[IPOIB] Deregister the addresses from the SM when the IPOIB port goes down.
tzachid [Wed, 24 May 2006 06:32:21 +0000 (06:32 +0000)]
[IPOIB] Deregister the addresses from the SM when the IPOIB port goes down.

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

14 years ago[TESTS] change main.c files to XXX_mainc.c
sleybo [Tue, 23 May 2006 14:25:05 +0000 (14:25 +0000)]
[TESTS] change main.c files to XXX_mainc.c

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

14 years agoif the guid2lid is corrupted, don't exit when running with -y option
eitan [Tue, 23 May 2006 10:07:09 +0000 (10:07 +0000)]
if the guid2lid is corrupted, don't exit when running with -y option
 (don't exit on fatal) - just ignore the file

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

14 years agoBug Fix:
eitan [Tue, 23 May 2006 06:14:08 +0000 (06:14 +0000)]
Bug Fix:
On receive of client reregister - clear the reregister bit - so reregistering
 won't be sent again and again

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

14 years agoThe loop on all lids was missing the last one
eitan [Tue, 23 May 2006 05:35:06 +0000 (05:35 +0000)]
The loop on all lids was missing the last one

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

14 years ago[IPoIB] Use PnP string conversion in debug output.
ftillier [Wed, 17 May 2006 20:24:47 +0000 (20:24 +0000)]
[IPoIB] Use PnP string conversion in debug output.

Submitted by: Tzachi Dar (tzachid@mellanox.co.il)

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

14 years ago[IBAL] Add PnP event string conversion
ftillier [Wed, 17 May 2006 20:24:14 +0000 (20:24 +0000)]
[IBAL] Add PnP event string conversion

Submitted by: Tzachi Dar (tzachid@mellanox.co.il)

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

14 years ago[IPoIB] Fix WPP for free build
ftillier [Tue, 16 May 2006 18:36:49 +0000 (18:36 +0000)]
[IPoIB] Fix WPP for free build

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

14 years ago[WSD] Fix synchronization issue in ibsp_conn_insert.
ftillier [Tue, 16 May 2006 18:31:23 +0000 (18:31 +0000)]
[WSD] Fix synchronization issue in ibsp_conn_insert.

Submitted by: Tzachi Dar (tzachid@mellanox.co.il)

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

14 years ago[MTHCA] 1. bugfix in register_mr verb: there was a lack of memory securing (needed...
leonidk [Tue, 16 May 2006 15:38:55 +0000 (15:38 +0000)]
[MTHCA] 1. bugfix in register_mr verb: there was a lack of memory securing (needed today by WSD);
2. bugfix: mthca_tavor_post_receive() puts the number of WRs (int nreq) in 8-bit field. In case, when nreq=256*k, it will cause corruption of qp number in the doorbell;
3. cosmetics

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

14 years ago[TOOLS] add -c option to vstat to read the ib port counters
sleybo [Tue, 16 May 2006 07:54:47 +0000 (07:54 +0000)]
[TOOLS] add -c option to vstat to read the ib port counters

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

14 years ago[IPoIB] Make WPP output look like DbgPrint output.
ftillier [Mon, 15 May 2006 23:03:01 +0000 (23:03 +0000)]
[IPoIB] Make WPP output look like DbgPrint output.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@352 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[IBAL] Add GET-only local MAD support to user-mode.
ftillier [Mon, 15 May 2006 22:45:01 +0000 (22:45 +0000)]
[IBAL] Add GET-only local MAD support to user-mode.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@351 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[IBAL] Add versioning of the IOCTL interface.
ftillier [Mon, 15 May 2006 21:36:18 +0000 (21:36 +0000)]
[IBAL] Add versioning of the IOCTL interface.

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

14 years ago[IBAL] Fix race in UAL between CQ callbacks and CQ destruction.
ftillier [Mon, 15 May 2006 20:28:53 +0000 (20:28 +0000)]
[IBAL] Fix race in UAL between CQ callbacks and CQ destruction.

Submitted by: Leonid Keller (leonid@mellanox.co.il)

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

14 years ago[MTHCA] cleaning in MR verb
leonidk [Mon, 15 May 2006 16:32:42 +0000 (16:32 +0000)]
[MTHCA] cleaning in MR verb

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

14 years ago[MTHCA] bugfix: lock was not released in one case of error flow in recv and send...
leonidk [Sun, 14 May 2006 09:36:53 +0000 (09:36 +0000)]
[MTHCA] bugfix: lock was not released in one case of error flow in recv and send posts

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

14 years ago[MT23108] fixed a bug in registration of a large buffer: the registration now starts...
leonidk [Sun, 14 May 2006 09:31:47 +0000 (09:31 +0000)]
[MT23108] fixed a bug in registration of a large buffer: the registration now starts from the beginning of the first page of the buffer and not from the beginning of the buffer.

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

14 years ago[IPoIB] Fix NDIS WHQL 2c_RecvMulticast test failures
ftillier [Fri, 12 May 2006 18:18:22 +0000 (18:18 +0000)]
[IPoIB] Fix NDIS WHQL 2c_RecvMulticast test failures

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

14 years ago[IPoIB] Fix driver verifier deadlock resulting from
ftillier [Fri, 12 May 2006 18:16:13 +0000 (18:16 +0000)]
[IPoIB] Fix driver verifier deadlock resulting from
query synchronization patch.

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

14 years ago[WSD] Use WSAEHOSTUNREACH to prevent WSD connections from falling back onto IPoIB
ftillier [Fri, 12 May 2006 04:30:31 +0000 (04:30 +0000)]
[WSD] Use WSAEHOSTUNREACH to prevent WSD connections from falling back onto IPoIB

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

14 years ago[WSD Installer] Add resource file so that installsp has a file version.
ftillier [Thu, 11 May 2006 23:09:27 +0000 (23:09 +0000)]
[WSD Installer] Add resource file so that installsp has a file version.

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

14 years ago[IPoIB] Fix NDIS WHQL 2c_AddressChange test failures (6 remain)
ftillier [Thu, 11 May 2006 22:56:50 +0000 (22:56 +0000)]
[IPoIB] Fix NDIS WHQL 2c_AddressChange test failures (6 remain)

Based on patch submitted by Yossi Leybovich (sleybo@mellanox.co.il)

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

14 years ago[MTHCA] 1. preliminary support for livefish devices (not released yet);
leonidk [Thu, 11 May 2006 08:41:40 +0000 (08:41 +0000)]
[MTHCA] 1. preliminary support for livefish devices (not released yet);
2. (36436) fixed with kernel memory overconsumption on creating/destroying AVs;
3. (36433) bugfix: incorrect error code on create_cq with bad number of cqes;
4. (36427) bugfix: incorrect error code on create_qp with bad number of WRs;
5. fixed PREFAST errors;
6. fixed a bug in the cleanup after an unsuccessful driver start up;
7. fixed a bug in using debug print macros;

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

14 years ago[MT23108] use guid explicitly
leonidk [Thu, 11 May 2006 07:35:04 +0000 (07:35 +0000)]
[MT23108] use guid explicitly

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

14 years ago[IPoIB] Prevent reposting receives when QP may be in reset state.
ftillier [Thu, 11 May 2006 06:31:56 +0000 (06:31 +0000)]
[IPoIB] Prevent reposting receives when QP may be in reset state.

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

14 years ago[IBAL, Complib] Update to make PreFAST happy.
ftillier [Wed, 10 May 2006 23:31:11 +0000 (23:31 +0000)]
[IBAL, Complib] Update to make PreFAST happy.

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

14 years ago[IPoIB] Synchronized port down event handling with SA queries.
ftillier [Wed, 10 May 2006 22:26:54 +0000 (22:26 +0000)]
[IPoIB] Synchronized port down event handling with SA queries.

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

14 years ago[IPoIB] Add WPP tracing, enabled by default in release builds.
ftillier [Mon, 8 May 2006 23:47:04 +0000 (23:47 +0000)]
[IPoIB] Add WPP tracing, enabled by default in release builds.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@335 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[MTHCA] 1. bugfix: gid lookup use wrong port number;
leonidk [Mon, 8 May 2006 17:33:12 +0000 (17:33 +0000)]
[MTHCA] 1. bugfix: gid lookup use wrong port number;
2. prints improvement to fit WPP;
3. ib_device_attr dont include specific Mellanox data;
4. added mechanism, providing the work with memfree devices in blocking mode, which requires transition a completion event from KVP to UVP.

The mechanism works as follows:
   upon create_cq:
      UVP allocates a doorbell record in UARC resident area;
      KVP stores the address of this record in the CQ object;
   upon completion:
      KVP posts event to this record (technically, increments sn - completion sequence number);
   upon arming the CQ:
      UVP consumes the event (technically, uses sn for numbering the next doorbell)

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

14 years ago[WSD] Add support for controlling SA timeout/retry settings, as well as
ftillier [Wed, 3 May 2006 18:51:24 +0000 (18:51 +0000)]
[WSD] Add support for controlling SA timeout/retry settings, as well as
connection establishment behavior when the SA queries timeout from default
of falling back on IPoIB to a hard failure.

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

14 years ago[MTHCA,TOOLS] - mthca report PSID in ca_attr .
sleybo [Mon, 1 May 2006 15:31:11 +0000 (15:31 +0000)]
[MTHCA,TOOLS] - mthca report PSID in ca_attr .
- vstat report PSID field

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

14 years agoBuild
ftillier [Thu, 27 Apr 2006 04:12:30 +0000 (04:12 +0000)]

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

14 years ago[WSD] Return proper status from PnP callback. Returning IB_SUCCESS
ftillier [Thu, 27 Apr 2006 00:11:04 +0000 (00:11 +0000)]
[WSD] Return proper status from PnP callback.  Returning IB_SUCCESS
in a failure case can result in the PnP callback being invoked with
a NULL context.

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

14 years ago[MTHCA] fix a typo in calculating entries that are flushed with error
leonidk [Wed, 26 Apr 2006 17:04:31 +0000 (17:04 +0000)]
[MTHCA] fix a typo in calculating entries that are flushed with error

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

14 years ago[MTHCA] 1. A revised version of AV creation/destroy mechanism.
leonidk [Wed, 26 Apr 2006 15:13:42 +0000 (15:13 +0000)]
[MTHCA] 1. A revised version of AV creation/destroy mechanism.
2. rkey returned to IBAL in network order (big endian).
3. Fixup INF for consistency.

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

14 years ago[IPoIB] Add support for generating unique MACs from Voltaire port GUIDS.
ftillier [Tue, 25 Apr 2006 18:33:56 +0000 (18:33 +0000)]
[IPoIB] Add support for generating unique MACs from Voltaire port GUIDS.

Submitted by Guy Corem (guyc@voltaire.com)

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

14 years ago[IBAL] Print internal syndrome for MAD completion errors.
ftillier [Tue, 25 Apr 2006 18:22:43 +0000 (18:22 +0000)]
[IBAL] Print internal syndrome for MAD completion errors.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@326 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86