diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2008-07-18 07:33:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-18 07:33:03 -0400 |
commit | d55b53fff0c2ddb639dca04c3f5a0854f292d982 (patch) | |
tree | 39164a0c3a820f0767f2ad98c828a36c35c9b1da /drivers/net/igb/igb_main.c | |
parent | b6fcbdb4f283f7ba67cec3cda6be23da8e959031 (diff) |
igb/ixgbe/e1000e: resolve tx multiqueue bug
With the recent changes to tx mutiqueue, igb/ixgbe/e1000e was not calling
netif_tx_start_all_queues() before calling netif_tx_wake_all_queues().
This causes an issue during loading of the driver.
In addition, updated e1000e to use the updated tx mutliqueue api.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r-- | drivers/net/igb/igb_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index 81bba6983dde..1b7cb29fe68e 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -1493,6 +1493,8 @@ static int igb_open(struct net_device *netdev) | |||
1493 | 1493 | ||
1494 | igb_irq_enable(adapter); | 1494 | igb_irq_enable(adapter); |
1495 | 1495 | ||
1496 | netif_tx_start_all_queues(netdev); | ||
1497 | |||
1496 | /* Fire a link status change interrupt to start the watchdog. */ | 1498 | /* Fire a link status change interrupt to start the watchdog. */ |
1497 | wr32(E1000_ICS, E1000_ICS_LSC); | 1499 | wr32(E1000_ICS, E1000_ICS_LSC); |
1498 | 1500 | ||