linux/drivers/net/ethernet/intel/ice
Brett Creeley 9118fcd525 ice: Assume that more than one Rx queue is rare in ice_napi_poll
Currently we divide budget by the number of Rx queues per Rx ring
container in ice_napi_poll even if there is only 1. This is an
unnecessary divide for the normal case of 1 Rx ring per Rx ring
container. Fix this by using an unlikely() call in the case where we
actually need to divide.

Also, we will always set budget_per_ring even if there are no Rx rings
in the Rx ring container so we don't need to initialize it to 0.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-08-20 12:28:35 -07:00
..
ice_adminq_cmd.h ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_common.c ice: separate out control queue lock creation 2019-07-31 10:23:04 -07:00
ice_common.h ice: separate out control queue lock creation 2019-07-31 10:23:04 -07:00
ice_controlq.c ice: separate out control queue lock creation 2019-07-31 10:23:04 -07:00
ice_controlq.h ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_dcb_lib.c ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_dcb_lib.h ice: Fix hang when ethtool disables FW LLDP 2019-05-23 10:51:53 -07:00
ice_dcb.c ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_dcb.h ice: Refactor the LLDP MIB change event handling 2019-05-23 10:51:53 -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: add lp_advertising flow control support 2019-07-31 10:23:04 -07:00
ice_hw_autogen.h ice: Add stats for Rx drops at the port level 2019-07-31 13:40:46 -07:00
ice_lan_tx_rx.h ice: Always set prefena when configuring an Rx queue 2019-07-31 10:23:04 -07:00
ice_lib.c ice: Remove unnecessary flag ICE_FLAG_MSIX_ENA 2019-07-31 13:41:01 -07:00
ice_lib.h ice: Add switch rules to handle LLDP packets 2019-05-30 10:31:42 -07:00
ice_main.c ice: Use the software based tail when checking for hung Tx ring 2019-08-20 12:28:35 -07:00
ice_nvm.c ice: Add handler for ethtool selftest 2019-05-29 02:44:12 -07:00
ice_osdep.h
ice_sched.c ice: Use struct_size() helper 2019-06-28 14:54:11 -07:00
ice_sched.h ice: Add code for DCB initialization part 3/4 2019-04-18 08:38:47 -07:00
ice_sriov.c ice: Add support for new PHY types 2019-01-15 12:38:44 -08:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: Add handler for ethtool selftest 2019-05-29 02:44:12 -07:00
ice_switch.c ice: Add switch rules to handle LLDP packets 2019-05-30 10:31:42 -07:00
ice_switch.h ice: Minor cleanup in ice_switch.h 2019-05-29 02:55:34 -07:00
ice_txrx.c ice: Assume that more than one Rx queue is rare in ice_napi_poll 2019-08-20 12:28:35 -07:00
ice_txrx.h ice: Use bitfields when possible 2019-05-23 10:51:54 -07:00
ice_type.h ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_virtchnl_pf.c ice: Remove flag to track VF interrupt status 2019-07-31 13:41:05 -07:00
ice_virtchnl_pf.h ice: Remove flag to track VF interrupt status 2019-07-31 13:41:05 -07:00
ice.h ice: Remove unnecessary flag ICE_FLAG_MSIX_ENA 2019-07-31 13:41:01 -07:00
Makefile ice: Add code for DCB initialization part 1/4 2019-04-18 08:38:47 -07:00