> browsing the code, I see that mlx4_CLOSE_PORT() gets called from,
 > seemingly, too many places. I would expect it to get called only from
 > __mlx4_ib_modify_qp() when QP0 gets closed, but mlx4_ib_remove() calls
 > it too even though it is soon to be called by __mlx4_ib_modify_qp()
 > due to destroying the MAD QP. It also gets called from
 > mlx4_remove_one() even though by the time this function gets called,
 > the port is already closed. Is there a reason for that?

I don't think there's any special reason... maybe just paranoia that the
MAD QP might not get destroyed in all cases.

 - 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

Reply via email to