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

14 years ago[IBAL] Check for invalid PD during AV creation.
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/trunk@325 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[MTHCA,MT23108] - WA for FW bug 33958
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/trunk@324 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[IPoIB] More SM reregister handling
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/trunk@323 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[IPoIB] Fix MAC address generation for Mellanox GUIDs.
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/trunk@322 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[MTHCA] 1. get GUID by card query
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/trunk@321 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[MTHCA] fixed a bug in pointer arithmetic, causing access violation
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/trunk@320 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[IPoIB] Handle SM reregister event before port is active.
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/trunk@319 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[MTHCA,OPENSM] cosmetics changes
sleybo [Thu, 20 Apr 2006 11:50:45 +0000 (11:50 +0000)]
[MTHCA,OPENSM] cosmetics changes

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

14 years ago[IPoIB] Handle SA interaction failures during port activation
ftillier [Wed, 19 Apr 2006 20:38:22 +0000 (20:38 +0000)]
[IPoIB] Handle SA interaction failures during port activation

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

14 years ago[IPoIB] Handle SM reregister/LID change without a reset
ftillier [Wed, 19 Apr 2006 20:35:40 +0000 (20:35 +0000)]
[IPoIB] Handle SM reregister/LID change without a reset

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

14 years ago[IPoIB] Add debug output category for statistic queries/updates.
ftillier [Tue, 18 Apr 2006 22:32:06 +0000 (22:32 +0000)]
[IPoIB] Add debug output category for statistic queries/updates.

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

14 years ago[WSD] Remove socket from connection map upon connection
ftillier [Tue, 18 Apr 2006 22:17:35 +0000 (22:17 +0000)]
[WSD] Remove socket from connection map upon connection
failure for duplicating sockets.

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

14 years ago[WSD] Support HCAs that don't implement CQ resize.
ftillier [Tue, 18 Apr 2006 22:16:41 +0000 (22:16 +0000)]
[WSD] Support HCAs that don't implement CQ resize.

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

14 years ago[MTHCA] improve the time of handling events like port state change
leonidk [Tue, 18 Apr 2006 08:27:07 +0000 (08:27 +0000)]
[MTHCA] improve the time of handling events like port state change

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

14 years ago[MTHCA] 1. bugfix: get down to the kernel in destroy_av to release resources.
leonidk [Mon, 17 Apr 2006 13:27:29 +0000 (13:27 +0000)]
[MTHCA] 1. bugfix: get down to the kernel in destroy_av to release resources.
2. cosmetics

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

14 years ago[DOCS] add html files generated by robodoc from ibal/complib headers files
sleybo [Sun, 16 Apr 2006 14:43:39 +0000 (14:43 +0000)]
[DOCS] add html files generated by robodoc from ibal/complib headers files

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

14 years ago[MTHCA] 1. fixed in bug in internal PD creation in mlnx_um_open.
leonidk [Sun, 16 Apr 2006 11:50:10 +0000 (11:50 +0000)]
[MTHCA] 1. fixed in bug in internal PD creation in mlnx_um_open.
2. an improved warning text

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

14 years agoBuild 1.0.0000.308
ftillier [Mon, 10 Apr 2006 19:34:44 +0000 (19:34 +0000)]
Build 1.0.0000.308

There will be no build 306, as the WSD changes where
supposed to be there but I forgot to check them in.

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

14 years ago[WSD] Set default polling count from 0 to 500
ftillier [Mon, 10 Apr 2006 19:31:42 +0000 (19:31 +0000)]
[WSD] Set default polling count from 0 to 500

This changes the default behavior of the provider to favor latency
at the cost of CPU utilization.  This was disabled previously because
of bugs in the WinSock DLL that have been fixed in hotfix KB901481.

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

14 years agoBuild 1.0.0000.306
ftillier [Mon, 10 Apr 2006 18:25:48 +0000 (18:25 +0000)]
Build 1.0.0000.306

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

14 years ago[MTHCA] fixed a bug in release resources
leonidk [Mon, 10 Apr 2006 17:52:50 +0000 (17:52 +0000)]
[MTHCA] fixed a bug in release resources

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

14 years ago[IBAL] Add missing return in __rej_handler for error conditions.
ftillier [Mon, 10 Apr 2006 16:09:18 +0000 (16:09 +0000)]
[IBAL] Add missing return in __rej_handler for error conditions.

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

14 years ago[MTHCA] fixed bugs in modify_QP, mostly related to RDMA
leonidk [Mon, 10 Apr 2006 13:48:51 +0000 (13:48 +0000)]
[MTHCA] fixed bugs in modify_QP, mostly related to RDMA

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

14 years ago[MTHCA] a bugfix from Linux project
leonidk [Mon, 10 Apr 2006 11:50:43 +0000 (11:50 +0000)]
[MTHCA] a bugfix from Linux project

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

14 years ago[MTHCA] allows user-mode clients to work without the kernel bypass provider
leonidk [Mon, 10 Apr 2006 09:40:11 +0000 (09:40 +0000)]
[MTHCA] allows user-mode clients to work without the kernel bypass provider

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

14 years ago[MTHCA] added event logging to release builds (maybe - a temporary solution)
leonidk [Mon, 10 Apr 2006 09:38:19 +0000 (09:38 +0000)]
[MTHCA] added event logging to release builds (maybe - a temporary solution)

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

14 years ago[MTHCA] fixed card reset
leonidk [Mon, 10 Apr 2006 09:34:51 +0000 (09:34 +0000)]
[MTHCA] fixed card reset

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

14 years ago[MTHCA] 1. Fixed an error in sanity check. 2. Fixed an error in event logging
leonidk [Mon, 10 Apr 2006 09:33:56 +0000 (09:33 +0000)]
[MTHCA] 1. Fixed an error in sanity check. 2. Fixed an error in event logging

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

14 years ago[MTHCA] fixed a typo, producing a crash, and changed debug flags
leonidk [Mon, 10 Apr 2006 09:03:24 +0000 (09:03 +0000)]
[MTHCA] fixed a typo, producing a crash, and changed debug flags

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

14 years ago[MTHCA] fix bugs in AV handling (erroneous creating of GRH)
leonidk [Mon, 10 Apr 2006 08:34:22 +0000 (08:34 +0000)]
[MTHCA] fix bugs in AV handling (erroneous creating of GRH)

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

14 years agoBuild 1.0.0000.295
ftillier [Mon, 10 Apr 2006 05:13:41 +0000 (05:13 +0000)]
Build 1.0.0000.295

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

14 years ago[SRP] Update INF
ftillier [Mon, 10 Apr 2006 04:07:37 +0000 (04:07 +0000)]
[SRP] Update INF
- OpenIB branding
- Break out SilverStorm VFx into different manufacturer section
to support device specific description strings.

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

14 years ago[IBAL, IBBUS, MT23108, MTHCA] Make KAL static library
ftillier [Sun, 9 Apr 2006 19:06:50 +0000 (19:06 +0000)]
[IBAL, IBBUS, MT23108, MTHCA] Make KAL static library
- Move driver initialization from al_driver.c to bus_driver.c
- Fix up INF files that referenced IBAL.
- Kernel ALTS test suite is stale, removed from build.

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

14 years ago[IBAL] Cleanup user-mode __get_mad_element for better legibility.
ftillier [Fri, 7 Apr 2006 04:36:53 +0000 (04:36 +0000)]
[IBAL] Cleanup user-mode __get_mad_element for better legibility.

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

14 years ago[IBBUS] Rename default IPoIB device description to
ftillier [Fri, 7 Apr 2006 04:23:52 +0000 (04:23 +0000)]
[IBBUS] Rename default IPoIB device description to
reference OpenIB not InfiniCon.

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

14 years ago[IBAL] Fix handling of stale connections.
ftillier [Fri, 7 Apr 2006 04:22:58 +0000 (04:22 +0000)]
[IBAL] Fix handling of stale connections.

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

14 years ago[WSD] Add perfmon counter object implementation. WSD installation now
ftillier [Thu, 6 Apr 2006 06:05:05 +0000 (06:05 +0000)]
[WSD] Add perfmon counter object implementation.  WSD installation now
registers the WSD provider as a performance counter provider, reporting
I/O and completion statistics to perfmon or any other performance
monitoring tool

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

14 years ago[IBAL] Delete stale code
ftillier [Thu, 6 Apr 2006 04:25:04 +0000 (04:25 +0000)]
[IBAL] Delete stale code

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

14 years ago[IBAL] Handle acquire_ca failing in create_iou
ftillier [Thu, 6 Apr 2006 04:23:56 +0000 (04:23 +0000)]
[IBAL] Handle acquire_ca failing in create_iou

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

14 years ago[MTHCA] bugfix: CQ ring buffer size must be PAGE_SIZE aligned
leonidk [Wed, 5 Apr 2006 10:14:49 +0000 (10:14 +0000)]
[MTHCA] bugfix: CQ ring buffer size must be PAGE_SIZE aligned

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

14 years ago[MTHCA] fixed erroneous rewriting of the PCI bus interface
leonidk [Wed, 5 Apr 2006 07:34:54 +0000 (07:34 +0000)]
[MTHCA] fixed erroneous rewriting of the PCI bus interface

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

14 years ago[OpenSM] - cosmetic changes
eitan [Tue, 4 Apr 2006 09:00:49 +0000 (09:00 +0000)]
[OpenSM] - cosmetic changes

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

14 years ago[OpenSM] - cosmetic changes
eitan [Tue, 4 Apr 2006 08:57:56 +0000 (08:57 +0000)]
[OpenSM] - cosmetic changes

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

14 years ago[OpenSM] - cosmetic changes
eitan [Tue, 4 Apr 2006 08:57:25 +0000 (08:57 +0000)]
[OpenSM] - cosmetic changes

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

14 years ago[OpenSM] - cosmetic changes
eitan [Tue, 4 Apr 2006 08:56:20 +0000 (08:56 +0000)]
[OpenSM] - cosmetic changes

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

14 years ago[OpenSM] - This change fixes the retrieval of the MCMember records according to
eitan [Tue, 4 Apr 2006 08:55:14 +0000 (08:55 +0000)]
[OpenSM] - This change fixes the retrieval of the MCMember records according to
Errata MGTWG3280.

Quoting from MGTWG3280:

SA can be queried for multicast groups by sending a SubnAdmGet() or a
SubnAdmGetTable() request to it using the SA query mechanism (see
15.4.4 Administration Query Subsystem on page 923).

What SA returns in response to a query of multicast groups depends
strongly on whether the request is or is not a trusted request; the
degree of trust affects both the data returned in each attribute and
the set of attributes that are returned. See <ref to C15-0.2.2>.

o15-0.2.5 is made obsolete.

So we need to implement the following descriptive text:
SA can be queried for multicast groups by sending a SubnAdmGet() or a
SubnAdmGetTable() request to it using the SA query mechanism (see
15.4.4 Administration Query Subsystem on page 923). SA will return one
MCMemberRecord per multicast group matching the query, except in
cases where trust is specified as indicated in Access Restrictions
For Other Attributes on page 922; in that case all the MCMemberRecords
associated with the multicast group are returned. The MCMemberRecord
will be returned with the PortGID, ProxyJoin, and the JoinState components
set to 0, except where trust is specified as indicated above, in that
case the actual contents for the above components will be provided.

Signed-off-by: Ofer Gigi <oferg@mellanox.co.il>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@280 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years agoOpenSM: trivial fix for segfault on invalid port info
eitan [Tue, 4 Apr 2006 08:53:53 +0000 (08:53 +0000)]
OpenSM: trivial fix for segfault on invalid port info

A previous patch adding explicit set remote port state DOWN in case the
local one is recycled was not safe. In the case of irresponsive remote
port, it would actually try and traverse a null pointer of the port info.

This simple fix is just a little more careful about it.
p_rem_port was also renamed to p_rem_physp as the pointer actually
points to a physical port...

Signed-off-by: Eitan Zahavi <eitan@mellanox.co.il>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@279 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[OPENSM] 1. AL_INLINE in Opensm maped to static inline to solve linker function override
eitan [Tue, 4 Apr 2006 08:51:02 +0000 (08:51 +0000)]
[OPENSM] 1. AL_INLINE in Opensm maped to static inline to solve linker function override
2. ibtrapgen sm_lid bug

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

14 years ago[HCAFWUPDATE] Update to print out PSID and handle
ftillier [Mon, 3 Apr 2006 21:43:42 +0000 (21:43 +0000)]
[HCAFWUPDATE] Update to print out PSID and handle
user data and FW configuration sections.

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

14 years ago[IBIOU] Use correct VEx and VFx device IDs when
ftillier [Mon, 3 Apr 2006 21:28:56 +0000 (21:28 +0000)]
[IBIOU] Use correct VEx and VFx device IDs when
formatting device description string.

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

14 years ago[IBBUS] Fix device strings for consistency - I/O Unit device ID comes
ftillier [Mon, 3 Apr 2006 21:27:57 +0000 (21:27 +0000)]
[IBBUS] Fix device strings for consistency - I/O Unit device ID comes
from NodeInfo, which is 16-bits.

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

14 years ago[IBAL] Fix receiving MADs with GRH in user-mode, where GRH
ftillier [Mon, 3 Apr 2006 18:06:38 +0000 (18:06 +0000)]
[IBAL] Fix receiving MADs with GRH in user-mode, where GRH
overlapped MAD buffer.

Submitted by: Yossi Leybovich (sleybo@mellanox.co.il)

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