netpoll: Pass budget into poll_napi
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 15 Mar 2014 03:45:17 +0000 (20:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Mar 2014 19:47:22 +0000 (15:47 -0400)
commit9852fbec2c95b6e168c55e97e6051b99aead6f31
tree12fd8bc7a669d93646c22786517c68fd0b3efdf4
parentb249b51b983db1773d3531b7266c397b6b16a7cd
netpoll: Pass budget into poll_napi

This moves the control logic to the top level in netpoll_poll_dev
instead of having it dispersed throughout netpoll_poll_dev,
poll_napi and poll_one_napi.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c