diff options
| author | John Fastabend <[email protected]> | 2010-02-25 23:14:58 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-02-26 02:10:11 -0800 |
| commit | a922afb64d2e71115f122e04346163cb8c8453e3 (patch) | |
| tree | 372eb2450bee03dcd6ca681d691c5e8e5296f6e5 /include/linux/timerqueue.h | |
| parent | 43634e820e393ba48bb2efc3d330dee4203e80d8 (diff) | |
ixgbe: do not stop tx queues in ixgbe_set_tso
Disabling TSO can cause the dev_watchdog timer to be triggered because
when TSO is disabled netif_tx_stop_all_queues is called. If the watchdog
timer fires while the queues are stopped and traffic has not recently been
sent on a paticular queue this is falsly identified as a hang and
ndo_tx_timeout() is called. This is ocossionally seen during testing.
This removes the netif_tx_stop_all_queues() it is not needed. The scheduler
submits skb's with dev_hard_start_xmit(), this checks if netif_needs_gso and
if so it calls dev_gso_segment. Disabling TSO will cause dev_hard_start_xmit()
to do the gso processing. However ixgbe does not use the features flags to
determine if it needs to use tso or not instead it uses skb->gso_size so
ixgbe will process these frames correctly regardless of the netdev features
flag.
Signed-off-by: John Fastabend <[email protected]>
Acked-by: Peter P Waskiewicz Jr <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions