diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-03-15 04:45:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-17 20:47:22 +0100 |
commit | eb8143b469e5e11e05487648d27e176e907fec1f (patch) | |
tree | 303bb43834d5a46f8e886e5d5702fe46276c6638 /net | |
parent | netpoll: Pass budget into poll_napi (diff) | |
download | linux-eb8143b469e5e11e05487648d27e176e907fec1f.tar.xz linux-eb8143b469e5e11e05487648d27e176e907fec1f.zip |
netpoll: Visit all napi handlers in poll_napi
In poll_napi loop through all of the napi handlers even when the
budget falls to 0 to ensure that we process all of the tx_queues, and
so that we continue to call into drivers when our initial budget is 0.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/netpoll.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 147c75855c9b..d9e3d74ec9ac 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -174,9 +174,6 @@ static void poll_napi(struct net_device *dev, int budget) spin_trylock(&napi->poll_lock)) { budget = poll_one_napi(napi, budget); spin_unlock(&napi->poll_lock); - - if (!budget) - break; } } } |