[ofa-general] Re: [PATCH 2/9] mlx4_en: Removed TX locking when polling TX cq

David Miller davem at davemloft.net
Thu Dec 25 18:16:16 PST 2008


From: Yevgeny Petrilin <yevgenyp at mellanox.co.il>
Date: Mon, 22 Dec 2008 12:00:22 +0200

> There is no need to synchronize the polling with the transmit
> function. The only place to synchronize is when we process
> the cq from the transmit function. Also removed spin_lock_irq,
> and using spin_trylock, if somebody else is already processing the cq,
> no need to wait for it to finish.
> 
> Signed-off-by: Yevgeny Petrilin <yevgenyp at mellanox.co.il>

Applied.



More information about the general mailing list