Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c693 if (ITR_IS_DYNAMIC(rx_ring->itr_setting)) in __iavf_get_coalesce()
696 if (ITR_IS_DYNAMIC(tx_ring->itr_setting)) in __iavf_get_coalesce()
699 ec->rx_coalesce_usecs = rx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in __iavf_get_coalesce()
700 ec->tx_coalesce_usecs = tx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in __iavf_get_coalesce()
749 u16 itr_setting; in iavf_set_itr_per_queue() local
751 itr_setting = rx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in iavf_set_itr_per_queue()
753 if (ec->rx_coalesce_usecs != itr_setting && in iavf_set_itr_per_queue()
760 itr_setting = tx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in iavf_set_itr_per_queue()
762 if (ec->tx_coalesce_usecs != itr_setting && in iavf_set_itr_per_queue()
769 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.c328 q_vector->rx.target_itr = ITR_TO_REG(rx_ring->itr_setting); in iavf_map_vector_to_rxq()
354 q_vector->tx.target_itr = ITR_TO_REG(tx_ring->itr_setting); in iavf_map_vector_to_txq()
1148 tx_ring->itr_setting = IAVF_ITR_TX_DEF; in iavf_alloc_queues()
1157 rx_ring->itr_setting = IAVF_ITR_RX_DEF; in iavf_alloc_queues()
Diavf_txrx.c427 if (!rc->ring || !ITR_IS_DYNAMIC(rc->ring->itr_setting)) in iavf_update_itr()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/
De1000_param.c446 adapter->itr_setting = adapter->itr; in e1000_check_options()
452 adapter->itr_setting = adapter->itr; in e1000_check_options()
458 adapter->itr_setting = adapter->itr; in e1000_check_options()
468 adapter->itr_setting = adapter->itr & ~3; in e1000_check_options()
472 adapter->itr_setting = opt.def; in e1000_check_options()
De1000_ethtool.c1749 if (adapter->itr_setting <= 4) in e1000_get_coalesce()
1750 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
1752 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
1773 adapter->itr = adapter->itr_setting = 4; in e1000_set_coalesce()
1776 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce()
1779 adapter->itr_setting = adapter->itr & ~3; in e1000_set_coalesce()
1782 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()
2527 if (hw->mac_type >= e1000_82540 && adapter->itr_setting == 4) { in e1000_watchdog()
2577 u16 itr_setting, int packets, int bytes) in e1000_update_itr() argument
2579 unsigned int retval = itr_setting; in e1000_update_itr()
2588 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
Dparam.c362 adapter->itr_setting = adapter->itr; in e1000e_check_options()
377 adapter->itr_setting = opt.def; in e1000e_check_options()
397 adapter->itr_setting &= ~3; in e1000e_check_options()
Dethtool.c1998 if (adapter->itr_setting <= 4) in e1000_get_coalesce()
1999 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
2001 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
2018 adapter->itr_setting = 4; in e1000_set_coalesce()
2019 adapter->itr = adapter->itr_setting; in e1000_set_coalesce()
2022 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce()
2025 adapter->itr_setting = adapter->itr & ~3; in e1000_set_coalesce()
2030 if (adapter->itr_setting != 0) in e1000_set_coalesce()
De1000.h211 u32 itr_setting; member
Dnetdev.c2502 static unsigned int e1000_update_itr(u16 itr_setting, int packets, int bytes) in e1000_update_itr() argument
2504 unsigned int retval = itr_setting; in e1000_update_itr()
2507 return itr_setting; in e1000_update_itr()
2509 switch (itr_setting) { in e1000_update_itr()
2566 if (adapter->itr_setting == 3 && adapter->tx_itr == lowest_latency) in e1000_set_itr()
2573 if (adapter->itr_setting == 3 && adapter->rx_itr == lowest_latency) in e1000_set_itr()
2690 if (adapter->itr_setting & 3) in e1000e_poll()
3243 if ((adapter->itr_setting != 0) && (adapter->itr != 0)) in e1000_configure_rx()
4098 if (adapter->itr_setting & 0x3) { in e1000e_reset()
5399 if (adapter->itr_setting == 4) { in e1000_watchdog_task()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_ethtool.c3530 ec->use_adaptive_rx_coalesce = ITR_IS_DYNAMIC(rc->itr_setting); in ice_get_rc_coalesce()
3531 ec->rx_coalesce_usecs = rc->itr_setting & ~ICE_ITR_DYNAMIC; in ice_get_rc_coalesce()
3535 ec->use_adaptive_tx_coalesce = ITR_IS_DYNAMIC(rc->itr_setting); in ice_get_rc_coalesce()
3536 ec->tx_coalesce_usecs = rc->itr_setting & ~ICE_ITR_DYNAMIC; in ice_get_rc_coalesce()
3639 u16 itr_setting; in ice_set_rc_coalesce() local
3676 itr_setting = rc->itr_setting & ~ICE_ITR_DYNAMIC; in ice_set_rc_coalesce()
3677 if (coalesce_usecs != itr_setting && use_adaptive_coalesce) { in ice_set_rc_coalesce()
3690 rc->itr_setting |= ICE_ITR_DYNAMIC; in ice_set_rc_coalesce()
3693 rc->itr_setting = coalesce_usecs; in ice_set_rc_coalesce()
3695 rc->target_itr = ITR_REG_ALIGN(rc->itr_setting); in ice_set_rc_coalesce()
[all …]
Dice_base.c114 q_vector->tx.itr_setting = ICE_DFLT_TX_ITR; in ice_vsi_alloc_q_vector()
115 q_vector->rx.itr_setting = ICE_DFLT_RX_ITR; in ice_vsi_alloc_q_vector()
703 rc->target_itr = ITR_TO_REG(rc->itr_setting); in ice_cfg_itr()
713 rc->target_itr = ITR_TO_REG(rc->itr_setting); in ice_cfg_itr()
Dice_txrx.h347 u16 itr_setting; member
Dice_lib.c2731 rc->itr_setting = stored_itr_setting; in ice_vsi_rebuild_update_coalesce_itr()
2734 if (!ITR_IS_DYNAMIC(rc->itr_setting)) in ice_vsi_rebuild_update_coalesce_itr()
2736 ITR_REG_ALIGN(rc->itr_setting) >> ICE_ITR_GRAN_S); in ice_vsi_rebuild_update_coalesce_itr()
2755 coalesce[i].itr_tx = q_vector->tx.itr_setting; in ice_vsi_rebuild_get_coalesce()
2756 coalesce[i].itr_rx = q_vector->rx.itr_setting; in ice_vsi_rebuild_get_coalesce()
Dice_txrx.c1339 if (!rc->ring || !ITR_IS_DYNAMIC(rc->itr_setting)) in ice_update_itr()
1517 rx->target_itr = rx->itr_setting; in ice_update_ena_itr()
1520 (rx->itr_setting & ICE_ITR_DYNAMIC); in ice_update_ena_itr()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c2802 if (ITR_IS_DYNAMIC(rx_ring->itr_setting)) in __i40e_get_coalesce()
2805 if (ITR_IS_DYNAMIC(tx_ring->itr_setting)) in __i40e_get_coalesce()
2808 ec->rx_coalesce_usecs = rx_ring->itr_setting & ~I40E_ITR_DYNAMIC; in __i40e_get_coalesce()
2809 ec->tx_coalesce_usecs = tx_ring->itr_setting & ~I40E_ITR_DYNAMIC; in __i40e_get_coalesce()
2873 rx_ring->itr_setting = ITR_REG_ALIGN(ec->rx_coalesce_usecs); in i40e_set_itr_per_queue()
2874 tx_ring->itr_setting = ITR_REG_ALIGN(ec->tx_coalesce_usecs); in i40e_set_itr_per_queue()
2877 rx_ring->itr_setting |= I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue()
2879 rx_ring->itr_setting &= ~I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue()
2882 tx_ring->itr_setting |= I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue()
2884 tx_ring->itr_setting &= ~I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue()
[all …]
Di40e_debugfs.c287 i, rx_ring->itr_setting, in i40e_dbg_dump_vsi_seid()
288 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.h341 u16 itr_setting; member
Di40e_main.c3686 ITR_TO_REG(vsi->rx_rings[i]->itr_setting); in i40e_vsi_configure_msix()
3693 ITR_TO_REG(vsi->tx_rings[i]->itr_setting); in i40e_vsi_configure_msix()
3799 q_vector->rx.target_itr = ITR_TO_REG(vsi->rx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy()
3803 q_vector->tx.target_itr = ITR_TO_REG(vsi->tx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy()
11035 ring->itr_setting = pf->tx_itr_default; in i40e_alloc_rings()
11053 ring->itr_setting = pf->tx_itr_default; in i40e_alloc_rings()
11066 ring->itr_setting = pf->rx_itr_default; in i40e_alloc_rings()
Di40e_txrx.c1015 if (!rc->ring || !ITR_IS_DYNAMIC(rc->ring->itr_setting)) in i40e_update_itr()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1431 u8 itr_setting = ring_container->itr; in ixgbevf_update_itr() local
1448 switch (itr_setting) { in ixgbevf_update_itr()
1451 itr_setting = low_latency; in ixgbevf_update_itr()
1455 itr_setting = bulk_latency; in ixgbevf_update_itr()
1457 itr_setting = lowest_latency; in ixgbevf_update_itr()
1461 itr_setting = low_latency; in ixgbevf_update_itr()
1470 ring_container->itr = itr_setting; in ixgbevf_update_itr()
/kernel/linux/linux-5.10/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()