Hi.

On Monday 07 August 2006 10:06, Devesh Sharma wrote:
> Hello everybody,
> I have a query regarding cq poll concept.
> Consider the following situation:
> 
> Consumer has posted 2 SEND operations after that it posted 1 RDMA_READ
> operation and againg 1 SEND operation ( Not posted with Barrier Fence, Is it
> expected from consumer that it can post without Barrier Fence after RDMA
> READ? ), now while polling in what order completions should be returned by
> verbs?
> 
> Is it expected by consumer that completions will be polled in posting order
> or they can come out of order?
> Polling order 2 SEND_COMP, 1 RDMA_READ_COMP, 1 SEND_COMP
>  OR
> Polling order 3 SEND_COMP, 1 RDMA_READ_COMP
> 
> which is expected?

The order the completions must be the same as the order of the WR that you 
posted to the Send Queue.
so, you should expect the first option.

as you mentioned, if the fence bit is enable on a specific SR, the HCA need to 
wait until all the previous SR
will be finished (according to the fence laws in the IB spec ..).


Dotan

_______________________________________________
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