]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: have clean_rx_irq return total_rx_packets cleaned
authorJacob Keller <jacob.e.keller@intel.com>
Sat, 21 Sep 2013 06:24:14 +0000 (06:24 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 29 Oct 2013 11:00:21 +0000 (04:00 -0700)
commit3d2e90da1941e83a14cfde657776b3e800f4a450
tree490ae6274dda78311feecea8fd64ae2f36b3eefd
parente4e48f139cfb46ff3b01db6ccd541cdddf45cdcc
ixgbevf: have clean_rx_irq return total_rx_packets cleaned

Rather than return true/false indicating whether there was budget left, return
the total packets cleaned. This currently has no use, but will be used in a
following patch which enables CONFIG_NET_RX_BUSY_POLL support in order to track
how many packets were cleaned during the busy poll as part of the extended
statistics.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c