Roland Dreier wrote:
>  > Without a separate CQ, how do the receive work completion handlers 
> distinguish 
>  > between the different receive queues of rx_qp and tx_qp  -any suggestions?
> 
> You have the work request ID in the work completion -- is that not enough?
> 
That maybe a possibility ...in the NOSRQ case for the rx_qp I play around with 
the bits 
in the wr_id, so I may be able to check upon the receipt of a packet if the 
bits are 
mangled or not. However, that means I need to ascertain on receipt of every 
packet the 
destination receive queue.

I thought a cleaner solution (and better performing) would be to implement a 
separate 
CQ and handler. Could you explain your reservations to this approach?

Would it be enough if I change my previous patch to post 1 WR to start with and 
then
as you suggested upon receipt of that packet post a full set of WRs?

Pradeep
 



_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

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

Reply via email to