Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb8143b4 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by David S. Miller
Browse files

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: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9852fbec
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;
		}
	}
}