[openib-general] RFC on CM error handling

Hal Rosenstock halr at voltaire.com
Thu Jan 20 11:14:51 PST 2005


On Thu, 2005-01-20 at 13:20, Sean Hefty wrote:
> I'm looking for comments on how to handle errors in the CM with respect 
> to state transitions.  If an error occurs while trying to drive the 
> state of a connection endpoint, should the state transition still occur?
> 
> Right now, I force the state to idle or timewait if the user makes a 
> call to reject a connection, and that call fails.  I also force the 
> state to timewait if a call to disconnect fails.
> 
> Comments?  Should other error cases be handled similarly?  E.g. if a 
> call to send a reply fails, should the state remain the same (which 
> would let the user reject the connection), should the state transition 
> into the idle state, should a reject be automatically attempted, or ... ?

Does changing the CEP to TIMEOUT or IDLE, do anything to the QP state ?
Is that up to the CM client ?

I'm not sure the CM state should move at all in these cases. What is the
CM client to do in these cases ? If it was a temporary error, might it
be able to send the proper CM message later ? 

-- Hal




More information about the general mailing list