diff options
| author | Alexander Duyck <alexander.h.duyck@intel.com> | 2012-09-25 00:29:37 +0000 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-10-29 22:32:11 -0700 |
| commit | f4de00ed58df50e522d920990976b39433a406aa (patch) | |
| tree | 5d0b5ecbf6239ff80d44dca91f73864df4a6c21c /drivers/net/xen-netback/interface.c | |
| parent | 3970c3234bbaac962a6c9213536dfcabc421d0d0 (diff) | |
| download | olio-linux-3.10-f4de00ed58df50e522d920990976b39433a406aa.tar.xz olio-linux-3.10-f4de00ed58df50e522d920990976b39433a406aa.zip | |
ixgbe: Do not decrement budget in ixgbe_clean_rx_irq
This change makes it so that compare the total_rx_packets cleaned to budget
instead of decrementing budget. The advantage to this approach is that budget
can now be const and we only end up modifying total_rx_packets instead of
modifying both it and budget.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions