Hi,

 

After reading the OFED 1.2 code, I have a question.

 

In cma_iw_handler():

 

case IW_CM_EVENT_CONNECT_REPLY:

            ...

                        switch (iw_event->status) {

                        case 0:

                                    event.event =
RDMA_CM_EVENT_ESTABLISHED;

                                    break;

                        ...

                        }

                        break;

            case IW_CM_EVENT_ESTABLISHED:

                        event.event = RDMA_CM_EVENT_ESTABLISHED;

                        break;

 

It could cause a problem in SDP, since in SDP RDMA_CM_EVENT_ESTABLISHED
is handled by sdp_connected_handler(), which can only handle passive
connection case (it assumes the socket has parent, which is only true
for listening sockets). Is the SDP over iWarp case tested, or did I miss
something?

 

Seems the correct event for SDP should be
RDMA_CM_EVENT_CONNECT_RESPONSE. 

 

Thanks,

-Ying

 

 

 

 

 

 

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to