[openib-general] Re: [PATCH] [RFC] - example user mode rdma ping/pongprogram using CMA
Steve Wise
swise at opengridcomputing.com
Wed Feb 8 11:37:52 PST 2006
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.
More information about the general
mailing list