cns3xxx: ethernet - revert: clean up tx descs only when needed
authorFelix Fietkau <nbd@openwrt.org>
Tue, 29 Apr 2014 15:52:12 +0000 (15:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 29 Apr 2014 15:52:12 +0000 (15:52 +0000)
commitee93382886c822b4b0e6b794963994312aa0018e
tree6a1034ff7d4d8b7e27587b041726c27dcf7d98db
parente9a3416550014598de03fbae7d80a331827b1a79
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