ixgbe: Fix usage of netif_*_all_queues() with netif_carrier_{off|on}()
authorPeter P Waskiewicz Jr <[email protected]>
Tue, 20 Jan 2009 00:55:03 +0000 (16:55 -0800)
committerDavid S. Miller <[email protected]>
Tue, 20 Jan 2009 00:55:03 +0000 (16:55 -0800)
commit1da100bb47ef32cb43bb6a365f64183898f830b5
tree36ce0a11e633f41b2b6f7dbc9c4bac0d606c07d0
parent068c89b014ebd27b1c09c3c772e9d982988e7786
ixgbe: Fix usage of netif_*_all_queues() with netif_carrier_{off|on}()

netif_carrier_off() is sufficient to stop Tx into the driver.  Stopping the Tx
queues is redundant and unnecessary.  By the same token, netif_carrier_on()
will be sufficient to re-enable Tx, so waking the queues is unnecessary.

Signed-off-by: Peter P Waskiewicz Jr <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ixgbe/ixgbe_main.c