ixgbe: Fix usage of netif_*_all_queues() with netif_carrier_{off|on}()
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Fri, 7 Nov 2008 12:16:08 +0000 (12:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2008 08:31:35 +0000 (00:31 -0800)
commit74ad0a5421edc6ef13a4059c6076cd7a4f3a1fd5
treeb3f8960c3588e5f2741e05b40155f8e30cf8dbfc
parentef711cf1d156428d4c2911b8c86c6ce90519dc45
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 <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c