I made a simple test for using more then one sge which use Send/Recv and RC qp.
sever side post two send work request immediately and then start poll cq.
client side post one recv work request then start poll cq, when recv ready, it then post another recv work request.
In my laptop (openSUSE Tumbleweed with rxe enabled) it runs as expected, but when I put the code run on server ( connect directly to mellanox device), after first work request was completed, there will be about 2 seconds delay, then the second work request complete. that’s weird.
the following picture is the full actions I’ve made
The code is in attachment.How can I fix this problem ?
Thank you!
rdma.tar (60 KB)