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)
commit2603c9045db890cf52d347419d97e775db3b45ab
tree3733760a8526e9161fba69cc5b447985e320cd98
parent5438bc68b57c3579fd79d99a1116c3bc2a412d67
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