summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2008-12-26 02:13:45 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-12-26 02:13:45 (GMT)
commit48374ddce72e278e29080e3177e74a13c034d8b4 (patch)
treef25da6d9b4a35f212fd5437260fe81210a297367 /samples
parentb51968d676db1c4e541b4c84de7ce7af812c9e9f (diff)
downloadlinux-48374ddce72e278e29080e3177e74a13c034d8b4.tar.xz
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions