[openib-general] [PATCH] IPoIB CM Experimental support

Michael S. Tsirkin mst at mellanox.co.il
Tue Dec 5 23:20:02 PST 2006


Roland, thanks for the comments, I'll work on addressing them.
Regarding your question:

>  > +	IPOIB_FLAG_NETIF_STOPPED  = 9,
> 
> I can't follow what this is used for.  Can you explain in small words?

Send Q overrun prevention. Current code stop the interface if send queue gets full,
and start it again after sufficient number of send completions arrives.
I generalized it to: stop interface if *some* send queue becomes full,
and start it again after send completions *for that send queue* arrive.

So when I get send completion, I need to know that the interface was stopped because
*this* queue was full, and start the interface only in this case.

-- 
MST




More information about the general mailing list