I am new in RDMA. Now, I am learning to use RDMA read/write. If a client posts a write/read to a server. How could the client know whether the write/read is successfully complete? In other words, how to know writes have been applied to the server, and how to know data have been read from the server.
I learn RDMA with the tutorial in https://github.com/jcxue/RDMA-Tutorial. It detects the completion by polling two memory locations, start and end.
while ((*msg_start != 'A') && (*msg_end != 'A')) {
}
Is it only this way to detect completion of a write/read? Any other way without polling the data in memory?
Thanks!