]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
15 years agowinverbs: process connect and accept asynchronously
shefty [Tue, 9 Jun 2009 16:40:06 +0000 (16:40 +0000)]
winverbs: process connect and accept asynchronously

Allow processing of EP:Connect and EP:Accept calls asynchronously.  The
librdmacm uses events to report the completion of rdma_connect and
rdma_accept calls, which allows users of that interface to take advantage
of asynchronous operation.  Modify the winverbs kernel driver to
queue connect/accept calls to a system thread for better parallelism.

This improves the measured connection rate of rdma_cmatose by 3%.  The
connection rate includes address resolution, route resolution, PD/CQ/QP
creation and state transitions, memory registration, posting of receive
buffers, and CM message exchanges.  This patch effectively only improves
the parallelism of modify QP.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2239 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibrdmacm/cmatose: add performance counters
shefty [Tue, 9 Jun 2009 16:37:34 +0000 (16:37 +0000)]
librdmacm/cmatose: add performance counters

Add counters to time connection establishment rates.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2238 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibrdmacm/cmatose: add performance counters
shefty [Tue, 9 Jun 2009 16:37:10 +0000 (16:37 +0000)]
librdmacm/cmatose: add performance counters

Add counters to time connection establishment rates.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2237 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoupdate to trunk svn 2233
shefty [Thu, 4 Jun 2009 18:57:59 +0000 (18:57 +0000)]
update to trunk svn 2233

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

15 years agonetdirect: replace 'localhost' with '..localmachine'
shefty [Thu, 4 Jun 2009 18:51:56 +0000 (18:51 +0000)]
netdirect: replace 'localhost' with '..localmachine'

Use of 'localhost' does not work with getaddrinfo to return all available IP addresses, but '..localmachine' does.  A bug was submitted to MS regarding the issue.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2235 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agodapl: add support for common net device names
shefty [Thu, 4 Jun 2009 18:50:23 +0000 (18:50 +0000)]
dapl: add support for common net device names

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2234 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agodapl: update to git commit e8991b8f0877b0e2e857717e1140c679e9266abe
shefty [Thu, 4 Jun 2009 18:49:12 +0000 (18:49 +0000)]
dapl: update to git commit e8991b8f0877b0e2e857717e1140c679e9266abe

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2233 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs: export WvGetObject as extern C
shefty [Wed, 3 Jun 2009 17:44:16 +0000 (17:44 +0000)]
winverbs: export WvGetObject as extern C

If a standard C program or library tries to link against winverbs, it will fail
because of C++ name decoration.  Export the WvGetObject call using C naming
conventions.

This allows DAPL to link directly against winverbs.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2232 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs: export WvGetObject as extern C
shefty [Wed, 3 Jun 2009 17:43:33 +0000 (17:43 +0000)]
winverbs: export WvGetObject as extern C

If a standard C program or library tries to link against winverbs, it will fail
because of C++ name decoration.  Export the WvGetObject call using C naming
conventions.

This allows DAPL to link directly against winverbs.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2231 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[mthca] Fix a build break. [mlnx: 4411]
leonidk [Tue, 2 Jun 2009 17:51:04 +0000 (17:51 +0000)]
[mthca] Fix a build break. [mlnx: 4411]

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

15 years ago[IBAL] work around for reference count leakage bugs. [mlnx: 4404]
leonidk [Tue, 2 Jun 2009 17:49:32 +0000 (17:49 +0000)]
[IBAL] work around for reference count leakage bugs. [mlnx: 4404]

IBAL still has bugs, which cause reference count leakage, which stops the cascading destroying resources of IBAL.
It causes  in turn a freeze of IBBUS on HCA disable or system power down.
On checked builds IBAL forces destroying of the objects after some timeout.
On free version it waits endlessly.
This patch makes the behavior of free version to be like in checked version while sending a message to System Event Log.

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

15 years ago[IBBUS] fix bug in Control device implementation (patches 4218,4280). [mlnx: 4396]
leonidk [Tue, 2 Jun 2009 17:48:10 +0000 (17:48 +0000)]
[IBBUS] fix bug in Control device implementation (patches 4218,4280). [mlnx: 4396]

Control Device was created in DriverEntry and removed in DrvUnload routine.
But PnP Manager won't call DrvUnload before Control Device is removed.
So IBBUS gets never unloaded.

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

15 years ago[IBBUS] added support to logging to System Event Log.
leonidk [Tue, 2 Jun 2009 17:44:02 +0000 (17:44 +0000)]
[IBBUS] added support to logging to System Event Log.

CL_PRINT_TO_EVENT_LOG(_obj_,_event_id_,_msg_)
   obj - FDO of IBBUS
   event_id - EVENT_IBBUS_ANY_ERROR, EVENT_IBBUS_ANY_WARN, EVENT_IBBUS_ANY_INFO
   msg - (<format_string>[,param_list])

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

15 years ago[IBAL] Summary: Ill-defined mechanism of event propagation.[mlnx: 4412]
leonidk [Tue, 2 Jun 2009 17:32:41 +0000 (17:32 +0000)]
[IBAL] Summary: Ill-defined mechanism of event propagation.[mlnx: 4412]

Bug description and reproduction:
1. Connect to machines (A and B) via IB switch
2. Run subnet manager (say, opensm) on B
3. Kill opensm and clear arp tables
4. Rerun opensm - ping will not longer work
5. That's because new opensm instance will clear old multicast groups, and side A will be not aware about opensm restart and will not request to join new MCAST group

Explanations:
There are 2 types of events relevant in our case: PnP and AE.
The problem had happened due to:
1. During opensm restart, port will generate AE event: IB_EVENT_LID_CHANGE or (in other cases)  IB_EVENT_CLIENT_REREGISTER
These events will be generated even in the case when SM was restarted, but LID will not actually change.

2. All PnP events were handled properly; but these events were mapped to IB_AE_FATAL
This patch fixes it and maps IB_EVENT_* events to appropriate IB_AE_* events and then to IB_PNP_* events

3. unction force_smi_poll() will now update it's subscribers about LID change event iff LID was changed.
So, we still have the problem when opensm was restarted and no one of the port attributes was changed.

This patch generated appropriate IB_PNP event to resolve this issue.

Signed off by: Xalex

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

15 years ago[IBBUS] Solves Bugzilla 1233 problem: machine crashes upon adding a new partition...
leonidk [Tue, 2 Jun 2009 17:20:55 +0000 (17:20 +0000)]
[IBBUS] Solves Bugzilla 1233 problem: machine crashes upon adding a new partition by part_man. [mlnx: 4406]

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

15 years ago[DAPL2] support shorthand & DAPL provider names from dat.conf
stansmith [Tue, 2 Jun 2009 16:57:52 +0000 (16:57 +0000)]
[DAPL2] support shorthand & DAPL provider names from dat.conf

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

15 years ago[MLX4] bug fix: prevent simultaneous issuing of modify_qp and query_qp commands ...
leonidk [Sun, 31 May 2009 08:33:42 +0000 (08:33 +0000)]
[MLX4] bug fix: prevent simultaneous issuing of modify_qp and query_qp commands (to the same QP). [mlnx: 4390]

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

15 years ago[WinOF] Digital certificate extraction and injection scripts to faciliate 1st time...
stansmith [Sat, 30 May 2009 00:46:21 +0000 (00:46 +0000)]
[WinOF] Digital certificate extraction and injection scripts to faciliate 1st time unattended WinOF installation on HPC compute nodes.

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

15 years ago[DAPL2] update usage with correct name for dapl provider (scn --> scm) bad eyesight...
stansmith [Fri, 29 May 2009 19:03:43 +0000 (19:03 +0000)]
[DAPL2] update usage with correct name for dapl provider (scn --> scm) bad eyesight...

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

15 years ago[DAPL2] added dapl-provider name as required cmd-line arg
stansmith [Fri, 29 May 2009 16:12:30 +0000 (16:12 +0000)]
[DAPL2] added dapl-provider name as required cmd-line arg

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

15 years ago[DAPL2] use latest versions with correct EOL.
stansmith [Thu, 28 May 2009 21:53:57 +0000 (21:53 +0000)]
[DAPL2] use latest versions with correct EOL.

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

15 years agowinverbs branch: updated to svn 2217
shefty [Wed, 27 May 2009 20:07:47 +0000 (20:07 +0000)]
winverbs branch: updated to svn 2217

i'm all updated funned out now

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

15 years agoib-diags: maintain copy of patch to port to winof
shefty [Wed, 27 May 2009 20:03:33 +0000 (20:03 +0000)]
ib-diags: maintain copy of patch to port to winof

winof needs this patch to build the ported ib-diags.  Maintain a copy of the patch in svn for convenience of other developers.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2217 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoib-diags/ibping: add winof cdecl patch
shefty [Wed, 27 May 2009 19:36:09 +0000 (19:36 +0000)]
ib-diags/ibping: add winof cdecl patch

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2216 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoib-diags/ibping: add winof cdecl patch
shefty [Wed, 27 May 2009 19:35:30 +0000 (19:35 +0000)]
ib-diags/ibping: add winof cdecl patch

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2215 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs: transition QP to error on disconnect
shefty [Wed, 27 May 2009 19:13:36 +0000 (19:13 +0000)]
winverbs: transition QP to error on disconnect

The QP transition into the error state must occur after a DREQ has been
received and acknowledged by the user (by a subsequent call to Disconnect),
or after a DREP has been received.  The current winverbs API requires the
user to call QP:Modify after their NotifyDisconnect completes.  This
presents challenges to implementing an ND provider, which expects a single
function call to perform both operations.

Unlike during connection establishment, the QP transition to error must
sometimes be delayed until after a CM callback.  And since CM callbacks
are at dispatch, we must queue the modify call to a system thread.

Regardless of the outcome of the disconnect attempt or other failures,
the driver tries to transition the QP to error.  This results in some
minor checks to ensure that the correct status is reported to the user.

A couple of additional changes were made to the Accept path to keep the
code consistent, since both Accept and Disconnect have active/passive
code paths.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2214 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibibmad: add bm.c source file
shefty [Wed, 27 May 2009 18:53:37 +0000 (18:53 +0000)]
libibmad: add bm.c source file

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

15 years agowinverbs branch: update to trunk 2211
shefty [Wed, 27 May 2009 18:31:46 +0000 (18:31 +0000)]
winverbs branch: update to trunk 2211

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

15 years agoib-mgmt: update to 518083dc46963eb5fb48855acbe2b351ce7361f8
shefty [Wed, 27 May 2009 18:16:16 +0000 (18:16 +0000)]
ib-mgmt: update to 518083dc46963eb5fb48855acbe2b351ce7361f8

commit 518083dc46963eb5fb48855acbe2b351ce7361f8
Author: Doron Shoham <dorons@voltaire.com>
Date:   Sun May 10 11:17:11 2009 +0300

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2211 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[DOCS] removed QLogic participation.
stansmith [Wed, 27 May 2009 18:14:52 +0000 (18:14 +0000)]
[DOCS] removed QLogic participation.

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

15 years agodapl: update to 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa
shefty [Wed, 27 May 2009 18:13:45 +0000 (18:13 +0000)]
dapl: update to 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa

commit 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa
Author: Arlin Davis <arlin.r.davis@intel.com>
Date:   Mon May 18 14:00:02 2009 -0700

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2209 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[WINOF] support rdma-cm as a DAPL2 provider.
stansmith [Wed, 27 May 2009 18:08:36 +0000 (18:08 +0000)]
[WINOF] support rdma-cm as a DAPL2 provider.

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

15 years agolibnetdisc: update to 518083dc46963eb5fb48855acbe2b351ce7361f8
shefty [Wed, 27 May 2009 16:36:44 +0000 (16:36 +0000)]
libnetdisc: update to 518083dc46963eb5fb48855acbe2b351ce7361f8

commit 518083dc46963eb5fb48855acbe2b351ce7361f8
Author: Doron Shoham <dorons@voltaire.com>
Date:   Sun May 10 11:17:11 2009 +0300

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2207 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoRemove stale HPC Pack 2008 Beta 1 objects
ftillier [Wed, 27 May 2009 16:35:57 +0000 (16:35 +0000)]
Remove stale HPC Pack 2008 Beta 1 objects

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

15 years agowinverbs branch: updated to trunk svn 2204
shefty [Wed, 27 May 2009 16:05:50 +0000 (16:05 +0000)]
winverbs branch: updated to trunk svn 2204

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

15 years agodocs/maintainers: update maintainer information
shefty [Wed, 27 May 2009 16:01:12 +0000 (16:01 +0000)]
docs/maintainers: update maintainer information

Remove names no longer working on IB, update DAPL to list Arlin as the primary maintainer, and update the OFED compat lib notes

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2204 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoetc/work_queue: abstraction to manage a small pool of IO_WORKITEMs
shefty [Wed, 27 May 2009 15:59:36 +0000 (15:59 +0000)]
etc/work_queue: abstraction to manage a small pool of IO_WORKITEMs

Create an abstraction for managing a small pool of IO_WORKITEMs that
can be used to process a queue of work requests at passive level.

To prevent starvation of other work items and ensure fairness of system
threads, only a single work requests is processed each time a work
item is queued.  If more work remains, the work item is requeued.

Using a pool of work items, rather than a single work item, allows for
some parallelism of tasks.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2203 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agolibrdmacm: fix event reporting when destroying listen
shefty [Wed, 27 May 2009 15:58:27 +0000 (15:58 +0000)]
librdmacm: fix event reporting when destroying listen

Do not report connect request events if a user is in the process of destroying an associated listen request.  Ensure that the listen request continues to exist while any callbacks exist.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2202 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs branch: fixes to support librdmacm and dapl cma provider
shefty [Wed, 27 May 2009 15:53:00 +0000 (15:53 +0000)]
winverbs branch: fixes to support librdmacm and dapl cma provider

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

15 years ago[IBAL] remove unnecessary debug print
leonidk [Wed, 27 May 2009 11:04:22 +0000 (11:04 +0000)]
[IBAL] remove unnecessary debug print

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

15 years ago[HW] bug workaround: skip releasing of QP number upon a failure to destroy QP in...
leonidk [Wed, 27 May 2009 10:25:19 +0000 (10:25 +0000)]
[HW] bug workaround: skip releasing of QP number upon a failure to destroy QP in FW. [mlnx: 4383]

Otherwise it prevents the creation of new QPs.
This workaround will "leak" one bit in QP numbers' bit table.

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

15 years ago[WINOF] Svr 2003 cleanup enhanced to remove from %windir%\lastgood\. Use 'dpinst...
stansmith [Tue, 26 May 2009 22:31:24 +0000 (22:31 +0000)]
[WINOF] Svr 2003 cleanup enhanced to remove from %windir%\lastgood\. Use 'dpinst.exe -dp_delete' during uninstall to clean out DriverStore.

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

15 years ago[MLX4] improved debug print. [mlnx: 4342]
leonidk [Tue, 26 May 2009 18:14:38 +0000 (18:14 +0000)]
[MLX4] improved debug print. [mlnx: 4342]

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

15 years ago[MLX4] Soft Reset: fixed bug in case when mlx4_reset, issued from cmd.c, fails. ...
leonidk [Tue, 26 May 2009 18:06:01 +0000 (18:06 +0000)]
[MLX4] Soft Reset: fixed bug in case when mlx4_reset, issued from cmd.c, fails. [mlnx: 4296]

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

15 years ago[WINOF] make sure 64-bit systems get ibwsd32.dll file. Previous changes to remove...
stansmith [Fri, 22 May 2009 17:08:22 +0000 (17:08 +0000)]
[WINOF] make sure 64-bit systems get ibwsd32.dll file. Previous changes to remove ND from ia64 introduced this bug.

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

15 years ago[IBBUS] convert old global variable name 'gp_iou_mgr' to match it's local scope as...
stansmith [Fri, 22 May 2009 17:06:26 +0000 (17:06 +0000)]
[IBBUS] convert old global variable name 'gp_iou_mgr' to match it's local scope as 'p_iou_mgr'.

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

15 years agoUse private heap for memory allocations to avoid heap corruption when using
ftillier [Wed, 20 May 2009 19:50:56 +0000 (19:50 +0000)]
Use private heap for memory allocations to avoid heap corruption when using
the SecureMemoryCacheCallback functionality of the OS.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2193 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoNetworkDirect is one word.
ftillier [Wed, 20 May 2009 19:34:26 +0000 (19:34 +0000)]
NetworkDirect is one word.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2192 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[IBBUS] remove duplicate FDO extension fields [p_port_mgr,p_iou_mgr] and use same...
stansmith [Tue, 19 May 2009 20:07:23 +0000 (20:07 +0000)]
[IBBUS] remove duplicate FDO extension fields [p_port_mgr,p_iou_mgr] and use same named fields from Bus_Filter_Instance.

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

15 years ago[IBBUS] clear IOU PDO device extension memory before use.
stansmith [Tue, 19 May 2009 19:48:10 +0000 (19:48 +0000)]
[IBBUS] clear IOU PDO device extension memory before use.

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

15 years ago[IBBUS] force last HCA to remain until IBAL has shutdown, then release IF reference...
stansmith [Tue, 19 May 2009 19:38:17 +0000 (19:38 +0000)]
[IBBUS] force last HCA to remain until IBAL has shutdown, then release IF reference. Added ASSERT()s for ref counting. Removed old DEBUG prints.

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

15 years ago[IBBUS] prevent duplicate HCA deref in iou_mgr_iou_remove() and iou_free_iou_mgr...
stansmith [Tue, 19 May 2009 19:29:18 +0000 (19:29 +0000)]
[IBBUS] prevent duplicate HCA deref in iou_mgr_iou_remove() and iou_free_iou_mgr(). Cleanup debug output.

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

15 years ago[IBBUS] reduce debug console output
stansmith [Tue, 19 May 2009 19:07:17 +0000 (19:07 +0000)]
[IBBUS] reduce debug console output

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

15 years ago[WinOF] support Windows 7 WDK 7100.0.0
stansmith [Fri, 15 May 2009 00:50:09 +0000 (00:50 +0000)]
[WinOF] support Windows 7 WDK 7100.0.0

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

15 years ago[DAPL2] win7 WDK 7100.0.0 issues a depreciated compiler option warning for /Wp64...
stansmith [Fri, 15 May 2009 00:48:37 +0000 (00:48 +0000)]
[DAPL2] win7 WDK 7100.0.0 issues a depreciated compiler option warning for /Wp64, remove offending 64-bit portibility warnings switch.

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

15 years ago[WinOF] be a bit more general with a task specific tool.
stansmith [Thu, 14 May 2009 23:05:38 +0000 (23:05 +0000)]
[WinOF] be a bit more general with a task specific tool.

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

15 years ago[WinOF] buildrelease.bat update Platform_SDK & ND_SDK_PATH definitions
stansmith [Thu, 14 May 2009 17:18:01 +0000 (17:18 +0000)]
[WinOF] buildrelease.bat update Platform_SDK & ND_SDK_PATH definitions

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

15 years ago[WinOF] support additional OFED Diags (winverbs_OFED.inc)
stansmith [Thu, 14 May 2009 17:13:07 +0000 (17:13 +0000)]
[WinOF] support additional OFED Diags (winverbs_OFED.inc)
  ibqueryerrors iblinkinfo saquery sminfo smpdump smpquery venstat ibportstate perfquery mcm_rereg_test
  libibnetdisc
cleanup makebin.bat with single env var defs of what's to be copied.
ipoib.inc - no ND for ia64

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

15 years ago[VSTAT] added more information under new '-m' flag.
leonidk [Wed, 13 May 2009 12:11:23 +0000 (12:11 +0000)]
[VSTAT] added more information under new '-m' flag.

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

15 years ago[IPOIB] remove ND components from ia64 driver install. Leo OK'ed - signed off by...
stansmith [Tue, 12 May 2009 23:50:23 +0000 (23:50 +0000)]
[IPOIB] remove ND components from ia64 driver install. Leo OK'ed - signed off by stan.smith@intel.com

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

15 years ago[IBBUS] white-space alignment & comment line trim. Leo OK'ed, signed off by stan...
stansmith [Tue, 12 May 2009 23:46:59 +0000 (23:46 +0000)]
[IBBUS] white-space alignment & comment line trim. Leo OK'ed, signed off by stan.smith@intel.com

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

15 years agowinverbs branch: add ibqueryerrors
shefty [Tue, 12 May 2009 19:10:09 +0000 (19:10 +0000)]
winverbs branch: add ibqueryerrors

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

15 years agoib-diags: add ibqueryerrors
shefty [Tue, 12 May 2009 19:08:30 +0000 (19:08 +0000)]
ib-diags: add ibqueryerrors

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2177 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs branch: update to svn 2174
shefty [Tue, 12 May 2009 17:37:27 +0000 (17:37 +0000)]
winverbs branch: update to svn 2174

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

15 years agowinverbs branch: commit changes merged into trunk
shefty [Tue, 12 May 2009 17:31:44 +0000 (17:31 +0000)]
winverbs branch: commit changes merged into trunk

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2175 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoMAD: fix issues routing vendor MADs
shefty [Tue, 12 May 2009 17:25:44 +0000 (17:25 +0000)]
MAD: fix issues routing vendor MADs

Only dispatch received vendor defined MADs to the HCA driver if the
management class is one of the MLX vendor defined classes.

When dispatching MADs locally that are not handled by the HCA driver,
copy the sent MAD data into the received MAD buffer.  Also initialize
the address information of the dispatched MAD, so that replies can be
routed correctly back to the sender.  If a MAD is not handled by the
HCA driver and cannot be dispatched, return the MAD to the MAD pool
to avoid leaking MADs.

Finally, we simplify the MAD dispatch code.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2174 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoMAD: apply RMPP with the upper vendor mgmt class
shefty [Tue, 12 May 2009 17:24:13 +0000 (17:24 +0000)]
MAD: apply RMPP with the upper vendor mgmt class

The upper range of the vendor management class uses the RMPP header by default.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2173 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agomlx4/mthca: define common vendor mgmt class
shefty [Tue, 12 May 2009 17:23:03 +0000 (17:23 +0000)]
mlx4/mthca: define common vendor mgmt class

Replace the separate MLX4 and MTHCA vendor MAD classes with common
MLX vendor classes.  This more easily allows us to determine if a vendor
defined management class should be routed to the HCA driver or dispatched
to a MAD client.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2172 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinmad: support registration for unsolicited MADs
shefty [Tue, 12 May 2009 17:21:47 +0000 (17:21 +0000)]
winmad: support registration for unsolicited MADs

To support ibping, winmad needs to support registering for unsolicited
MADs.  We just need to change the MAD service context from referencing
the WMProvider to the WMRegistration.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2171 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agomad: deregister MR earlier in destroy path
shefty [Tue, 12 May 2009 17:17:54 +0000 (17:17 +0000)]
mad: deregister MR earlier in destroy path

When restarting the stack, the MAD pool tries to deregister
its memory during the cleanup phase.  This results in an
error because of an invalid h_mr handle.  Fix the error by
deregistering the memory during the destroying callback.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2170 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoib/cm: update port attributes earlier in destruction path
shefty [Tue, 12 May 2009 17:16:33 +0000 (17:16 +0000)]
ib/cm: update port attributes earlier in destruction path

The CM tries to modify the port attributes during the cleanup
phase of port cep destruction.  However, if the stack is
being brought down, by the time ib_modify_hca is called, the
h_ca handle is invalid.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2169 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agomlx4: change prints from error to information
shefty [Tue, 12 May 2009 17:14:08 +0000 (17:14 +0000)]
mlx4: change prints from error to information

TRACE_LEVEL_ERROR is intended for "Severe errors".  Change
ref/deref interface and DriverEntry exit log messages from
error to informational only.  This avoids displaying
misleading "***ERROR***" messages on the debug terminal.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2168 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MTHCA] bug fix: removed unnecessary conversion to network order in atomic operations...
leonidk [Tue, 12 May 2009 16:49:49 +0000 (16:49 +0000)]
[MTHCA] bug fix: removed unnecessary conversion to network order in atomic operations. [mlnx: 4298]

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

15 years ago[HW, WvVerbs] Pass through the user's specified max inline data value when creating...
leonidk [Tue, 12 May 2009 13:24:37 +0000 (13:24 +0000)]
[HW, WvVerbs] Pass through the user's specified max inline data value when creating a QP.
Currently, if the user specifies a value, it gets ignored when the QP is created.  The inline data value supported is then returned to the user, which may be less than requested.

This fixes a failure running dtest over mthca adapters.  Mlx4 adapters end up working for userspace apps because the max_inline_data is passed from the UVP to the kernel via the UMV buffer.  However, for completeness, fixup kernel calls for QP creation from IBAL for mlx4.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2166 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[INC, WinVerbs] Define additional async event types for GID, LID, PKey, and SM change...
leonidk [Tue, 12 May 2009 13:05:24 +0000 (13:05 +0000)]
[INC, WinVerbs] Define additional async event types for GID, LID, PKey, and SM changes.  These are reported by winverbs, and at least appear to be handled by the HCA drivers.

This avoids converting LID change events seen by the mlx4 driver into local fatal errors.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2165 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[IPOIB] Change printing LID information as an error to just informational.
leonidk [Tue, 12 May 2009 12:41:22 +0000 (12:41 +0000)]
[IPOIB] Change printing LID information as an error to just informational.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2164 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years ago[MLX4] disable superfluous debug print
leonidk [Tue, 12 May 2009 09:46:28 +0000 (09:46 +0000)]
[MLX4] disable superfluous debug print

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

15 years ago[WIX] use correct dapl scm name.
stansmith [Mon, 11 May 2009 19:23:16 +0000 (19:23 +0000)]
[WIX] use correct dapl scm name.

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

15 years agolibibmad: add missing file
shefty [Mon, 11 May 2009 19:10:59 +0000 (19:10 +0000)]
libibmad: add missing file

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

15 years agolibibmad: add missing file
shefty [Mon, 11 May 2009 19:08:44 +0000 (19:08 +0000)]
libibmad: add missing file

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

15 years agoib-diags: add missing file
shefty [Mon, 11 May 2009 19:04:08 +0000 (19:04 +0000)]
ib-diags: add missing file

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

15 years agoib-diags: add missing file
shefty [Mon, 11 May 2009 19:03:50 +0000 (19:03 +0000)]
ib-diags: add missing file

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

15 years agowinverbs branch: fix MAD routing to support ibping -S option
shefty [Fri, 8 May 2009 18:34:41 +0000 (18:34 +0000)]
winverbs branch: fix MAD routing to support ibping -S option

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2157 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs branch
shefty [Wed, 6 May 2009 06:25:10 +0000 (06:25 +0000)]
winverbs branch

updated to SVN 2155

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

15 years agoND: fixup build.txt
shefty [Wed, 6 May 2009 06:11:14 +0000 (06:11 +0000)]
ND: fixup build.txt

Update the build.txt document for building ulp/nd.

Replace use of ND_INC and ND_INC_S variables with a single, user defined
ND_SDK_PATH environment variable.  The change makes it consistent
with the existing PLATFORM_SDK_PATH variable.

The makefile checks for ND_SDK_PATH, rather than ND_INC when determining if ND
should be built.  ND_INC indicates that the SDK has been installed, but is not
useful for building in the WDK.

The hard-coded paths in the ND sources file are removed, since those paths are
specific to individual installations.  PLATFORM_SDK_PATH_S is replaced with
the existing PLATFORM_SDK_PATH variable.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2155 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoib-mgmt: sync with management.git tree
shefty [Wed, 6 May 2009 06:09:56 +0000 (06:09 +0000)]
ib-mgmt: sync with management.git tree

Adds new libibnetdisc library to ib-mgmt diags

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2154 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agodapl/dtest: sync with dapl.git
shefty [Wed, 6 May 2009 06:07:59 +0000 (06:07 +0000)]
dapl/dtest: sync with dapl.git

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2153 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoWe need to return all MADs to IBAL before calling close_al. To protect
shefty [Wed, 6 May 2009 06:06:21 +0000 (06:06 +0000)]
We need to return all MADs to IBAL before calling close_al.  To protect
against queuing MADs during deregistration, set the MAD service handle
to NULL when deregistering and check that it is still valid before queuing
any received MADs.

This fixes a hanging when using ctrl-C to kill a process running ibping.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2152 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agoAdd defines for physical port states. These are used by the latest ib-diags.
shefty [Wed, 6 May 2009 06:05:49 +0000 (06:05 +0000)]
Add defines for physical port states.  These are used by the latest ib-diags.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2151 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs branch: update dapl and ib-mgmt
shefty [Wed, 6 May 2009 06:04:34 +0000 (06:04 +0000)]
winverbs branch: update dapl and ib-mgmt

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

15 years ago[IBAL] fix memory leak on power down/power up flow. [mlnx: 4289]
leonidk [Mon, 4 May 2009 12:42:20 +0000 (12:42 +0000)]
[IBAL] fix memory leak on power down/power up flow. [mlnx: 4289]

port_mgr_port_add() allocates a port_pnp_ctx_t context, which is saved by IBAL to be used later in port_mgr_port_remove().
But in hibernation flow port_mgr_port_remove() doesn't release this context which causes IBBUS memory leak.
It was trapped by Verifier during WHQL Common Scenario Stress test.

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

15 years ago[MLX4] set the QoS to disable by default.
leonidk [Mon, 4 May 2009 12:29:05 +0000 (12:29 +0000)]
[MLX4] set the QoS to disable by default.

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

15 years ago[IBBUS] add control device to solve bugzilla #1367 problem.
leonidk [Sun, 3 May 2009 13:52:07 +0000 (13:52 +0000)]
[IBBUS] add control device to solve bugzilla #1367 problem.

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

15 years ago[HW] make all the drivers to be boot driver. [mlnx: 4278]
leonidk [Sun, 3 May 2009 13:07:20 +0000 (13:07 +0000)]
[HW] make all the drivers to be boot driver. [mlnx: 4278]

Also registry “StaticChild” should not be changed after driver update if it’s modified.

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

15 years ago[MLX4] fix memory leakage in error flow. [mlnx: 4276]
leonidk [Sun, 3 May 2009 12:50:07 +0000 (12:50 +0000)]
[MLX4] fix memory leakage in error flow. [mlnx: 4276]

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

15 years ago[IBAL] crash on IBBUS disabling while mad traffic. [mlnx: 4275]
leonidk [Sun, 3 May 2009 12:47:37 +0000 (12:47 +0000)]
[IBAL] crash on IBBUS disabling while mad traffic. [mlnx: 4275]

__ioc_query_sa takes references on IOC PnP service before sending the node and path_record requests.
But these references get released at the end of __node_rec_cb and __path_rec_cb, while __process_sweep routine, which performs the IOU sweeping, is just scheduled to run in an async thread.
If the test happens to unload the driver after __node_rec_cb and __path_rec_cb and before __process_sweep started to run, IOC PnP service gets released and __process_sweep crashes.

The patch takes a reference on IOC PnP service before scheduling a thread for __process_sweep and releases the reference at the end of __process_sweep.
(Pay attention, that __process_sweep schedules a thread for itself twice while moving through its FSM:
SWEEP_IOU_INFO --> SWEEP_IOC_PROFILE --> SWEEP_SVC_ENTRIES --> SWEEP_COMPLETE)

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

15 years ago[MLX4] Device is no longer ejectable. [mlnx: 4260]
leonidk [Sun, 3 May 2009 12:39:37 +0000 (12:39 +0000)]
[MLX4] Device is no longer ejectable. [mlnx: 4260]

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

15 years ago[HW] fix FW checking in MTHCA and add it to MLX4. [mlnx: 4271]
leonidk [Sun, 3 May 2009 09:32:01 +0000 (09:32 +0000)]
[HW] fix FW checking in MTHCA and add it to MLX4. [mlnx: 4271]

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

15 years agowinverbs: release CM interface only once per reference
shefty [Wed, 29 Apr 2009 23:02:09 +0000 (23:02 +0000)]
winverbs: release CM interface only once per reference

The CM interface is not bound to a device, and is only acquired once by the winverbs driver.  Release the CM interface only once after all devices have been removed, not once per hardware device.

This should fix issues enabling/disabling HCA drivers with multiple HCAs present in a single system.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2141 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

15 years agowinverbs branch: fix deref CM interface
shefty [Wed, 29 Apr 2009 22:59:55 +0000 (22:59 +0000)]
winverbs branch: fix deref CM interface

Release the CM interface only once, not once per hardware device.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2140 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86