commit | 48374ddce72e278e29080e3177e74a13c034d8b4 | [log] [tgz] |
---|---|---|
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | Thu Dec 25 18:13:45 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 25 18:13:45 2008 -0800 |
tree | f25da6d9b4a35f212fd5437260fe81210a297367 | |
parent | b51968d676db1c4e541b4c84de7ce7af812c9e9f [diff] |
mlx4_en: Removed TX locking when polling TX cq 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@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>