[ofa-general] [PATCH][RFC] Handle packet received on RQ of tx_qp with NOSRQ
Pradeep Satyanarayana
pradeeps at linux.vnet.ibm.com
Tue Aug 14 11:50:05 PDT 2007
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
More information about the general
mailing list