]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mlx4_en: Removed TX locking when polling TX cq
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Fri, 26 Dec 2008 02:13:45 +0000 (18:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 02:13:45 +0000 (18:13 -0800)
commit48374ddce72e278e29080e3177e74a13c034d8b4
treef25da6d9b4a35f212fd5437260fe81210a297367
parentb51968d676db1c4e541b4c84de7ce7af812c9e9f
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>
drivers/net/mlx4/en_tx.c