forcedeth: Account for consumed budget in napi poll
authorTom Herbert <therbert@google.com>
Wed, 5 May 2010 18:15:21 +0000 (18:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 04:24:17 +0000 (21:24 -0700)
Repeated calls to nv_rx_process in napi poll routine do not take
portion of budget that has been consumed in previous calls.  Fix by
subtracting the number of packets processed.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found