On Wed, 2006-02-08 at 21:11 +0200, Michael S. Tsirkin wrote:
> I suggest this in rping_setup_buffers:
> while (!rc = ibv_post_recv(cbp->qp, &cbp->rq_wr, &bad_wr));
> 
> This way you will never have 0 end-to-end credits.
> 

I can do this easily, but it bothers me to post the same buffer multiple
times, knowing the application doesn't need it (and would fail if more
than one RECV is consumed at a time), just to make the transport more
efficient.  

Is this common practice for IB applications?

Thanks,

Steve.



_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to