]>
git.openfabrics.org - ~shefty/rdma-win.git/log
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@418
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@417
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@416
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@415
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@414
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@413
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@412
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@411
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@410
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@409
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@408
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@407
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@406
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@405
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@404
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@403
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@402
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@401
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@400
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@399
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@398
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@397
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@396
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@395
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@394
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@393
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@392
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@391
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@390
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@389
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@388
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@387
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@386
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@385
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 9 Jun 2006 05:34:03 +0000 (05:34 +0000)]
Build 1.0.0.384
git-svn-id: svn://openib.tc.cornell.edu/gen1@384
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@383
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@382
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@381
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@380
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@379
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@378
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@377
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@376
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@375
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@374
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@373
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@372
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@371
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@370
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@369
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@368
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@367
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@366
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@365
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@364
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@363
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@362
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@361
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@360
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@359
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@358
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@357
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@356
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@355
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@354
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@353
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@352
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@351
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@350
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@349
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@348
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@347
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@346
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@345
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@344
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@343
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@342
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@341
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@340
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@339
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@338
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@337
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@336
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@335
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@334
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@333
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@332
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Thu, 27 Apr 2006 04:12:30 +0000 (04:12 +0000)]
Build 1.0.0.331
git-svn-id: svn://openib.tc.cornell.edu/gen1@331
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@330
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@329
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@328
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@327
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
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@326
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 25 Apr 2006 18:17:19 +0000 (18:17 +0000)]
[IBAL] Check for invalid PD during AV creation.
Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1@325
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
sleybo [Tue, 25 Apr 2006 15:01:06 +0000 (15:01 +0000)]
[MTHCA,MT23108] - WA for FW bug 33958
- few fixes to the MAD caching
- cosmetics
git-svn-id: svn://openib.tc.cornell.edu/gen1@324
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 24 Apr 2006 23:29:31 +0000 (23:29 +0000)]
[IPoIB] More SM reregister handling
- Avoid attempting to bring the IPoIB port up when a SM change event
is received while the link state is not active
- Add proper state transition before calling ipoib_port_up during SM
change handling.
- Only destroy multicast endpoints when the port goes down, just flush
the AVs from unicast endpoints
git-svn-id: svn://openib.tc.cornell.edu/gen1@323
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 24 Apr 2006 23:26:57 +0000 (23:26 +0000)]
[IPoIB] Fix MAC address generation for Mellanox GUIDs.
Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1@322
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 23 Apr 2006 17:47:57 +0000 (17:47 +0000)]
[MTHCA] 1. get GUID by card query
2. added 2 vendor calls: FW_MAP_CRSPACE and FW_UNMAP_CRSPACE
git-svn-id: svn://openib.tc.cornell.edu/gen1@321
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 23 Apr 2006 16:19:22 +0000 (16:19 +0000)]
[MTHCA] fixed a bug in pointer arithmetic, causing access violation
git-svn-id: svn://openib.tc.cornell.edu/gen1@320
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Sat, 22 Apr 2006 17:44:13 +0000 (17:44 +0000)]
[IPoIB] Handle SM reregister event before port is active.
git-svn-id: svn://openib.tc.cornell.edu/gen1@319
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86