diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-27 23:02:43 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-27 23:02:43 +0000 |
commit | 0772ab938c0aedd7f4cc7127059d6ce8cf929dfa (patch) | |
tree | 47a03bb4681f97ad197b6b6d1778dab0221d6f29 /target/linux/ar71xx/base-files/etc | |
parent | ffa5faa7ae3ecd7dc74d12dccd4b63ce4a5cff26 (diff) |
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 'target/linux/ar71xx/base-files/etc')
0 files changed, 0 insertions, 0 deletions