summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2017-03-31 18:41:23 -0500
committerDavid S. Miller <davem@davemloft.net>2017-04-02 19:42:44 -0700
commit75514b6654859e0130b512396dc964d2a9e84967 (patch)
tree85886bc2ed8ab11f1c27ba05ad0280b0dbe7326e /net
parente5c1e5198068ed896a8a80b8ed9e202bbab18851 (diff)
net: ethernet: ti: cpsw: wake tx queues on ndo_tx_timeout
In case, if TX watchdog is fired some or all netdev TX queues will be stopped and as part of recovery it is required not only to drain and reinitailize CPSW TX channeles, but also wake up stoppted TX queues what doesn't happen now and netdevice will stop transmiting data until reopenned. Hence, add netif_tx_wake_all_queues() call in .ndo_tx_timeout() to complete recovery and restore TX path. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions