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)
commit5eca3a8395cdccd92be320689c2971d4a20b7aec
tree6a1034ff7d4d8b7e27587b041726c27dcf7d98db
parentbb1ae4936815a2d0cff16be5861f5e5d1565d53d
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>
SVN-Revision: 40592
target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c