]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
18 years ago[IBAL] Fix crash when creating a MAD service with duplicate
ftillier [Wed, 16 Nov 2005 17:25:13 +0000 (17:25 +0000)]
[IBAL] Fix crash when creating a MAD service with duplicate
settings to an existing one.

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

18 years ago[IBAL] Incremented interface version to account for ib_ca_attr
ftillier [Mon, 14 Nov 2005 18:53:32 +0000 (18:53 +0000)]
[IBAL] Incremented interface version to account for ib_ca_attr
changes from revision 146.

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

18 years ago[IBAL] Handle RMPP AttributeOffset = 0.
ftillier [Mon, 14 Nov 2005 18:41:29 +0000 (18:41 +0000)]
[IBAL] Handle RMPP AttributeOffset = 0.

Submitted by Guy Corem (guyc@voltaire.com)

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

18 years ago[OpenSM] Fix in lid mgr to avoid inifinite loop.
eitan [Sun, 13 Nov 2005 10:06:18 +0000 (10:06 +0000)]
[OpenSM] Fix in lid mgr to avoid inifinite loop.

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

18 years ago[WSD] Fix incorect check on logging file creation.
ftillier [Thu, 10 Nov 2005 18:16:24 +0000 (18:16 +0000)]
[WSD] Fix incorect check on logging file creation.

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

18 years ago[OpenSM] - Fix PRIx64 definition
eitan [Tue, 8 Nov 2005 10:32:44 +0000 (10:32 +0000)]
[OpenSM] - Fix PRIx64 definition

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

18 years ago[OpenSM] Add FW version to CA attributes.
eitan [Tue, 8 Nov 2005 09:39:07 +0000 (09:39 +0000)]
[OpenSM] Add FW version to CA attributes.

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

18 years ago[IBAL, HCA, VSTAT] Add FW version to CA attributes.
ftillier [Mon, 7 Nov 2005 19:30:51 +0000 (19:30 +0000)]
[IBAL, HCA, VSTAT] Add FW version to CA attributes.

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

18 years ago[WSD] Fix missing return value during duplication causing
ftillier [Mon, 7 Nov 2005 19:21:55 +0000 (19:21 +0000)]
[WSD] Fix missing return value during duplication causing
duplication to always fail.

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

18 years agoIn osm_ucast_mgr, where osm_req_set is called for SwitchInfo,
eitan [Mon, 7 Nov 2005 13:52:13 +0000 (13:52 +0000)]
In osm_ucast_mgr, where osm_req_set is called for SwitchInfo,
fix bug where it copies more memory than it should into the SMP.

While running opensm with valgrind, it was found out that there is a
problemĀ  with osm_req_set function. It clears the madw.data by size of
IB_SMP_DATA_SIZE, but the function doesn't require a payload of this
size. In osm_ucast_mgr there was a call to the function with a payload
of smaller size (for SwitchInfo).

To fix it, payload_size to the osm_req_set was added.

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

18 years agoOpenSM: Don't obtain PKeyTables on switch when partition enforcement
eitan [Thu, 3 Nov 2005 13:15:15 +0000 (13:15 +0000)]
OpenSM: Don't obtain PKeyTables on switch when partition enforcement
option not supported. Part of patch supplied by Brad Benton
<brad.benton@us.ibm.com>

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

18 years agoOpenSM: Clear port number in attribute modifier for P_KeyTable when not switch
eitan [Thu, 3 Nov 2005 13:12:45 +0000 (13:12 +0000)]
OpenSM: Clear port number in attribute modifier for P_KeyTable when not switch

When obtaining the P_KeyTable, clear the high 16 bits of the attribute
modifier when node is not a switch. This is supposed to be an ignore
field but not all implementations are conformant with this.

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

18 years ago[WSD] Add support for logging last 20MB for each of sent and received
ftillier [Wed, 2 Nov 2005 22:31:26 +0000 (22:31 +0000)]
[WSD] Add support for logging last 20MB for each of sent and received
data, based on work by Tzachi Dar.  Also fixed bug with flushed receive
work requests during socket duplictaion.

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

18 years ago[IPoIB] Use instance parameters for service registration timeout
ftillier [Wed, 2 Nov 2005 22:21:19 +0000 (22:21 +0000)]
[IPoIB] Use instance parameters for service registration timeout
and retry count.

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

18 years ago[VSTAT] Minor cleanup
ftillier [Wed, 2 Nov 2005 22:20:39 +0000 (22:20 +0000)]
[VSTAT] Minor cleanup

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

18 years ago[HCA] Distinguish between Tavor and Arbel HCAs, report correct device ID
ftillier [Wed, 2 Nov 2005 22:19:43 +0000 (22:19 +0000)]
[HCA] Distinguish between Tavor and Arbel HCAs, report correct device ID
in CA attributes.

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

18 years ago[HCA] Fix copy of CA attributes to properly update internal pointers.
ftillier [Wed, 2 Nov 2005 22:17:08 +0000 (22:17 +0000)]
[HCA] Fix copy of CA attributes to properly update internal pointers.

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

18 years agoAdd YottaYotta to known SMs.
eitan [Wed, 2 Nov 2005 06:41:55 +0000 (06:41 +0000)]
Add YottaYotta to known SMs.

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

18 years ago[OpenSM] - patch for the lmc fix - the assert is wrongly placed. Just make sure
eitan [Mon, 31 Oct 2005 13:38:09 +0000 (13:38 +0000)]
[OpenSM] - patch for the lmc fix - the assert is wrongly placed. Just make sure
this is a discovered port.

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

18 years ago[OpenSM] - Fix race bug - looking at the qp0_mads_outstanding was done in a lock
eitan [Mon, 31 Oct 2005 12:20:45 +0000 (12:20 +0000)]
[OpenSM] - Fix race bug - looking at the qp0_mads_outstanding was done in a lock
after decrementing it.
The signaling was done according to the value viewed on the qp0_mads_outstanding, and not on the new value updated.
As result - can receive a signal of NO_PENDING_TRANSACTIONS outside of its place.

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

18 years agoFix problem in debug compilation.
eitan [Sun, 30 Oct 2005 11:36:34 +0000 (11:36 +0000)]
Fix problem in debug compilation.

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

18 years agoAdded client_reregister display into PortInfo dump in osm_helper.c
eitan [Sun, 30 Oct 2005 08:29:09 +0000 (08:29 +0000)]
Added client_reregister display into PortInfo dump in osm_helper.c
Also, fixed some typos in another log message and another comment

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

18 years ago[OpenSM] - Change executable name to opensm.exe under both debug and free versions.
eitan [Sun, 30 Oct 2005 07:50:02 +0000 (07:50 +0000)]
[OpenSM] - Change executable name to opensm.exe under both debug and free versions.

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

18 years ago[OpenSM] fix lmc assignment algorithm.
eitan [Thu, 27 Oct 2005 13:06:05 +0000 (13:06 +0000)]
[OpenSM] fix lmc assignment algorithm.

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

18 years agoAdd the up-down routing algorithm options to the opensm options.
eitan [Sun, 23 Oct 2005 13:20:42 +0000 (13:20 +0000)]
Add the up-down routing algorithm options to the opensm options.

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

18 years agoFix problem in reading long options from the command line.
eitan [Thu, 20 Oct 2005 11:57:14 +0000 (11:57 +0000)]
Fix problem in reading long options from the command line.

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

18 years agoUpdate to version information to allow vendor customization
ftillier [Thu, 20 Oct 2005 04:34:17 +0000 (04:34 +0000)]
Update to version information to allow vendor customization

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@127 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years agoAdded low level driver
tzachid [Wed, 19 Oct 2005 16:45:05 +0000 (16:45 +0000)]
Added low level driver

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

18 years agoA branch for the new low level driver
tzachid [Wed, 19 Oct 2005 15:28:23 +0000 (15:28 +0000)]
A branch for the new low level driver

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

18 years agoFix bug - in osm_vendor_local_lid_change do not need to change the directed route...
eitan [Wed, 19 Oct 2005 11:27:36 +0000 (11:27 +0000)]
Fix bug - in osm_vendor_local_lid_change do not need to change the directed route address vector, since only LID has changed.
Destroying and then creating it again can cause problems, since callback functions might try to use this address vector after its destruction and before the creation.

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

18 years agoOpenIB branding
ftillier [Tue, 18 Oct 2005 22:03:10 +0000 (22:03 +0000)]
OpenIB branding

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@123 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years agoRemove unneccessary slash in file name. The slash exists in the default directory...
eitan [Mon, 17 Oct 2005 10:17:00 +0000 (10:17 +0000)]
Remove unneccessary slash in file name. The slash exists in the default directory name.

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

18 years agoRemove lines added by pervious merge.
eitan [Mon, 17 Oct 2005 10:15:30 +0000 (10:15 +0000)]
Remove lines added by pervious merge.

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

18 years agoupdated service lease period from 1 to 4 seconds to avoid service flow failures on...
eitan [Mon, 17 Oct 2005 06:23:58 +0000 (06:23 +0000)]
updated service lease period from 1 to 4 seconds to avoid service flow failures on minimal time.

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

18 years ago[IBAL] Fix AV creation on user-mode PD aliases.
ftillier [Mon, 17 Oct 2005 04:12:58 +0000 (04:12 +0000)]
[IBAL] Fix AV creation on user-mode PD aliases.

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

18 years ago[SRP] Properly format and cap the number of memory descriptors in
ftillier [Mon, 17 Oct 2005 04:07:31 +0000 (04:07 +0000)]
[SRP] Properly format and cap the number of memory descriptors in
IDBD information units.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@118 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years agoFix place of debug message to help in tracking mads down.
eitan [Sun, 16 Oct 2005 07:33:18 +0000 (07:33 +0000)]
Fix place of debug message to help in tracking mads down.

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

18 years agoFix saving of accum flag in cache options file.
eitan [Wed, 12 Oct 2005 08:46:51 +0000 (08:46 +0000)]
Fix saving of accum flag in cache options file.

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

18 years agoFix bug: When there is an error in the osm_vendor_send call,
eitan [Wed, 12 Oct 2005 08:14:52 +0000 (08:14 +0000)]
Fix bug: When there is an error in the osm_vendor_send call,
need to decrement several mad counters and call the dispatcher,
if we reached '0' on the qp0_mads_outstanding.

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

18 years agoAdd debug message to help in tracking mads down.
eitan [Wed, 12 Oct 2005 08:01:36 +0000 (08:01 +0000)]
Add debug message to help in tracking mads down.

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

18 years agoChange value of LOG_INFO to match that used in complib.
eitan [Wed, 12 Oct 2005 08:00:20 +0000 (08:00 +0000)]
Change value of LOG_INFO to match that used in complib.

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

18 years agoAdd a fix for the previous patch - enabling non accumulation of log.
eitan [Wed, 12 Oct 2005 06:27:38 +0000 (06:27 +0000)]
Add a fix for the previous patch - enabling non accumulation of log.

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

18 years agoAdd -e flag to main in order to enable starting a new log file,
eitan [Wed, 12 Oct 2005 06:25:26 +0000 (06:25 +0000)]
Add -e flag to main in order to enable starting a new log file,
instead of accumulating it.

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

18 years ago[HCA] Add calls to secure address ranges associated with
ftillier [Tue, 11 Oct 2005 22:15:58 +0000 (22:15 +0000)]
[HCA] Add calls to secure address ranges associated with
user-mode memory registrations.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@110 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years agoFix - if file can be opened but cannot be read for some reason - ignore it,
eitan [Tue, 11 Oct 2005 13:02:17 +0000 (13:02 +0000)]
Fix - if file can be opened but cannot be read for some reason - ignore it,
and do not exit with error.

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

18 years ago[ALTS] Add testing of AV with GRH.
ftillier [Mon, 10 Oct 2005 20:04:07 +0000 (20:04 +0000)]
[ALTS] Add testing of AV with GRH.

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

18 years ago[HCA] Copy CA attributes into internal cache to allow GID to GID index
ftillier [Mon, 10 Oct 2005 20:03:26 +0000 (20:03 +0000)]
[HCA] Copy CA attributes into internal cache to allow GID to GID index
lookup when creating AVs.

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

18 years ago[IBAL] Handle RMPP send payload < MAD buffer length
ftillier [Mon, 10 Oct 2005 19:54:53 +0000 (19:54 +0000)]
[IBAL] Handle RMPP send payload < MAD buffer length

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@106 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[HCA] Set QP modify masks even for mandatory fields as THH depends on it.
ftillier [Mon, 10 Oct 2005 19:30:13 +0000 (19:30 +0000)]
[HCA] Set QP modify masks even for mandatory fields as THH depends on it.

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

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

18 years ago[WSD] Add IBWSD_POLL environment variable to allow provider to poll for
ftillier [Mon, 10 Oct 2005 19:23:56 +0000 (19:23 +0000)]
[WSD] Add IBWSD_POLL environment variable to allow provider to poll for
completions, improving latencies.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@104 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years agoFix function name in debug message.
eitan [Sun, 9 Oct 2005 11:30:15 +0000 (11:30 +0000)]
Fix function name in debug message.

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

18 years ago[WSD] Fix MR caching to properly flush both local and RDMA registrations.
ftillier [Fri, 7 Oct 2005 18:39:18 +0000 (18:39 +0000)]
[WSD] Fix MR caching to properly flush both local and RDMA registrations.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@102 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[ALTS] Fix missing parameters to debug output to fix build error.
ftillier [Mon, 3 Oct 2005 23:53:41 +0000 (23:53 +0000)]
[ALTS] Fix missing parameters to debug output to fix build error.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@101 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years agoRemove extra line in printing
eitan [Tue, 27 Sep 2005 12:11:14 +0000 (12:11 +0000)]
Remove extra line in printing

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

18 years agoNew opensm component
eitan [Tue, 27 Sep 2005 07:59:33 +0000 (07:59 +0000)]
New opensm component

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

18 years agoReverted changes to files for which stale copies were accidentally
ftillier [Tue, 27 Sep 2005 03:50:44 +0000 (03:50 +0000)]
Reverted changes to files for which stale copies were accidentally
committed in revision 84.

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

18 years ago[WSD] Rework connection establishment/tear down
ftillier [Tue, 27 Sep 2005 00:57:44 +0000 (00:57 +0000)]
[WSD] Rework connection establishment/tear down
- Split IBSPAccept into two functions, one to check if connection should be
accepted, the other to actually accept the connection.
- Moved MRA into CF_DEFER case in IBSPAccept.
- Fixed IBSPAccept error case flow to properly cleanup.
- Moved allocation of incoming connection request to listen case only.
- Don't wait for RTU in IBSPAccept, continue optimistically assuming we'll
get the RTU.  If we get a REJ, we'll tear down the socket and report an error.
- Close the switch socket from within IBSPAccept (or IBSPSocket for
duplication) before destroying the QP to prevent the QP destroy callback from
invoking the upcall to destroy the socket.
- Reduce lock contention and thrashing during socket cleanup/disconnection.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@97 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Make QP destruction asynchronous to speed up socket closure.
ftillier [Tue, 27 Sep 2005 00:48:36 +0000 (00:48 +0000)]
[WSD] Make QP destruction asynchronous to speed up socket closure.
Cleanup socket creation by consolitdating operations into create_socket_info.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@96 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Use socket reference count to control destruction.
ftillier [Tue, 27 Sep 2005 00:45:47 +0000 (00:45 +0000)]
[WSD] Use socket reference count to control destruction.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@95 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Fix startup issues in free builds where _DllMain was getting inlined,
ftillier [Tue, 27 Sep 2005 00:42:13 +0000 (00:42 +0000)]
[WSD] Fix startup issues in free builds where _DllMain was getting inlined,
causing the stack overflow detection to incorrectly fire.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@94 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] A failed accept should go to IBSP_CREATE, not IBSP_BIND.
ftillier [Tue, 27 Sep 2005 00:40:32 +0000 (00:40 +0000)]
[WSD] A failed accept should go to IBSP_CREATE, not IBSP_BIND.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@93 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Enhanced control over debug output.
ftillier [Tue, 27 Sep 2005 00:38:40 +0000 (00:38 +0000)]
[WSD] Enhanced control over debug output.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@92 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Add support for multiple CQs to allow more than 3000 sockets per process.
ftillier [Tue, 27 Sep 2005 00:34:40 +0000 (00:34 +0000)]
[WSD] Add support for multiple CQs to allow more than 3000 sockets per process.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@91 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Remove sockets from tracking map when RTU or duplication fails.
ftillier [Tue, 27 Sep 2005 00:29:35 +0000 (00:29 +0000)]
[WSD] Remove sockets from tracking map when RTU or duplication fails.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@90 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Only send DREP if we changed socket state. No need to send if in
ftillier [Tue, 27 Sep 2005 00:27:19 +0000 (00:27 +0000)]
[WSD] Only send DREP if we changed socket state.  No need to send if in
other states since it will have been sent by some other means (e.g. QP
destruction).

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@89 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Add locking around state checks.
ftillier [Tue, 27 Sep 2005 00:25:10 +0000 (00:25 +0000)]
[WSD] Add locking around state checks.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@88 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Change ib_listen to return an error value rather than set it
ftillier [Tue, 27 Sep 2005 00:22:59 +0000 (00:22 +0000)]
[WSD] Change ib_listen to return an error value rather than set it
as output parameter.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@87 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Changed all debug macros to use IBSP_XXX instead of CL_XXX - it makes
ftillier [Tue, 27 Sep 2005 00:20:06 +0000 (00:20 +0000)]
[WSD] Changed all debug macros to use IBSP_XXX instead of CL_XXX - it makes
the code much easier to read.  Re-applied changes to ibspdll.rc resource file
lost in previous checkin.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@86 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Fix collision between event handles used in connect/disconnect and
ftillier [Tue, 27 Sep 2005 00:13:42 +0000 (00:13 +0000)]
[WSD] Fix collision between event handles used in connect/disconnect and
listen handle.  Eliminated cleanup thread, simplified and improvided socket
cleanup.

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

18 years ago[WSD] Added missing connection tracking calls, fixed IP address map usage
ftillier [Tue, 27 Sep 2005 00:08:26 +0000 (00:08 +0000)]
[WSD] Added missing connection tracking calls, fixed IP address map usage
to prevent underflow/overflow during key comparisson which could result in
items being unreachable when tree is subsequently rotated, and minor code
cleanup in PnP and SA query code

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@84 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[WSD] Update to CM interaction. Added tracking of connections by
ftillier [Tue, 27 Sep 2005 00:03:54 +0000 (00:03 +0000)]
[WSD] Update to CM interaction.  Added tracking of connections by
source/destination IP/port to guarantee unique connections - an
undocumented requirement for providers.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@83 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[IBAL] Add documentation for ib_grh_t, fix wr_type string array to
ftillier [Fri, 23 Sep 2005 05:15:55 +0000 (05:15 +0000)]
[IBAL] Add documentation for ib_grh_t, fix wr_type string array to
account for WR_SEND starting at 1.

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

18 years ago[HCA] Fix solicited CQ event notification request
ftillier [Fri, 23 Sep 2005 02:58:30 +0000 (02:58 +0000)]
[HCA] Fix solicited CQ event notification request

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

18 years ago[VSTAT] Display port MTU in human readable format.
ftillier [Thu, 22 Sep 2005 04:55:17 +0000 (04:55 +0000)]
[VSTAT] Display port MTU in human readable format.

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

18 years ago[HCA] query MR must return RKey in network byte order.
ftillier [Thu, 22 Sep 2005 04:42:47 +0000 (04:42 +0000)]
[HCA] query MR must return RKey in network byte order.
[ALTS] Check that RKey and LKey for MR query match those returned by MR create.

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

18 years agoCreating branch for SC05 demos
ftillier [Mon, 19 Sep 2005 20:14:03 +0000 (20:14 +0000)]
Creating branch for SC05 demos

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

18 years ago[VSTAT] Code cleanup to remove dependency on ALTS and removing unneeded files.
ftillier [Mon, 19 Sep 2005 18:35:03 +0000 (18:35 +0000)]
[VSTAT] Code cleanup to remove dependency on ALTS and removing unneeded files.

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

18 years ago[COMPLIB] Renamed cl_get_frequency to cl_get_tick_freq to clarify the scope
ftillier [Mon, 19 Sep 2005 07:40:13 +0000 (07:40 +0000)]
[COMPLIB] Renamed cl_get_frequency to cl_get_tick_freq to clarify the scope
of the function.  It does not necessarilly give the frequency of the CPUs.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@76 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[COMPLIB] Add support for retrieveing high resolution counter tick
ftillier [Mon, 19 Sep 2005 07:32:51 +0000 (07:32 +0000)]
[COMPLIB] Add support for retrieveing high resolution counter tick
count and frequency.

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

18 years ago[HCA] Fix async event handling.
ftillier [Mon, 19 Sep 2005 07:14:09 +0000 (07:14 +0000)]
[HCA] Fix async event handling.

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

18 years agoInline implementation of qlockpool functionality used by OpenSM.
ftillier [Mon, 19 Sep 2005 07:04:14 +0000 (07:04 +0000)]
Inline implementation of qlockpool functionality used by OpenSM.

Submitted by Yael Kalka (yael@mellanox.co.il)

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

18 years agoRemove support for recursive CL_INIT/CL_DEINIT calls.
ftillier [Mon, 19 Sep 2005 06:48:49 +0000 (06:48 +0000)]
Remove support for recursive CL_INIT/CL_DEINIT calls.
Added clearing gp_mem_tracker pointer after destruction.

Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@72 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[IPoIB] Add unload handler and call CL_INIT from DriverEntry and CL_DEINIT
ftillier [Mon, 19 Sep 2005 06:13:56 +0000 (06:13 +0000)]
[IPoIB] Add unload handler and call CL_INIT from DriverEntry and CL_DEINIT
from the unload handler.  Eliminates need for recursive CL_INIT and CL_DEINIT
support.

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

18 years ago[IPoIB] Track adapters instances in a list.
ftillier [Fri, 16 Sep 2005 19:36:20 +0000 (19:36 +0000)]
[IPoIB] Track adapters instances in a list.

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

18 years agoAdd support for SM, LID, and GID change by flagging adapter as hung.
ftillier [Fri, 16 Sep 2005 18:52:31 +0000 (18:52 +0000)]
Add support for SM, LID, and GID change by flagging adapter as hung.
Tweaks to debug output sumbitted by Yossi Leybovich (sleybo@mellanox.co.il)

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

18 years ago[HCA] Add client reregister support.
ftillier [Thu, 15 Sep 2005 16:31:31 +0000 (16:31 +0000)]
[HCA] Add client reregister support.
Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1@68 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[IBAL] Add support for SM Client Reregister.
ftillier [Wed, 14 Sep 2005 20:35:08 +0000 (20:35 +0000)]
[IBAL] Add support for SM Client Reregister.
Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1@67 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

18 years ago[Complib] Fix bug in cl_vector_get to order of parameters for copy,
ftillier [Wed, 14 Sep 2005 18:44:21 +0000 (18:44 +0000)]
[Complib] Fix bug in cl_vector_get to order of parameters for copy,
add state check assertions to cl_obj lock/unlock
Submitted by Yossi Leybovich <sleybo@mellanox.co.il>

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

18 years agoAdd support for enum to string conversion of wr_type. Fix bug in
ftillier [Wed, 14 Sep 2005 18:17:10 +0000 (18:17 +0000)]
Add support for enum to string conversion of wr_type.  Fix bug in
async_event enum to string function and type in docs.
Submitted by Yossi Leybovich <sleybo@mellanox.co.il>

Changed other string arrays to match declaration and naming syntax
of wr_type string.

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

18 years ago- Fix bug in HCA driver where ib_query_cq would return
ftillier [Mon, 12 Sep 2005 18:36:50 +0000 (18:36 +0000)]
- Fix bug in HCA driver where ib_query_cq would return
the total size of the CQ without taking into account spare CQEs.
- Add capability for ib_query_cq to be handled fully in user-mode.
- Implement support in UVP for query cq to account for spare CQEs.

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

18 years ago[IBAL] Fixed bug with reference counting when listen fails due
ftillier [Mon, 12 Sep 2005 18:08:39 +0000 (18:08 +0000)]
[IBAL] Fixed bug with reference counting when listen fails due
to duplicate settings.

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

18 years ago[IBAL] Fixed bug where a call to al_cep_listen with a CEP in CEP_STATE_PRE_REQ
ftillier [Mon, 12 Sep 2005 18:07:43 +0000 (18:07 +0000)]
[IBAL] Fixed bug where a call to al_cep_listen with a CEP in CEP_STATE_PRE_REQ
would free the MAD allocated in al_cep_pre_req, but not change the state.
If al_cep_listen fails, the state wouldn't be changed to reflect that the MAD
was returned and a subsequent call would attempt to free a NULL MAD.

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

18 years agoALTS: Add create/destroy QP test case
ftillier [Tue, 6 Sep 2005 19:30:32 +0000 (19:30 +0000)]
ALTS: Add create/destroy QP test case
Submitted by Yossi Leybovich <sleybo@mellanox.co.il>

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

18 years agoFix create RC/UC QP with invalid CQ: initialize CID member in init_base_qp.
ftillier [Tue, 6 Sep 2005 19:16:44 +0000 (19:16 +0000)]
Fix create RC/UC QP with invalid CQ: initialize CID member in init_base_qp.
Submitted by Yossi Leybovich <sleybo@mellanox.co.il>

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

18 years agoAllow cl_timer_stop to be called from timer callback thread.
ftillier [Fri, 2 Sep 2005 22:18:06 +0000 (22:18 +0000)]
Allow cl_timer_stop to be called from timer callback thread.

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

18 years agoFix for documentation typos that prevented robodoc from working.
ftillier [Fri, 2 Sep 2005 22:01:29 +0000 (22:01 +0000)]
Fix for documentation typos that prevented robodoc from working.
Submitted by Dafna Levenvirth <dafna@mellanox.co.il>

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

18 years agoFixed documentation for ib_modify_av and ib_create_cq
ftillier [Fri, 2 Sep 2005 21:48:21 +0000 (21:48 +0000)]
Fixed documentation for ib_modify_av and ib_create_cq
Submitted by Dafna Levenvirth <dafna@mellanox.co.il>

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

18 years agoMake address vectors work in user-mode. Components affected are UAL and UVP.
ftillier [Fri, 2 Sep 2005 21:36:42 +0000 (21:36 +0000)]
Make address vectors work in user-mode.  Components affected are UAL and UVP.

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

18 years agoFixed bug where proxy_send_sa_req could return without releasing lock.
ftillier [Fri, 2 Sep 2005 21:28:31 +0000 (21:28 +0000)]
Fixed bug where proxy_send_sa_req could return without releasing lock.

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

18 years agoFixed bug where objects would be left in their parent's child list even in
ftillier [Thu, 18 Aug 2005 18:40:19 +0000 (18:40 +0000)]
Fixed bug where objects would be left in their parent's child list even in
case of error.  This would lead to list corruption.

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