Re: [PATCH V4 for-next 02/10] IB/core: Introduce Work Queue object and its verbs

Sagi Grimberg
2016-05-29T12:56:48Z

> Looks good,
>
> Reviewed-by: Sagi Grimberg <sagi-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>

Wait, I have a question first,

Can you explain why a wq takes a reference on a CQ?
I don't really see why we enforce this association. I cannot
destroy the CQ before I destroy the wq?

Look at SRQs which I find quite similar (the normal one, not the XRC
one), it does not reference the CQ.