]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drivers: net: ethernet: cpsw: use netif_wake_queue() while restarting tx queue
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 27 Mar 2013 04:41:59 +0000 (04:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2013 18:06:40 +0000 (14:06 -0400)
commitb56d6b3fca6d1214dbc9c5655f26e5d4ec04afc8
treea684180f90dcfb8e871a5b708bb9f1972098903d
parentfcca143d696092110ae1e361866576804fe887f3
drivers: net: ethernet: cpsw: 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>
drivers/net/ethernet/ti/cpsw.c