]>
git.openfabrics.org - ~shefty/rdma-win.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
ftillier [Thu, 18 Aug 2005 18:38:23 +0000 (18:38 +0000)]
Fix synchronization issue where a destroyed CEP could successfully issue
a GET_EVENT IOCTL due to the CID being recycled too quicly.
git-svn-id: svn://openib.tc.cornell.edu/gen1@53
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 06:06:27 +0000 (06:06 +0000)]
Update to connection manager
git-svn-id: svn://openib.tc.cornell.edu/gen1@52
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 05:57:21 +0000 (05:57 +0000)]
Fix SA request IRP cancellation leaking handles, which could cause
dereferencing freed memory.
git-svn-id: svn://openib.tc.cornell.edu/gen1@51
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 05:50:41 +0000 (05:50 +0000)]
Fix bug where failed ATS service registration would leave around stale handles
which could be freed upon cleanup, causing an access violation (dereferencing
freed memory).
git-svn-id: svn://openib.tc.cornell.edu/gen1@50
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 05:41:02 +0000 (05:41 +0000)]
Make kernel complib static
git-svn-id: svn://openib.tc.cornell.edu/gen1@49
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 00:30:12 +0000 (00:30 +0000)]
Fix bug where UVP would return non-NULL handle in case of failure
when preparing for PD, CQ, and QP allocation.
Fixed indentation of the affected functions while in there. Tabs
are your friend.
git-svn-id: svn://openib.tc.cornell.edu/gen1@48
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 00:25:44 +0000 (00:25 +0000)]
Updated resize CQ to return detailed status in case of failure.
git-svn-id: svn://openib.tc.cornell.edu/gen1@47
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 00:24:52 +0000 (00:24 +0000)]
Removed dereference of freed memory in debug output
git-svn-id: svn://openib.tc.cornell.edu/gen1@46
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 00:18:11 +0000 (00:18 +0000)]
Fixed issue where parent object pointer was set even if attach_al_obj fails.
git-svn-id: svn://openib.tc.cornell.edu/gen1@45
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 00:17:08 +0000 (00:17 +0000)]
Optimized locking in SA request send path
git-svn-id: svn://openib.tc.cornell.edu/gen1@44
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 00:16:21 +0000 (00:16 +0000)]
Fixed improper lock release in out-of-memory condition
git-svn-id: svn://openib.tc.cornell.edu/gen1@43
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 29 Jul 2005 00:07:44 +0000 (00:07 +0000)]
Fixed whitespace
git-svn-id: svn://openib.tc.cornell.edu/gen1@42
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 19 Jul 2005 00:21:49 +0000 (00:21 +0000)]
Fixed bug where IOU objects where quasi-leaked (but still freed on unload
of the drivers) if they didn't have any IOCs.
git-svn-id: svn://openib.tc.cornell.edu/gen1@41
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 12 Jul 2005 17:44:38 +0000 (17:44 +0000)]
Update to resource files to make build type explicit in product description.
Submitted by Yossi Leybovich <sleybo@mellanox.co.il>, with minor modifications.
git-svn-id: svn://openib.tc.cornell.edu/gen1@40
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 12 Jul 2005 17:36:43 +0000 (17:36 +0000)]
Adding vstat resource file.
Submitted by Yossi Leybovich <sleybo@mellanox.co.il>
git-svn-id: svn://openib.tc.cornell.edu/gen1@39
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 12 Jul 2005 00:09:08 +0000 (00:09 +0000)]
Updated properties to enable keyword expansion - really I mean it.
git-svn-id: svn://openib.tc.cornell.edu/gen1@38
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 12 Jul 2005 00:04:15 +0000 (00:04 +0000)]
Fixed ID keyword expansion.
git-svn-id: svn://openib.tc.cornell.edu/gen1@37
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 11 Jul 2005 23:31:17 +0000 (23:31 +0000)]
Adding vstat program to tools.
Provided by Dafna Levenvirth <dafna@mellanox.co.il>
git-svn-id: svn://openib.tc.cornell.edu/gen1@36
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 11 Jul 2005 23:03:30 +0000 (23:03 +0000)]
Fix ATS usage to be compliant with DAPL ATS.
git-svn-id: svn://openib.tc.cornell.edu/gen1@35
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 11 Jul 2005 20:55:02 +0000 (20:55 +0000)]
Fix bug in cl_vector_set submitted by Yossi Leybovich <sleybo@mellanox.co.il>
git-svn-id: svn://openib.tc.cornell.edu/gen1@34
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 11 Jul 2005 19:51:17 +0000 (19:51 +0000)]
Merge fab_cm_branch into trunk
git-svn-id: svn://openib.tc.cornell.edu/gen1@33
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 11 Jul 2005 19:09:34 +0000 (19:09 +0000)]
Merge with trunk.
git-svn-id: svn://openib.tc.cornell.edu/gen1@32
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Thu, 7 Jul 2005 23:39:25 +0000 (23:39 +0000)]
Cleanup debug output and added missing locking around state checks.
git-svn-id: svn://openib.tc.cornell.edu/gen1@31
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Thu, 7 Jul 2005 23:16:53 +0000 (23:16 +0000)]
Changed event notification to use interlocked operations. Fixed improper
lock usage when changing socket state. Cleaned up debug output.
git-svn-id: svn://openib.tc.cornell.edu/gen1@30
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 6 Jul 2005 23:39:41 +0000 (23:39 +0000)]
Update to the connection manager:
- Fixes reference counting issues in user-mode so that CEPs get cleaned
up when IOCTL callbacks unwind.
- Integrated IRP handling from CEP proxy into CEP manager to allow for
proper cleanup when a process exits.
- Eliminated return value from CEP event callback as it serves no purpose.
- Fixed collision in CEP state enum values.
- Fixed providing correct CA GUID when sending REJ due to timeout.
- Fixed delay calculation in MRA processing.
- Fixed freeing MADs when handling REJ.
- Fixed CEP cleanup from send completion.
- Use full CID when performing CEP lookup for incoming MADs.
- Properly trap overflow in calculating MAD timeouts (pkt_life > 39).
- Include CA GUID in REJ issued due to user aborting the connection.
git-svn-id: svn://openib.tc.cornell.edu/gen1@29
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 6 Jul 2005 19:19:26 +0000 (19:19 +0000)]
- Fixed locking issue with resuming pended sends that could
result in QP overrun.
- Changed receive processing to silently drop all loopback traffic since
the driver reports itself as needing SW loopback (which is higher performing).
- Fixed bug where code assumed that a success result from the SA implied
non-zero records. Code now checks the number of records in addition to status.
- Fixed initialization to perform PnP registration after flagging the device as
a deserialized miniport with NdisMSetAttributesEx to allow calling
NdisMSetInformation at DISPATCH level. Without this, the driver causes an
assertion in checked versions of NDIS.sys.
git-svn-id: svn://openib.tc.cornell.edu/gen1@28
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 6 Jul 2005 19:12:15 +0000 (19:12 +0000)]
- Fixed padding warning when building alts.
- Fixed line length for debug output to wrap at 80.
- Added local CM response timeout to CM tests.
git-svn-id: svn://openib.tc.cornell.edu/gen1@27
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 6 Jul 2005 19:09:22 +0000 (19:09 +0000)]
- Minor tweaks to timestamp functions
- Change thread number output from decimal to hex in debug output macros
to match thread numbering in WinDbg.
git-svn-id: svn://openib.tc.cornell.edu/gen1@26
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 6 Jul 2005 19:06:21 +0000 (19:06 +0000)]
- Fix bug in resize CQ where UVP private buffer size was advertised as larger
than allocated, causing errors when buffering in the kernel proxy.
- Kill dead code.
git-svn-id: svn://openib.tc.cornell.edu/gen1@25
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 6 Jul 2005 19:01:45 +0000 (19:01 +0000)]
Check for exact IOCTL buffer sizes in rearm IOCTL path, rather than minimum.
git-svn-id: svn://openib.tc.cornell.edu/gen1@24
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 6 Jul 2005 18:59:19 +0000 (18:59 +0000)]
Changed how SA requests are handled from user-mode. Synchronous requests
now use synchronous IOCTL processing rather than blocking in user-mode and
waiting for the IOCTL completion callback. This eliminates the potential
for deadlocks resulting from clients making synchronous SA queries from
a callback thread context.
git-svn-id: svn://openib.tc.cornell.edu/gen1@23
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 6 Jul 2005 18:55:04 +0000 (18:55 +0000)]
Fix truncation error in timeout calculation for MADs by properly casting
32-bit values to 64-bits before performing arithmetic operations.
git-svn-id: svn://openib.tc.cornell.edu/gen1@22
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 6 Jul 2005 18:49:50 +0000 (18:49 +0000)]
Fixes to suppress warnings related to structure padding.
git-svn-id: svn://openib.tc.cornell.edu/gen1@21
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 20 Jun 2005 22:45:00 +0000 (22:45 +0000)]
Fix to support Indirect Data Buffer Descriptors in SRP.
git-svn-id: svn://openib.tc.cornell.edu/gen1@20
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 20 Jun 2005 22:42:50 +0000 (22:42 +0000)]
Add new type for PDs - IB_PDT_UD - to allow HCA driver to control how the AV
limit per PD based on intended usage. AV limit for UD PDs is identical to that
of SQP PDs.
git-svn-id: svn://openib.tc.cornell.edu/gen1@19
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 31 May 2005 19:59:41 +0000 (19:59 +0000)]
Fixed uDAPL issues with new CM
git-svn-id: svn://openib.tc.cornell.edu/gen1@18
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 27 May 2005 18:42:08 +0000 (18:42 +0000)]
Merged with trunk to pickup IPoIB changes
git-svn-id: svn://openib.tc.cornell.edu/gen1@17
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 27 May 2005 18:31:10 +0000 (18:31 +0000)]
Added code to generate LAA MAC addresses when a port GUID
does not have a known algorithm for creating a valid
Globally Unique MAC address.
git-svn-id: svn://openib.tc.cornell.edu/gen1@16
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Fri, 27 May 2005 07:15:13 +0000 (07:15 +0000)]
removed exceedingly long line to keep diffs from wrapping
git-svn-id: svn://openib.tc.cornell.edu/gen1@15
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Wed, 25 May 2005 00:09:17 +0000 (00:09 +0000)]
Fixed Id keyword to expand properly
git-svn-id: svn://openib.tc.cornell.edu/gen1@14
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 24 May 2005 23:41:08 +0000 (23:41 +0000)]
new CM implementation
git-svn-id: svn://openib.tc.cornell.edu/gen1@13
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 24 May 2005 23:10:42 +0000 (23:10 +0000)]
Really merged with trunk this time, I think for sure maybe.
git-svn-id: svn://openib.tc.cornell.edu/gen1@12
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 24 May 2005 22:50:47 +0000 (22:50 +0000)]
Merged with trunk
git-svn-id: svn://openib.tc.cornell.edu/gen1@11
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Tue, 24 May 2005 00:33:03 +0000 (00:33 +0000)]
removed Revison keyword since ID keyword exists, deleted unused files
git-svn-id: svn://openib.tc.cornell.edu/gen1@10
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 23 May 2005 22:38:08 +0000 (22:38 +0000)]
Learning to use SVN - fixed the ID keyword expansion stuff (I think)
git-svn-id: svn://openib.tc.cornell.edu/gen1@9
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 23 May 2005 22:12:46 +0000 (22:12 +0000)]
Removed ', Inc' from 'SilverStorm Technologies'
git-svn-id: svn://openib.tc.cornell.edu/gen1@8
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 23 May 2005 19:32:38 +0000 (19:32 +0000)]
Fixed Id keyword in source files
git-svn-id: svn://openib.tc.cornell.edu/gen1@7
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86
ftillier [Mon, 23 May 2005 19:05:44 +0000 (19:05 +0000)]
Added expansion of Id keyword for all C, CPP, and H files
git-svn-id: svn://openib.tc.cornell.edu/gen1@6
ad392aa1 -c5ef-ae45-8dd8-
e69d62a5ef86