linux/drivers/net/ethernet/intel
Dave Ertman e0c9fd9b77 ice: Fix return value from NAPI poll
ice_napi_poll is hard-coded to return zero when it's done. It should
instead return the work done (if any work was done). The only time it
should return zero is if an interrupt or poll is handled and no work
is performed. So change the return value to be the minimum of work
done or budget-1.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-11-20 11:39:04 -08:00
..
e1000 e1000: remove set but not used variable 'txb2b' 2018-09-19 23:09:23 -07:00
e1000e e1000e: extend PTP gettime function to read system clock 2018-11-09 19:43:51 -08:00
fm10k fm10k: bump driver version to match out-of-tree release 2018-10-31 10:49:15 -07:00
i40e i40e: prevent overlapping tx_timeout recover 2018-11-14 10:56:34 -08:00
iavf intel-ethernet: software timestamp skbs as late as possible 2018-11-07 09:47:01 -08:00
ice ice: Fix return value from NAPI poll 2018-11-20 11:39:04 -08:00
igb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-11-11 17:57:54 -08:00
igbvf igbvf: Replace spin_is_locked() with lockdep 2018-11-07 09:47:00 -08:00
igc igc: Clean up code 2018-11-07 09:47:01 -08:00
ixgb Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-25 10:35:29 -07:00
ixgbe ixgbe: extend PTP gettime function to read system clock 2018-11-09 19:43:51 -08:00
ixgbevf ixgbevf: add support for software timestamps 2018-11-07 09:47:00 -08:00
e100.c intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
Kconfig ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00