Home
last modified time | relevance | path

Searched refs:itr_setting (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c714 if (ITR_IS_DYNAMIC(rx_ring->itr_setting)) in __iavf_get_coalesce()
717 if (ITR_IS_DYNAMIC(tx_ring->itr_setting)) in __iavf_get_coalesce()
720 ec->rx_coalesce_usecs = rx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in __iavf_get_coalesce()
721 ec->tx_coalesce_usecs = tx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in __iavf_get_coalesce()
774 u16 itr_setting; in iavf_set_itr_per_queue() local
776 itr_setting = rx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in iavf_set_itr_per_queue()
778 if (ec->rx_coalesce_usecs != itr_setting && in iavf_set_itr_per_queue()
785 itr_setting = tx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in iavf_set_itr_per_queue()
787 if (ec->tx_coalesce_usecs != itr_setting && in iavf_set_itr_per_queue()
794 rx_ring->itr_setting = ITR_REG_ALIGN(ec->rx_coalesce_usecs); in iavf_set_itr_per_queue()
[all …]
Diavf_txrx.h345 u16 itr_setting; member
Diavf_main.c461 q_vector->rx.target_itr = ITR_TO_REG(rx_ring->itr_setting); in iavf_map_vector_to_rxq()
487 q_vector->tx.target_itr = ITR_TO_REG(tx_ring->itr_setting); in iavf_map_vector_to_txq()
1615 tx_ring->itr_setting = IAVF_ITR_TX_DEF; in iavf_alloc_queues()
1624 rx_ring->itr_setting = IAVF_ITR_RX_DEF; in iavf_alloc_queues()
Diavf_txrx.c457 if (!rc->ring || !ITR_IS_DYNAMIC(rc->ring->itr_setting)) in iavf_update_itr()
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000_param.c444 adapter->itr_setting = adapter->itr; in e1000_check_options()
450 adapter->itr_setting = adapter->itr; in e1000_check_options()
456 adapter->itr_setting = adapter->itr; in e1000_check_options()
466 adapter->itr_setting = adapter->itr & ~3; in e1000_check_options()
470 adapter->itr_setting = opt.def; in e1000_check_options()
De1000_ethtool.c1755 if (adapter->itr_setting <= 4) in e1000_get_coalesce()
1756 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
1758 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
1781 adapter->itr = adapter->itr_setting = 4; in e1000_set_coalesce()
1784 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce()
1787 adapter->itr_setting = adapter->itr & ~3; in e1000_set_coalesce()
1790 if (adapter->itr_setting != 0) in e1000_set_coalesce()
De1000.h221 u32 itr_setting; member
De1000_main.c1879 if (adapter->itr_setting != 0) in e1000_configure_rx()
2528 if (hw->mac_type >= e1000_82540 && adapter->itr_setting == 4) { in e1000_watchdog()
2578 u16 itr_setting, int packets, int bytes) in e1000_update_itr() argument
2580 unsigned int retval = itr_setting; in e1000_update_itr()
2589 switch (itr_setting) { in e1000_update_itr()
2644 if (adapter->itr_setting == 3 && adapter->tx_itr == lowest_latency) in e1000_set_itr()
2651 if (adapter->itr_setting == 3 && adapter->rx_itr == lowest_latency) in e1000_set_itr()
3812 if (likely(adapter->itr_setting & 3)) in e1000_clean()
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dparam.c360 adapter->itr_setting = adapter->itr; in e1000e_check_options()
375 adapter->itr_setting = opt.def; in e1000e_check_options()
395 adapter->itr_setting &= ~3; in e1000e_check_options()
Dethtool.c2018 if (adapter->itr_setting <= 4) in e1000_get_coalesce()
2019 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
2021 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
2040 adapter->itr_setting = 4; in e1000_set_coalesce()
2041 adapter->itr = adapter->itr_setting; in e1000_set_coalesce()
2044 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce()
2047 adapter->itr_setting = adapter->itr & ~3; in e1000_set_coalesce()
2052 if (adapter->itr_setting != 0) in e1000_set_coalesce()
De1000.h214 u32 itr_setting; member
Dnetdev.c2496 static unsigned int e1000_update_itr(u16 itr_setting, int packets, int bytes) in e1000_update_itr() argument
2498 unsigned int retval = itr_setting; in e1000_update_itr()
2501 return itr_setting; in e1000_update_itr()
2503 switch (itr_setting) { in e1000_update_itr()
2559 if (adapter->itr_setting == 3 && adapter->tx_itr == lowest_latency) in e1000_set_itr()
2566 if (adapter->itr_setting == 3 && adapter->rx_itr == lowest_latency) in e1000_set_itr()
2683 if (adapter->itr_setting & 3) in e1000e_poll()
3236 if ((adapter->itr_setting != 0) && (adapter->itr != 0)) in e1000_configure_rx()
4093 if (adapter->itr_setting & 0x3) { in e1000e_reset()
5369 if (adapter->itr_setting == 4) { in e1000_watchdog_task()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_base.c115 q_vector->tx.itr_setting = ICE_DFLT_TX_ITR; in ice_vsi_alloc_q_vector()
116 q_vector->rx.itr_setting = ICE_DFLT_RX_ITR; in ice_vsi_alloc_q_vector()
900 ice_write_itr(&q_vector->rx, q_vector->rx.itr_setting); in ice_cfg_itr()
903 ice_write_itr(&q_vector->tx, q_vector->tx.itr_setting); in ice_cfg_itr()
Dice_ethtool.c3598 ec->rx_coalesce_usecs = rc->itr_setting; in ice_get_rc_coalesce()
3603 ec->tx_coalesce_usecs = rc->itr_setting; in ice_get_rc_coalesce()
3707 u16 itr_setting; in ice_set_rc_coalesce() local
3750 itr_setting = rc->itr_setting; in ice_set_rc_coalesce()
3751 if (coalesce_usecs != itr_setting && use_adaptive_coalesce) { in ice_set_rc_coalesce()
3768 rc->itr_setting = coalesce_usecs; in ice_set_rc_coalesce()
3830 ice_print_if_odd_usecs(struct net_device *netdev, u16 itr_setting, in ice_print_if_odd_usecs() argument
3837 if (itr_setting != coalesce_usecs && (coalesce_usecs % 2)) in ice_print_if_odd_usecs()
3864 ice_print_if_odd_usecs(netdev, q_vector->rx.itr_setting, in __ice_set_coalesce()
3868 ice_print_if_odd_usecs(netdev, q_vector->tx.itr_setting, in __ice_set_coalesce()
Dice_txrx.h430 u16 itr_setting:13; member
Dice_lib.c3046 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce()
3050 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce()
3056 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce()
3060 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce()
3074 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce()
3079 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce()
Dice_main.c6400 tx_profile[rc->dim.profile_ix].itr : rc->itr_setting); in ice_init_moderation()
6411 rc->itr_setting); in ice_init_moderation()
8239 ice_write_itr(rc, rc->itr_setting); in ice_chnl_cfg_res()
8246 ice_write_itr(rc, rc->itr_setting); in ice_chnl_cfg_res()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c2898 if (ITR_IS_DYNAMIC(rx_ring->itr_setting)) in __i40e_get_coalesce()
2901 if (ITR_IS_DYNAMIC(tx_ring->itr_setting)) in __i40e_get_coalesce()
2904 ec->rx_coalesce_usecs = rx_ring->itr_setting & ~I40E_ITR_DYNAMIC; in __i40e_get_coalesce()
2905 ec->tx_coalesce_usecs = tx_ring->itr_setting & ~I40E_ITR_DYNAMIC; in __i40e_get_coalesce()
2973 rx_ring->itr_setting = ITR_REG_ALIGN(ec->rx_coalesce_usecs); in i40e_set_itr_per_queue()
2974 tx_ring->itr_setting = ITR_REG_ALIGN(ec->tx_coalesce_usecs); in i40e_set_itr_per_queue()
2977 rx_ring->itr_setting |= I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue()
2979 rx_ring->itr_setting &= ~I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue()
2982 tx_ring->itr_setting |= I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue()
2984 tx_ring->itr_setting &= ~I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue()
[all …]
Di40e_debugfs.c286 i, rx_ring->itr_setting, in i40e_dbg_dump_vsi_seid()
287 ITR_IS_DYNAMIC(rx_ring->itr_setting) ? "dynamic" : "fixed"); in i40e_dbg_dump_vsi_seid()
325 i, tx_ring->itr_setting, in i40e_dbg_dump_vsi_seid()
326 ITR_IS_DYNAMIC(tx_ring->itr_setting) ? "dynamic" : "fixed"); in i40e_dbg_dump_vsi_seid()
364 i, xdp_ring->itr_setting, in i40e_dbg_dump_vsi_seid()
365 ITR_IS_DYNAMIC(xdp_ring->itr_setting) ? in i40e_dbg_dump_vsi_seid()
Di40e_txrx.h356 u16 itr_setting; member
Di40e_main.c3896 ITR_TO_REG(vsi->rx_rings[i]->itr_setting); in i40e_vsi_configure_msix()
3903 ITR_TO_REG(vsi->tx_rings[i]->itr_setting); in i40e_vsi_configure_msix()
4009 q_vector->rx.target_itr = ITR_TO_REG(vsi->rx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy()
4013 q_vector->tx.target_itr = ITR_TO_REG(vsi->tx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy()
11681 ring->itr_setting = pf->tx_itr_default; in i40e_alloc_rings()
11699 ring->itr_setting = pf->tx_itr_default; in i40e_alloc_rings()
11712 ring->itr_setting = pf->rx_itr_default; in i40e_alloc_rings()
Di40e_txrx.c1172 if (!rc->ring || !ITR_IS_DYNAMIC(rc->ring->itr_setting)) in i40e_update_itr()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1423 u8 itr_setting = ring_container->itr; in ixgbevf_update_itr() local
1440 switch (itr_setting) { in ixgbevf_update_itr()
1443 itr_setting = low_latency; in ixgbevf_update_itr()
1447 itr_setting = bulk_latency; in ixgbevf_update_itr()
1449 itr_setting = lowest_latency; in ixgbevf_update_itr()
1453 itr_setting = low_latency; in ixgbevf_update_itr()
1462 ring_container->itr = itr_setting; in ixgbevf_update_itr()
/linux-6.6.21/drivers/net/ethernet/intel/igbvf/
Dnetdev.c645 enum latency_range itr_setting, in igbvf_update_itr() argument
648 enum latency_range retval = itr_setting; in igbvf_update_itr()
653 switch (itr_setting) { in igbvf_update_itr()