> What's in my mind was to use a common approach for both nonSRQ and SRQ. > Because nonSRQ doesn't have last WQE, but we could do post_send last WR > when receiving DREQ to handle QP resource destroy for both nonSRQ and > SRQ without setting QP to error status.
It would be nice if we could make the SRQ and non-SRQ code paths more similar and shrink the code. But I'm not sure there's any reason to post a send work request in the non-SRQ case -- we can just destroy the QP after the last pending receive completes (but we have to wait for them all to complete before destroying the QP). - R. _______________________________________________ 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
