aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fou.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-11-12 15:40:43 -0800
committerDavid S. Miller <davem@davemloft.net>2014-11-12 22:21:33 -0500
commit9dfa9a27b620640322588df399eb8f624b48d877 (patch)
treeb161fae973f4be8d809a830d967393fcb82e2fc5 /net/ipv4/fou.c
parentenic: fix work done in tx napi_poll (diff)
downloadlinux-dev-9dfa9a27b620640322588df399eb8f624b48d877.tar.xz
linux-dev-9dfa9a27b620640322588df399eb8f624b48d877.zip
net: systemport: fix tx work done in TX napi poll
With commit d75b1ade567 ("net: less interrupt masking in NAPI") napi repoll is done only when work_done == budget. bcm_sysport_tx_poll() always returns 0 whether or not we completed the poll quantum. Fix this by returning either 0 when we did complete the TX ring reclaim, or budget to trigger a repoll. Fixes: d75b1ade567 ("net: less interrupt masking in NAPI") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fou.c')
0 files changed, 0 insertions, 0 deletions