Home
last modified time | relevance | path

Searched refs:itr_val (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c719 adapter->tx_ring->itr_val, in igbvf_set_itr()
730 if (new_itr != adapter->tx_ring->itr_val) { in igbvf_set_itr()
731 u32 current_itr = adapter->tx_ring->itr_val; in igbvf_set_itr()
739 adapter->tx_ring->itr_val = new_itr; in igbvf_set_itr()
745 igbvf_update_itr(adapter, adapter->rx_ring->itr_val, in igbvf_set_itr()
754 if (new_itr != adapter->rx_ring->itr_val) { in igbvf_set_itr()
755 u32 current_itr = adapter->rx_ring->itr_val; in igbvf_set_itr()
760 adapter->rx_ring->itr_val = new_itr; in igbvf_set_itr()
877 writel(tx_ring->itr_val, in igbvf_intr_msix_tx()
908 writel(adapter->rx_ring->itr_val, in igbvf_intr_msix_rx()
[all …]
H A Digbvf.h144 u32 itr_val; member
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c1102 u16 itr_val; in __idpf_set_q_coalesce() local
1108 itr_val = qv->rx_itr_value; in __idpf_set_q_coalesce()
1113 itr_val = qv->tx_itr_value; in __idpf_set_q_coalesce()
1115 if (coalesce_usecs != itr_val && use_adaptive_coalesce) { in __idpf_set_q_coalesce()
H A Didpf_txrx.c3612 u32 itr_val; in idpf_vport_intr_buildreg_itr() local
3618 itr_val = q_vector->intr_reg.dyn_ctl_intena_m | in idpf_vport_intr_buildreg_itr()
3622 return itr_val; in idpf_vport_intr_buildreg_itr()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c4384 u32 new_itr = q_vector->itr_val; in igc_set_itr()
4425 if (new_itr != q_vector->itr_val) { in igc_set_itr()
4430 new_itr = new_itr > q_vector->itr_val ? in igc_set_itr()
4431 max((new_itr * q_vector->itr_val) / in igc_set_itr()
4432 (new_itr + (q_vector->itr_val >> 2)), in igc_set_itr()
4440 q_vector->itr_val = new_itr; in igc_set_itr()
4548 int new_val = q_vector->itr_val; in igc_update_ring_itr()
4596 if (new_val != q_vector->itr_val) { in igc_update_ring_itr()
4597 q_vector->itr_val = new_val; in igc_update_ring_itr()
4746 q_vector->itr_val = IGC_START_ITR; in igc_alloc_q_vector()
[all …]
H A Digc_ethtool.c947 q_vector->itr_val = adapter->rx_itr_setting; in igc_ethtool_set_coalesce()
949 q_vector->itr_val = adapter->tx_itr_setting; in igc_ethtool_set_coalesce()
950 if (q_vector->itr_val && q_vector->itr_val <= 3) in igc_ethtool_set_coalesce()
951 q_vector->itr_val = IGC_START_ITR; in igc_ethtool_set_coalesce()
H A Digc.h587 u16 itr_val; member
/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx.c1399 u32 itr_val; in ice_enable_interrupt() local
1410 itr_val = ice_buildreg_itr(ICE_ITR_NONE, 0); in ice_enable_interrupt()
1420 itr_val = ice_buildreg_itr(ICE_IDX_ITR2, ICE_ITR_20K); in ice_enable_interrupt()
1421 itr_val |= GLINT_DYN_CTL_SWINT_TRIG_M | in ice_enable_interrupt()
1425 wr32(&vsi->back->hw, GLINT_DYN_CTL(q_vector->reg_idx), itr_val); in ice_enable_interrupt()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c1202 q_vector->itr_val = IGB_START_ITR; in igb_alloc_q_vector()
1211 q_vector->itr_val = adapter->rx_itr_setting; in igb_alloc_q_vector()
1215 q_vector->itr_val = adapter->tx_itr_setting; in igb_alloc_q_vector()
5740 int new_val = q_vector->itr_val; in igb_update_ring_itr()
5785 if (new_val != q_vector->itr_val) { in igb_update_ring_itr()
5786 q_vector->itr_val = new_val; in igb_update_ring_itr()
5867 u32 new_itr = q_vector->itr_val; in igb_set_itr()
5904 if (new_itr != q_vector->itr_val) { in igb_set_itr()
5909 new_itr = new_itr > q_vector->itr_val ? in igb_set_itr()
5910 max((new_itr * q_vector->itr_val) / in igb_set_itr()
[all …]
H A Digb_ethtool.c2236 q_vector->itr_val = adapter->rx_itr_setting; in igb_set_coalesce()
2238 q_vector->itr_val = adapter->tx_itr_setting; in igb_set_coalesce()
2239 if (q_vector->itr_val && q_vector->itr_val <= 3) in igb_set_coalesce()
2240 q_vector->itr_val = IGB_START_ITR; in igb_set_coalesce()
H A Digb.h367 u16 itr_val; member
/linux/drivers/net/ethernet/intel/e1000e/
H A De1000.h171 u32 itr_val; member
H A Dnetdev.c1943 u32 itr = rx_ring->itr_val ? in e1000_intr_msix_rx()
1944 1000000000 / (rx_ring->itr_val * 256) : 0; in e1000_intr_msix_rx()
1986 if (rx_ring->itr_val) in e1000_configure_msix()
1987 writel(1000000000 / (rx_ring->itr_val * 256), in e1000_configure_msix()
1996 if (tx_ring->itr_val) in e1000_configure_msix()
1997 writel(1000000000 / (tx_ring->itr_val * 256), in e1000_configure_msix()
2007 if (rx_ring->itr_val) in e1000_configure_msix()
2008 writel(1000000000 / (rx_ring->itr_val * 256), in e1000_configure_msix()
2118 adapter->rx_ring->itr_val = adapter->itr; in e1000_request_msix()
2134 adapter->tx_ring->itr_val = adapter->itr; in e1000_request_msix()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c2672 u32 itr_val; in i40e_update_enable_itr() local
2728 itr_val = i40e_buildreg_itr(itr_idx, interval, true); in i40e_update_enable_itr()
2731 itr_val = i40e_buildreg_itr(itr_idx, interval, false); in i40e_update_enable_itr()
2733 wr32(hw, I40E_PFINT_DYN_CTLN(q_vector->reg_idx), itr_val); in i40e_update_enable_itr()