Re: [ewg] [PATCH] IB/ehca: Protect QP against destroying until all async events for it are handled.

2 messages, 2 authors, 2008-05-07 · open the first message on its own page

Re: [ewg] [PATCH] IB/ehca: Protect QP against destroying until all async events for it are handled.

From: Roland Dreier <hidden>
Date: 2008-05-07 15:32:34

 > We are not sure if this should be fixed in the driver or in uverbs itself.
 > Roland, what's your opinion about this?

Would be nice to be able to fix it in uverbs but I don't see how.  In
particular a kernel consumer has to have the same guarantee that no
async events will come in after destroy QP returns.  And I don't see any
way generic code can provide a guarantee about what low-level driver
code may do internally.

Re: [ewg] [PATCH] IB/ehca: Protect QP against destroying until all async events for it are handled.

From: Stefan Roscher <hidden>
Date: 2008-05-07 16:00:54

On Wednesday 07 May 2008 17:32:03 Roland Dreier wrote:
 > We are not sure if this should be fixed in the driver or in uverbs itself.
 > Roland, what's your opinion about this?

Would be nice to be able to fix it in uverbs but I don't see how.  In
particular a kernel consumer has to have the same guarantee that no
async events will come in after destroy QP returns.  And I don't see any
way generic code can provide a guarantee about what low-level driver
code may do internally.
I agree, that's why I posted the driver fix first.
So, will you apply it next?

Regards Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help