mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
drivers: net: ethernet: davinci_emac: use netif_wake_queue() while restarting tx queue
To restart tx queue use netif_wake_queue() intead of netif_start_queue() so that net schedule will restart transmission immediately which will increase network performance while doing huge data transfers. Reported-by: Dan Franke <dan.franke@schneider-electric.com> Suggested-by: Sriramakrishnan A G <srk@ti.com> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ae8c63b03d
commit
86f1b8c36b
1 changed files with 1 additions and 1 deletions
|
@ -1052,7 +1052,7 @@ static void emac_tx_handler(void *token, int len, int status)
|
|||
atomic_dec(&priv->cur_tx);
|
||||
|
||||
if (unlikely(netif_queue_stopped(ndev)))
|
||||
netif_start_queue(ndev);
|
||||
netif_wake_queue(ndev);
|
||||
ndev->stats.tx_packets++;
|
||||
ndev->stats.tx_bytes += len;
|
||||
dev_kfree_skb_any(skb);
|
||||
|
|
Loading…
Reference in a new issue