[openib-general] Re: [PATCH] ipoib: dont lock tx on completion

Michael S. Tsirkin mst at mellanox.co.il
Tue Feb 22 11:18:09 PST 2005


Quoting r. Michael S. Tsirkin <mst at mellanox.co.il>:
> Subject: [PATCH] ipoib: dont lock tx on completion
> 
> Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>
> 
> By testing again, and waking the net queue if completions arrived,
> we can avoid taking the tx lock on send completion in ip over ib,
> reducing the lock contention.

OK, since this is getting complicated, lets start with keeping
a separate lock for completions.
The posting thread will take it before stopping the interface.

Roland, if it makes sence I'll implement it tomorrow.

-- 
MST - Michael S. Tsirkin



More information about the general mailing list