Commit 076152d5 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller

e1000: resolve tx multiqueue bug

With the recent changes to tx mutiqueue, e1000 was not calling
netif_start_queue() before calling netif_wake_queue().
This causes an oops during loading of the driver.

(Based on commit d55b53ff
("igb/ixgbe/e1000e: resolve tx multiqueue bug").)
Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Acked-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d55b53ff
...@@ -1472,6 +1472,8 @@ e1000_open(struct net_device *netdev) ...@@ -1472,6 +1472,8 @@ e1000_open(struct net_device *netdev)
e1000_irq_enable(adapter); e1000_irq_enable(adapter);
netif_start_queue(netdev);
/* fire a link status change interrupt to start the watchdog */ /* fire a link status change interrupt to start the watchdog */
E1000_WRITE_REG(&adapter->hw, ICS, E1000_ICS_LSC); E1000_WRITE_REG(&adapter->hw, ICS, E1000_ICS_LSC);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment