[openib-general] in need of a simple ulp

Jeff Carr jcarr at linuxmachines.com
Fri May 20 17:57:15 PDT 2005


Sean Hefty wrote:

> In this case you won't know what's on a cqe until you poll the 
> completion. 

The cmpost test only poll's on the completion on the client side. I'll 
change it to run ib_poll_cq() on the server also. Now I'm so confused 
I'm not sure why I wanted this in the first place though :)

 > An alternative way of structuring the code is to create two
> CQs, and tie one to the send queue, the other to the receive queue.

Sure that makes sense.

Another thing I've noticed is that I can't seem to get comp_handler() or 
event_handler() to run. You pass them into ib_create_cq(), but perhaps 
this isn't an implemented feature or some other things must be set for 
this to work.

Jeff



More information about the general mailing list