linux/drivers/net/ethernet/intel/ice
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
..
ice_adminq_cmd.h ice: Fix NVM mask defines 2018-11-13 09:09:26 -08:00
ice_common.c ice: Pass the return value of ice_init_def_sw_recp() 2018-11-20 11:39:03 -08:00
ice_common.h ice: Poll for link status change 2018-10-24 14:30:40 -07:00
ice_controlq.c ice: Cleanup duplicate control queue code 2018-11-20 11:39:03 -08:00
ice_controlq.h ice: Update expected FW version 2018-10-24 13:56:37 -07:00
ice_devids.h ice: Change device ID define names to align with branding string 2018-10-24 13:53:30 -07:00
ice_ethtool.c ice: Constify global structures that can/should be 2018-11-20 11:39:04 -08:00
ice_hw_autogen.h ice: Fix debug print in ice_tx_timeout 2018-11-13 09:09:25 -08:00
ice_lan_tx_rx.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_lib.c ice: Remove ICE_MAX_TXQ_PER_TXQG check when configuring Tx queue 2018-11-13 09:09:26 -08:00
ice_lib.h ice: Make ice_msix_clean_rings static 2018-10-24 13:35:36 -07:00
ice_main.c ice: Fix to make VLAN priority tagged traffic to appear on all TCs 2018-11-13 09:09:26 -08:00
ice_nvm.c ice: Update request resource command to latest specification 2018-08-28 10:17:06 -07:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c ice: Fix to make VLAN priority tagged traffic to appear on all TCs 2018-11-13 09:09:26 -08:00
ice_sched.h ice: Fix to make VLAN priority tagged traffic to appear on all TCs 2018-11-13 09:09:26 -08:00
ice_sriov.c ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: Add support for VF reset events 2018-10-03 07:42:30 -07:00
ice_switch.c ice: Do not set LAN_EN for MAC-VLAN filters 2018-11-20 11:39:04 -08:00
ice_switch.h ice: Free VSI contexts during for unload 2018-11-06 12:46:47 -08:00
ice_txrx.c ice: Fix return value from NAPI poll 2018-11-20 11:39:04 -08:00
ice_txrx.h ice: Fix tx_timeout in PF driver 2018-11-06 12:46:47 -08:00
ice_type.h ice: Calculate guaranteed VSIs per function and use it 2018-11-13 09:09:26 -08:00
ice_virtchnl_pf.c ice: Call pci_disable_sriov before stopping queues for VF 2018-11-13 09:09:26 -08:00
ice_virtchnl_pf.h ice: Extend malicious operations detection logic 2018-10-03 07:42:30 -07:00
ice.h ice: Fix to make VLAN priority tagged traffic to appear on all TCs 2018-11-13 09:09:26 -08:00
Makefile ice: Add support for VF reset events 2018-10-03 07:42:30 -07:00