> > This other three are nice, remove code, and make it correct with the case > that qp has to be removed first. > > So, should we drop the listen_id part, or there is a reason for it? > > Later, Juan. >
listen_id is used only in server side. Saw that listen_id gets created before cm_id. So for symmetry destroyed cm_id before listen_id. Checked the status of rdma_destroy_id() and both connection identifier were getting destroyed successfully. Please see if I am missing something and should I revert this change. Thanks, Padmanabh