diff options
| author | Konstantin Khlebnikov <[email protected]> | 2019-04-17 08:13:20 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-05-28 23:08:43 +0000 |
| commit | d17ba0f616a08f597d9348c372d89b8c0405ccf3 (patch) | |
| tree | 743301d3a876fa3356e2e648aef0f65b48b961f9 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | Revert "e1000e: fix cyclic resets at link up with active tx" (diff) | |
| download | kernel-d17ba0f616a08f597d9348c372d89b8c0405ccf3.tar.gz kernel-d17ba0f616a08f597d9348c372d89b8c0405ccf3.zip | |
e1000e: start network tx queue only when link is up
Driver does not want to keep packets in Tx queue when link is lost.
But present code only reset NIC to flush them, but does not prevent
queuing new packets. Moreover reset sequence itself could generate
new packets via netconsole and NIC falls into endless reset loop.
This patch wakes Tx queue only when NIC is ready to send packets.
This is proper fix for problem addressed by commit 0f9e980bf5ee
("e1000e: fix cyclic resets at link up with active tx").
Signed-off-by: Konstantin Khlebnikov <[email protected]>
Suggested-by: Alexander Duyck <[email protected]>
Tested-by: Joseph Yasi <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Tested-by: Oleksandr Natalenko <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
