Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/i40e
Alexander Duyck 6beb84a73e i40e/i40evf: napi_poll must return the work done
Currently the function i40e_napi-poll() returns 0 when it clean completely
the Rx rings, but this foul budget accounting in core code.

Fix this by returning the actual work done, capped to budget - 1, since
the core doesn't allow to return the full budget when the driver modifies
the NAPI status

This is based on a similar change that was made for the ixgbe driver by
Paolo Abeni.

Change-ID: Ic3d93ad2fa2fc8ce3164bc461e69367da0f9173b
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-12-06 20:46:13 -08:00
..
2014-01-09 02:10:23 -08:00
2016-10-28 23:28:39 -07:00
2016-10-28 23:28:39 -07:00
2016-02-16 19:04:08 -08:00
2015-10-08 15:11:38 -07:00
2016-07-22 00:07:04 -07:00
2015-07-23 05:33:55 -07:00
2014-01-09 02:10:23 -08:00
2015-07-23 05:33:55 -07:00
2015-07-23 05:33:55 -07:00
2014-01-09 02:10:23 -08:00