Home
last modified time | relevance | path

Searched refs:target_itr (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c480 itr = rc->target_itr; in iavf_update_itr()
494 (q_vector->tx.target_itr & IAVF_ITR_ADAPTIVE_LATENCY)) { in iavf_update_itr()
504 if (rc->target_itr == IAVF_ITR_ADAPTIVE_MAX_USECS && in iavf_update_itr()
505 (q_vector->rx.target_itr & IAVF_ITR_MASK) == in iavf_update_itr()
512 rc->target_itr &= ~IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr()
524 itr = rc->target_itr + IAVF_ITR_ADAPTIVE_MIN_INC; in iavf_update_itr()
631 rc->target_itr = itr; in iavf_update_itr()
1681 if (q_vector->rx.target_itr < q_vector->rx.current_itr) { in iavf_update_enable_itr()
1684 q_vector->rx.target_itr); in iavf_update_enable_itr()
1685 q_vector->rx.current_itr = q_vector->rx.target_itr; in iavf_update_enable_itr()
[all …]
Diavf_txrx.h424 u16 target_itr; /* target ITR setting for ring(s) */ member
Diavf_main.c455 q_vector->rx.target_itr = ITR_TO_REG(rx_ring->itr_setting); in iavf_map_vector_to_rxq()
459 q_vector->rx.current_itr = q_vector->rx.target_itr; in iavf_map_vector_to_rxq()
481 q_vector->tx.target_itr = ITR_TO_REG(tx_ring->itr_setting); in iavf_map_vector_to_txq()
484 q_vector->tx.target_itr >> 1); in iavf_map_vector_to_txq()
485 q_vector->tx.current_itr = q_vector->tx.target_itr; in iavf_map_vector_to_txq()
Diavf_ethtool.c800 q_vector->rx.target_itr = ITR_TO_REG(rx_ring->itr_setting); in iavf_set_itr_per_queue()
803 q_vector->tx.target_itr = ITR_TO_REG(tx_ring->itr_setting); in iavf_set_itr_per_queue()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1195 itr = rc->target_itr; in i40e_update_itr()
1209 (q_vector->tx.target_itr & I40E_ITR_ADAPTIVE_LATENCY)) { in i40e_update_itr()
1219 if (rc->target_itr == I40E_ITR_ADAPTIVE_MAX_USECS && in i40e_update_itr()
1220 (q_vector->rx.target_itr & I40E_ITR_MASK) == in i40e_update_itr()
1227 rc->target_itr &= ~I40E_ITR_ADAPTIVE_LATENCY; in i40e_update_itr()
1239 itr = rc->target_itr + I40E_ITR_ADAPTIVE_MIN_INC; in i40e_update_itr()
1345 rc->target_itr = itr; in i40e_update_itr()
2648 if (q_vector->rx.target_itr < q_vector->rx.current_itr) { in i40e_update_enable_itr()
2651 q_vector->rx.target_itr); in i40e_update_enable_itr()
2652 q_vector->rx.current_itr = q_vector->rx.target_itr; in i40e_update_enable_itr()
[all …]
Di40e_txrx.h435 u16 target_itr; /* target ITR setting for ring(s) */ member
Di40e_main.c3740 q_vector->rx.target_itr = in i40e_vsi_configure_msix()
3743 q_vector->rx.target_itr >> 1); in i40e_vsi_configure_msix()
3744 q_vector->rx.current_itr = q_vector->rx.target_itr; in i40e_vsi_configure_msix()
3747 q_vector->tx.target_itr = in i40e_vsi_configure_msix()
3750 q_vector->tx.target_itr >> 1); in i40e_vsi_configure_msix()
3751 q_vector->tx.current_itr = q_vector->tx.target_itr; in i40e_vsi_configure_msix()
3854 q_vector->rx.target_itr = ITR_TO_REG(vsi->rx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy()
3855 wr32(hw, I40E_PFINT_ITR0(I40E_RX_ITR), q_vector->rx.target_itr >> 1); in i40e_configure_msi_and_legacy()
3856 q_vector->rx.current_itr = q_vector->rx.target_itr; in i40e_configure_msi_and_legacy()
3858 q_vector->tx.target_itr = ITR_TO_REG(vsi->tx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy()
[all …]
Di40e_ethtool.c2898 q_vector->rx.target_itr = ITR_TO_REG(rx_ring->itr_setting); in i40e_set_itr_per_queue()
2901 q_vector->tx.target_itr = ITR_TO_REG(tx_ring->itr_setting); in i40e_set_itr_per_queue()