mirror/winof/.git
14 years agoBuild 1.0.0.331
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

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 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

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

14 years ago[TOOLS] changes, caused by previous patch
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

14 years ago[MTHCA] Burning support improvements:
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

14 years ago[MTHCA] Added bugfixes and changes from Linux Gen2 code.
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

14 years ago[MTHCA] a cleanup of the FW update path
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

14 years ago[MTHCA] cleaup: remove unused global variable
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

14 years ago[MTHCA] cleanup: use include files consistently
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

14 years ago[IBAL] Fix race between user-mode PnP deregistration and PnP callbacks.
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

14 years ago[IPoIB] Fix EventMessageFile path.
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

14 years ago[MTHCA] added support for burning (for flint et al)
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

14 years ago[IPoIB] ipoib_adapter_reset: Clear PnP handle before deregistration
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

14 years ago[MT23108] Removed linker dependency on IBAL.
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

14 years ago[MTHCA] a typo
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

14 years ago[MTHCA] Return wc_type = IB_WC_SEND as default in WC processing
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

14 years ago[MTHCA] Report completion error after filling WC
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

14 years ago[MTHCA] 1. Applied - with a little improvement - a patch, removing dependency of...
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

14 years ago[IBAL] Fix error handling in __proxy_mad_recv_cb to not release a spinlock
ftillier [Wed, 29 Mar 2006 15:29:14 +0000 (15:29 +0000)]
[IBAL] Fix error handling in __proxy_mad_recv_cb to not release a spinlock
that was not acquired.

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

14 years ago[MTHCA] 1. another implementation of atomic functions, which works around MS compiler...
tzachid [Tue, 28 Mar 2006 09:23:02 +0000 (09:23 +0000)]
[MTHCA] 1. another implementation of atomic functions, which works around MS compiler bug in InterlockedOr (mt_atomic.h).
2. fix of small bugs in debug macro (mlnx_uvp_debug.h).
3. changes for using of WPP in release version.
4. compiler warning fixes (for /W4).

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

14 years ago[IBAL] Add ib_get_err_str to CI interface to allow removing
ftillier [Mon, 27 Mar 2006 19:37:31 +0000 (19:37 +0000)]
[IBAL] Add ib_get_err_str to CI interface to allow removing
linker dependency from HCA drivers on IBAL driver.

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

14 years ago[MT23108] Fix error reading CA guid from firmware image
ftillier [Mon, 27 Mar 2006 19:35:01 +0000 (19:35 +0000)]
[MT23108] Fix error reading CA guid from firmware image
on Lion Cub rev. C HCAs (and any Mellanox HCA with flash sector size != 64K)

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

14 years ago[OpenSM] - fix opts file - comment out all options. The user can undo the commenting...
eitan [Mon, 27 Mar 2006 12:10:47 +0000 (12:10 +0000)]
[OpenSM] - fix opts file - comment out all options. The user can undo the commenting out if he wants to use one of the options. Otherwise - opensm will run with its default opts.

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

14 years ago[MTHCA] (continues patch 251) remaps RDD/EEC WC status values to IB_WCS_GENERIC_ERR...
tzachid [Sun, 26 Mar 2006 13:13:48 +0000 (13:13 +0000)]
[MTHCA] (continues patch 251) remaps RDD/EEC WC status values to IB_WCS_GENERIC_ERR, and that removes the use of the qp_num field in the ib_wc_t structure

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

14 years ago[OpenSM] -
eitan [Sun, 26 Mar 2006 09:42:49 +0000 (09:42 +0000)]
[OpenSM] -
1. ib_types.h: Add defines for min/max MTU/rate
2. Disregard subn->ca_min_mtu and subn->ca_min_rate when new MC group is
created and exact MTU and/or rate values are specified.

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

14 years ago[IBAL] Add WC status codes to support MTHCA driver.
ftillier [Fri, 24 Mar 2006 22:57:09 +0000 (22:57 +0000)]
[IBAL] Add WC status codes to support MTHCA driver.

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

14 years ago[OpenSM] - Fix osmtest according to rate supported change in 1.2 spec.
eitan [Thu, 23 Mar 2006 10:06:51 +0000 (10:06 +0000)]
[OpenSM] - Fix osmtest according to rate supported change in 1.2 spec.

M    user/osmtest/osmt_multicast.c

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

14 years ago[OpenSM] -
eitan [Wed, 22 Mar 2006 08:11:06 +0000 (08:11 +0000)]
[OpenSM] -
Update according to linux trunk and also add opensm as service.

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

14 years ago[MTHCA] added alpha version of new low-level driver, supporting memfree HCA devices
tzachid [Tue, 21 Mar 2006 18:12:39 +0000 (18:12 +0000)]
[MTHCA] added alpha version of new low-level driver, supporting memfree HCA devices

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

14 years ago[tools] Added flint + mst + mread + mwrite + mtcr + spark
tzachid [Tue, 21 Mar 2006 17:13:31 +0000 (17:13 +0000)]
[tools] Added flint + mst + mread + mwrite + mtcr + spark

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

14 years ago[IPoIB] Use regular mutex so PnP callback runs at PASSIVE to support MTHCA driver.
ftillier [Wed, 15 Mar 2006 01:00:08 +0000 (01:00 +0000)]
[IPoIB] Use regular mutex so PnP callback runs at PASSIVE to support MTHCA driver.

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

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

14 years ago[IPoIB] Fix NDIS WHQL 1c_Reset test failures.
ftillier [Wed, 15 Mar 2006 00:03:33 +0000 (00:03 +0000)]
[IPoIB] Fix NDIS WHQL 1c_Reset test failures.

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

14 years ago[IPoIB] Fix NDIS WHQL 1c_OffloadInvalid test failure.
ftillier [Mon, 13 Mar 2006 18:04:04 +0000 (18:04 +0000)]
[IPoIB] Fix NDIS WHQL 1c_OffloadInvalid test failure.

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

14 years ago[OpenSM] - In osm_physp_share_pkey, no need to check pkey tables
eitan [Mon, 13 Mar 2006 08:07:16 +0000 (08:07 +0000)]
[OpenSM] - In osm_physp_share_pkey, no need to check pkey tables
when the two ports are the same

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

14 years ago[OpenSM] - cosmetic changes
eitan [Mon, 13 Mar 2006 08:06:38 +0000 (08:06 +0000)]
[OpenSM] - cosmetic changes

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

14 years ago[OpenSM] - cosmetic changes
eitan [Sun, 12 Mar 2006 13:27:19 +0000 (13:27 +0000)]
[OpenSM] - cosmetic changes

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

14 years ago[OpenSM] - cosmetic changes.
eitan [Sun, 12 Mar 2006 13:23:35 +0000 (13:23 +0000)]
[OpenSM] - cosmetic changes.

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

14 years ago[OpenSM] - OpenSM/osm_lid_mgr.c: handle different MTU
eitan [Sun, 12 Mar 2006 13:22:56 +0000 (13:22 +0000)]
[OpenSM] - OpenSM/osm_lid_mgr.c: handle different MTU

Fix a bug that in case of a difference between the MTU of two ports, only the
port with the higher MTU was set to down. It's remote port was written in the
DB in the ACTIVE state although its real status was INIT. Because of this,
the SM didn't try to lift the remote port to ACTIVE.

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

14 years ago[IPoIB] Revert previous change of method for broadcast group query
ftillier [Sat, 11 Mar 2006 01:34:34 +0000 (01:34 +0000)]
[IPoIB] Revert previous change of method for broadcast group query
back to GETTABLE.

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

14 years ago[IBAL, HCA] Provide HCA driver with UM CA handle for resource
ftillier [Fri, 10 Mar 2006 17:53:10 +0000 (17:53 +0000)]
[IBAL, HCA] Provide HCA driver with UM CA handle for resource
allocation verbs that take a CA handle.

Initially submitted by Leonid Keller (leonid@mellanox.co.il)

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

14 years agoOpenSM: Trivial memory allocation bug in parsing opensm.opts
eitan [Thu, 9 Mar 2006 13:12:29 +0000 (13:12 +0000)]
OpenSM: Trivial memory allocation bug in parsing opensm.opts

Allocation missed the null char.

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

14 years ago[OpenSM] - fix error messages to match linux trunk.
eitan [Thu, 9 Mar 2006 07:21:48 +0000 (07:21 +0000)]
[OpenSM] - fix error messages to match linux trunk.

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

14 years ago[OpenSM] - add changes in sigint handling for the linux trunk.
eitan [Wed, 8 Mar 2006 13:41:30 +0000 (13:41 +0000)]
[OpenSM] - add changes in sigint handling for the linux trunk.

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

14 years ago[OpenSM] - Add guid2lid full path name to the error message when there was a problem...
eitan [Wed, 8 Mar 2006 09:36:49 +0000 (09:36 +0000)]
[OpenSM] - Add guid2lid full path name to the error message when there was a problem with restoring the file.
Also, make sure the size of the words in guid2lid file is legal.

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

14 years ago[OpenSM] - Update according to linux gen2 trunk
eitan [Wed, 8 Mar 2006 08:29:25 +0000 (08:29 +0000)]
[OpenSM] - Update according to linux gen2 trunk

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