]> git.karo-electronics.de Git - linux-beck.git/commit
mlx4_en: Moving to Interrupts for TX completions
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 23 Apr 2012 02:18:39 +0000 (02:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Apr 2012 02:34:02 +0000 (22:34 -0400)
commite22979d96a55d24bc43247341a052ec1b3a7fda6
treec82b4a05473b55a2526386ca4872945a2736e7ef
parenta19a848a456aee35508b548819003907d033003b
mlx4_en: Moving to Interrupts for TX completions

Moving to interrupts instead of polling fpr TX completions
Avoiding situations where skb can be held in by the driver for
a long time (till timer expires).
The change is also necessary for supporting BQL.

Removing comp_lock that was required because we could handle TX
completions from several contexts: Interrupts, timer, polling.
Now there is only interrupts

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_cq.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h