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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@319
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 15.4.1.2 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
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
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
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
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
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
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
leonidk [Mon, 3 Apr 2006 13:57:03 +0000 (13:57 +0000)]
[TOOLS] changes, caused by previous patch
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@273
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Mon, 3 Apr 2006 13:54:30 +0000 (13:54 +0000)]
[MTHCA] Burning support improvements:
1. added support of multiple simult. pciconf devices;
2. removed support for several CR space mappings for one process;
3. PCI bus interface is now taken only once;
4. Fixed bug with handling positive non-zero NTSTATUSes;
5. Removed unused unmap_crspace structure;
6. General cleaning;
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@272
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 2 Apr 2006 19:39:37 +0000 (19:39 +0000)]
[MTHCA] Added bugfixes and changes from Linux Gen2 code.
[MTHCA] (LinuxGen2-rev5521) Add support to IBV_SEND_FENCE in post_send.
[MTHCA] (LinuxGen2-rev5520) Add support to IBV_SEND_FENCE in post_send.
[MTHCA] (LinuxGen2-rev5476) Have mthca's create_srq method return the actual capacity of the SRQ that gets created. Also update comments in <rdma/ib_verbs.h> to clarify that this is what is expected from ib_create_srq().
[MTHCA] (LinuxGen2-rev5293) Generate SQ drained events when requested
[MTHCA] (LinuxGen2-rev5369) When debugging is enabled, the mthca_QUERY_DEV_LIM() firmware command
function prints out some of the device limits that it queries.
However the debugging prints happen before all of the fields are
extracted from the firmware response, so some of the values that get
printed are uninitialized junk. Move the prints to the end of the
function to fix this.
[MTHCA] (LinuxGen2-rev5275) Fixing stuff for FMR, not ported yet
[MTHCA] (LinuxGen2-rev5273) Adding stuff for FMR, not ported yet
[MTHCA] (LinuxGen2-rev5244) Cleaning: Remove useless "extern" from function declarations.
[MTHCA] (LinuxGen2-rev5243) Cleaning: remove might_sleep()
[MTHCA] (LinuxGen2-rev5242) Make functions that never fail return void
[MTHCA] (LinuxGen2-rev5223) We have run into the following problem: if a task receives a signal
while in the process of e.g. destroying a resource (which could be
because the relevant file was closed) mthca could bail out from trying
to take a command interface semaphore without performing the
appropriate command to tell hardware that the resource is being
destroyed.As a result we see messages like
ib_mthca 0000:04:00.0: HW2SW_CQ failed (-4)
[MTHCA] (LinuxGen2-rev5221) There are some cards around that have UAR (user access region) size different from 8 MB. Relax our sanity check to make sure that the PCI BAR is big enough to access the UAR size reported by the device firmware instead.
[MTHCA] (LinuxGen2-rev5220) Fix typo in overflow test in mthca receive posting.
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@271
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 2 Apr 2006 09:38:04 +0000 (09:38 +0000)]
[MTHCA] a cleanup of the FW update path
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@270
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 2 Apr 2006 09:04:24 +0000 (09:04 +0000)]
[MTHCA] cleaup: remove unused global variable
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@269
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Sun, 2 Apr 2006 08:58:52 +0000 (08:58 +0000)]
[MTHCA] cleanup: use include files consistently
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@268
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 31 Mar 2006 22:05:19 +0000 (22:05 +0000)]
[IBAL] Fix race between user-mode PnP deregistration and PnP callbacks.
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@267
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 31 Mar 2006 19:15:35 +0000 (19:15 +0000)]
[IPoIB] Fix EventMessageFile path.
Submitted by Leonid Keller (leonid@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@266
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Thu, 30 Mar 2006 19:51:23 +0000 (19:51 +0000)]
[MTHCA] added support for burning (for flint et al)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@265
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Thu, 30 Mar 2006 19:37:16 +0000 (19:37 +0000)]
[IPoIB] ipoib_adapter_reset: Clear PnP handle before deregistration
to close race with __ipoib_pnp_dereg.
Originally submitted by Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@264
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Thu, 30 Mar 2006 18:27:03 +0000 (18:27 +0000)]
[MT23108] Removed linker dependency on IBAL.
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@263
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Thu, 30 Mar 2006 08:45:08 +0000 (08:45 +0000)]
[MTHCA] a typo
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@262
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Wed, 29 Mar 2006 18:18:11 +0000 (18:18 +0000)]
[MTHCA] Return wc_type = IB_WC_SEND as default in WC processing
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@261
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
leonidk [Wed, 29 Mar 2006 18:08:06 +0000 (18:08 +0000)]
[MTHCA] Report completion error after filling WC
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@260
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
tzachid [Wed, 29 Mar 2006 17:14:21 +0000 (17:14 +0000)]
[MTHCA] 1. Applied - with a little improvement - a patch, removing dependency of MTCHA driver from IBAL.SYS.
2. Applied a patch for support of user-mode calls without a UVP.
3. Applied a patch, eliminating usage of mt_time.h and its abstraction.
4. Cleaning: Removed most of the '#ifdef WIN_TO_BE_CHANGED' stuff.
5. Cleaning: Removed '#if 0'.
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@259
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86