I'm running with the latest OpenIB Gen2 uDAPL code (CMA version) and
have encountered a problem with disconnect events. The basic problem is
that both sides have to call dat_ep_disconnect in order to break down a
connection cleanly. It should be possible for just one side (i.e.,
client) to call disconnect and the other side wait for and see the
disconnect event. That does not appear to be working. It does however
work that way in the old reference implementation (as it should). I
have code that depends on that functionality and as a result, can not
move it to OpenIB Gen2 uDAPL yet. Is this a known problem?<br>
<br>
Changing the flag to DAT_CLOSE_GRACEFUL_FLAG does not change the
behavior. The attached copy of dtest.c is still using the default
flag value.<br>
<br>
I have attached a modified version of the "dtest" test program which
demonstrates the problem. The "client" will disconnect and exit
cleanly. The "server" will hang waiting for the disconnect event.<br>
<br>
thanks,<br>
jimmy<br>
<br>
Jimmy Hill<br>
<a href="mailto:jimmy.hill@us.ibm.com">jimmy.hill@us.ibm.com</a><br>
<a href="mailto:sobebike@gmail.com">sobebike@gmail.com</a><br>
<br>