>One part I didn't understand, however, was where the local port is >assigned for children of the listening endpoint? The local port for >these endpoints will be the same as for the listening parent. So if >cma_use_port is used to bind these child endpoints (i.e. add them to the >owners list), then the logic will need to distinguish between rdma_cm_id >attempting to bind as a listener vs. rdma_cm_id binding as connected >children.
The child copies the local address information from the connection request. See cma_new_id() and calls to cma_get_net_info() and cma_save_net_info(). The child binding is not stored in the bound port space table (tcp_ps). I didn't see a need to do this, which avoids adding logic to distinguish between binding as a listener versus as a connected child. - Sean _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
