linux/drivers/net/ethernet/intel/ice
Brett Creeley d2b464a7ff ice: Add more flexibility on how we assign an ITR index
This issue came about when looking at the VF function
ice_vc_cfg_irq_map_msg. Currently we are assigning the itr_setting value
to the itr_idx received from the AVF driver, which is not correct and is
not used for the VF flow anyway. Currently the only way we set the ITR
index for both the PF and VF driver is by hard coding ICE_TX_ITR or
ICE_RX_ITR for the ITR index on each q_vector.

To fix this, add the member itr_idx in struct ice_ring_container. This
can then be used to dynamically program the correct ITR index. This change
also affected the PF driver so make the necessary changes there as well.

Also, removed the itr_setting member in struct ice_ring because it is not
being used meaningfully and is going to be removed in a future patch that
includes dynamic ITR.

On another note, this will be useful moving forward if we decide to split
Rx/Tx rings on different q_vectors instead of sharing them as queue pairs.

Signed-off-by: Brett Creeley <brett.creeley@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-10-03 07:42:30 -07:00
..
ice.h ice: Implement virtchnl commands for AVF support 2018-10-03 07:42:30 -07:00
ice_adminq_cmd.h ice: Implement virtchnl commands for AVF support 2018-10-03 07:42:30 -07:00
ice_common.c ice: Add handler to configure SR-IOV 2018-10-03 07:42:29 -07:00
ice_common.h ice: Add handler to configure SR-IOV 2018-10-03 07:42:29 -07:00
ice_controlq.c ice: Add support to detect SR-IOV capability and mailbox queues 2018-10-03 07:42:29 -07:00
ice_controlq.h ice: Add support to detect SR-IOV capability and mailbox queues 2018-10-03 07:42:29 -07:00
ice_devids.h ice: update branding strings and supported device ids 2018-09-28 11:16:36 -07:00
ice_ethtool.c ice: fix changing of ring descriptor size (ethtool -G) 2018-09-28 11:16:36 -07:00
ice_hw_autogen.h ice: Extend malicious operations detection logic 2018-10-03 07:42:30 -07: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: Add more flexibility on how we assign an ITR index 2018-10-03 07:42:30 -07:00
ice_lib.h ice: Add handler to configure SR-IOV 2018-10-03 07:42:29 -07:00
ice_main.c ice: Extend malicious operations detection logic 2018-10-03 07:42:30 -07: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: Expand use of VSI handles part 2/2 2018-10-02 07:13:23 -07:00
ice_sched.h ice: Expand use of VSI handles part 2/2 2018-10-02 07:13:23 -07: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: Fix potential null pointer issues 2018-10-03 07:42:30 -07:00
ice_switch.h ice: Update VSI and queue management code to handle VF VSI 2018-10-03 07:42:29 -07:00
ice_txrx.c ice: Add support for Tx hang, Tx timeout and malicious driver detection 2018-08-28 10:58:42 -07:00
ice_txrx.h ice: Add more flexibility on how we assign an ITR index 2018-10-03 07:42:30 -07:00
ice_type.h ice: Update VSI and queue management code to handle VF VSI 2018-10-03 07:42:29 -07:00
ice_virtchnl_pf.c ice: Add more flexibility on how we assign an ITR index 2018-10-03 07:42:30 -07:00
ice_virtchnl_pf.h ice: Extend malicious operations detection logic 2018-10-03 07:42:30 -07:00
Makefile ice: Add support for VF reset events 2018-10-03 07:42:30 -07:00