Skip to contentSkip to conversation

RDMA connection establishment flow.

DISCUSSION Mohammed Rafi K C 2 participants 3 messages Sep 24, 2014 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

Hi All,

I was trying to write an application in rdma . I understood that when a connection is established between remote endpoints, RDMA_CM_EVENT_ESTABLISHED event is generated in both server and client.

My question is Who will get RDMA_CM_EVENT_ESTABLISHED notification first, Server or client ? Is there any order to keep it strictly .

Can we set the connection is established if any of the side to get the events or should we need wait to get the RDMA_CM_EVENT_ESTABLISHED event in both side.

Thanks & Regards
Rafi KC

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

PiBNeSBxdWVzdGlvbiBpcyBXaG8gd2lsbCBnZXQgUkRNQV9DTV9FVkVOVF9FU1RBQkxJU0hFRCBu b3RpZmljYXRpb24gZmlyc3QsDQo+IFNlcnZlciBvciBjbGllbnQgPyBJcyB0aGVyZSBhbnkgb3Jk ZXIgdG8ga2VlcCBpdCBzdHJpY3RseSAuDQoNClRoZXJlIGlzIG5vIGd1YXJhbnRlZSB3aGljaCBz aWRlIHdpbGwgcmVjZWl2ZSB0aGUgZXZlbnQgZmlyc3QuDQoNClRoZSBvbmx5IHJlc3RyaWN0aW9u IGlzIHRoYXQgdGhlIHNpZGUgd2hpY2ggaW5pdGlhdGVzIHRoZSBmaXJzdCBkYXRhIHRyYW5zZmVy IG11c3Qgd2FpdCB1bnRpbCBpdCBzZWVzIHRoZSBldmVudCBiZWZvcmUgc2VuZGluZy4NCg== --
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1828884A29C6694DAF28B7E6B8A8237399DE3037-P5GAC/[email protected]

#3 lore raw
Quoted 6 lines · Sean
Quoted 2 lines

My question is Who will get RDMA_CM_EVENT_ESTABLISHED notification first, Server or client ? Is there any order to keep it strictly .

There is no guarantee which side will receive the event first.

The only restriction is that the side which initiates the first data transfer must wait until it sees the event before sending.

That was really helpful, thanks very much for your reply. Rafi KC

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html