Michael S. Tsirkin wrote:
There should be some way to fix this that doesn't involve walking a list on
every completion.  Can't the cleanup be changed?  Either move destroying the QP
after the workqueue flush or transition it to the error state before flushing.

What about resurrecting my idea to have ib_cq_sync()?
Then we could just set a flag to suppress queueing more work.

I don't remember the details of ib_cq_sync() off the top of my head.

I think that we need to add a state to struct ib_mad_port_private that can be checked in ib_mad_thread_completion_handler(). I don't think that a new call is needed though.

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to