cns3xxx: ethernet - revert: clean up tx descs only when needed
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 29 Apr 2014 15:52:12 +0000 (15:52 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 29 Apr 2014 15:52:12 +0000 (15:52 +0000)
commit23a02f86e32202c39f68c776b1e864284cbd9298
tree6a1034ff7d4d8b7e27587b041726c27dcf7d98db
parentd408db299eb4e1f5f617e5599f0b55fdb7d5c89c
cns3xxx: ethernet - revert: clean up tx descs only when needed

This reverts commit 0772ab938c0aedd7f4cc7127059d6ce8cf929dfa.

Trying to optimize calls to eth_complete_tx in this fasion causes a regression
where when sending only the tx queue can get disabled until a packet is
received. This original call to eth_schedule_poll() is scheduled so it
should not cause a performance issue.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40592 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c