[openib-general] [PATCH] uverbs rdma example (updated)

Michael S. Tsirkin mst at mellanox.co.il
Mon Mar 14 11:10:11 PST 2005


Quoting r. Roland Dreier <roland at topspin.com>:
> Subject: Re: [openib-general] [PATCH] uverbs rdma example (updated)
> 
> I started looking over this code.  As far as I can see, neither
> tx_depth nor rx_depth is used for anything.  Is this correct?  Should
> we just get rid of the options?

Hmm. rx_depth is unused. tx_depth is used.

> Also would it make sense to change the RDMA operation to be unsignaled
> and just poll the destination buffer (ignore completions)?

Hmm. Thats what I do for receieve - polling on data.

You cant assume the hardware will not read the buffer until
you get a send completion, so you wont be able to re-use the
send buffer. Since polling cq is done after
post, it does not affect the latency in any way.


> I realize
> this is a Mellanox extension to the spec but it might be more
> interesting than yet another variation on the pingpong code.
> 
>  - R.
> 

What do you refer to as extension?

-- 
MST - Michael S. Tsirkin



More information about the general mailing list