]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ixgbe: enable tx queues after link up
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 20 Mar 2014 03:47:53 +0000 (03:47 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Mar 2014 08:02:32 +0000 (01:02 -0700)
commitcdc04dcce0598fead6029a2f95e95a4d2ea419c2
tree5f6bc1ebe2928f3a9b261d0fcbfb1fb8338c1ba2
parent7155d051077c94d972cc77ac68e45f3ec890763e
ixgbe: enable tx queues after link up

This patch moves the call to enable Tx queues after the link is established.
Previously there was a chance for aggressive start_ndo_xmit() callers to
sneak packets between enabling the Tx queues and the link coming up.

In addition it replaces netif_tx_start_all_queues() with
netif_tx_wake_all_queues() to allow for flushing of the qdisc.

CC: Arun Sharma <asharma@fb.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c