]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4_en: Cancel port_up check in transmit function
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Sat, 20 Jun 2009 22:15:52 +0000 (22:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jun 2009 02:18:05 +0000 (19:18 -0700)
commitc01fae7ba12f809c578c41a505f99db395fe773d
tree0751a4e0e7834f0d3cffbaf8d9cda7ff731db18f
parent2aa06f61aadb3ec9753839fbc1a73a28357f642a
mlx4_en: Cancel port_up check in transmit function

When closing the port, we stop all transmit queues under the transmit
lock. It ensures that we will not attempt to transmit new packets after
the physical port was closed.

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