On 4/26/2016 10:55 AM, Chuck Lever wrote:
On Apr 26, 2016, at 11:43 AM, Christoph Hellwig <hch@xxxxxx> wrote:
Just curious: what takes care of draining SRQs when we unregister them
after all queues are gone?
Conversely, I would think that a consumer that uses SRQ
would want a similar drain mechanism to guarantee there
are no more posted Receives for the associated QP, and
thus it is safe to destroy it.
I don't think there is anything now that handles draining an SRQ, nor
ensuring a QP's RQEs are completed/consumed from its SRQ when draining
the QP. Sounds like work is needed here.
But are there any kernel SRQ consumers at this point?
Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html