Skip to content
Snippets Groups Projects
Commit 8665c579 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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: default avatarTim Harvey <tharvey@gateworks.com>

SVN-Revision: 39762
parent 96eb3d88
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment