]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69aadcff58f016db04aecb24c80bc6caf159bcc7
treeb3f8960c3588e5f2741e05b40155f8e30cf8dbfc
parentd72537450cc6b161c842325e3e1940f90991508e
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