diff options
| author | Amir Vadai <[email protected]> | 2013-01-30 23:07:11 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-01-31 12:48:48 -0500 |
| commit | 3484aac16149636f0ba5b5b0789a2918c682db7e (patch) | |
| tree | ace64d0ccf89db5b59b596892ba5337aebcff3ec /include/linux/timerqueue.h | |
| parent | 955154fa33df2b74f0fea8e7c84df6dfd954dab2 (diff) | |
net/mlx4_en: Fix transmit timeout when driver restarts port
Under heavy CPU load, changing, ring size/mtu/etc. could result in transmit
timeout, since stop-start port might take more than 10 seconds.
Calling netif_detach_device to prevent tx queue transmit timeout.
netif_detach_device() is not called under ndo_stop, because netif_carrier_off
will prevent the timeout, and device should not be marked as not present, or
else user won't be able to start it later on.
CC: Ben Hutchings <[email protected]>
Signed-off-by: Eugenia Emantayev <[email protected]>
Signed-off-by: Amir Vadai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions