]> git.openfabrics.org - ~shefty/ibacm.git/commit
Handle port down events
authorSean Hefty <sean.hefty@intel.com>
Wed, 23 Feb 2011 22:41:48 +0000 (14:41 -0800)
committerSean Hefty <sean.hefty@intel.com>
Sat, 5 Mar 2011 00:53:16 +0000 (16:53 -0800)
commitb91dc82c3bb2ad85ef7fc3e0bb36c0e5c103df9e
tree4a725c3b21d37e7ff6d4e2430fc69ddf4d72920a
parentaaa9f5293c50708c4c290da35667bff7c51dd785
Handle port down events

Process port down or error events.  While a port is down, the
ibacm service will fail all requests to endpoints on that port.
Cached data is not invalidated however, under the assumption
that the port state is temporary.  (A future enhancement can
optimize the cleanup.)

Since a port can now transition between up and down, we need
to fixup a couple of places to avoid initializing structures
multiple times.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c