diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-02-27 23:02:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-02-27 23:02:43 +0000 |
commit | cad7ddfdc02df0c36e44aca9e3cb6e29769e0f7f (patch) | |
tree | 47a03bb4681f97ad197b6b6d1778dab0221d6f29 /tools/libtool | |
parent | cc53fad0065de6422d7a8ff8104fd6769513811c (diff) | |
download | upstream-cad7ddfdc02df0c36e44aca9e3cb6e29769e0f7f.tar.gz upstream-cad7ddfdc02df0c36e44aca9e3cb6e29769e0f7f.tar.bz2 upstream-cad7ddfdc02df0c36e44aca9e3cb6e29769e0f7f.zip |
cns3xxx: ethernet - clean up tx descs only when needed
We already clean up tx descriptors in the napi eth_poll() function so it
would likely be rare to run out of available descriptors in eth_xmit. Thus
we can clean them up only when needed and return busy only when we
still don't have enough.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39762 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/libtool')
0 files changed, 0 insertions, 0 deletions