/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 693 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 …]
|
D | iavf_txrx.h | 345 u16 itr_setting; member
|
D | iavf_main.c | 328 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()
|
D | iavf_txrx.c | 427 if (!rc->ring || !ITR_IS_DYNAMIC(rc->ring->itr_setting)) in iavf_update_itr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/ |
D | e1000_param.c | 446 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()
|
D | e1000_ethtool.c | 1749 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()
|
D | e1000.h | 221 u32 itr_setting; member
|
D | e1000_main.c | 1879 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/ |
D | param.c | 362 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()
|
D | ethtool.c | 1998 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()
|
D | e1000.h | 211 u32 itr_setting; member
|
D | netdev.c | 2502 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/ |
D | ice_ethtool.c | 3530 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 …]
|
D | ice_base.c | 114 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()
|
D | ice_txrx.h | 347 u16 itr_setting; member
|
D | ice_lib.c | 2731 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()
|
D | ice_txrx.c | 1339 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/ |
D | i40e_ethtool.c | 2802 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 …]
|
D | i40e_debugfs.c | 287 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()
|
D | i40e_txrx.h | 341 u16 itr_setting; member
|
D | i40e_main.c | 3686 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()
|
D | i40e_txrx.c | 1015 if (!rc->ring || !ITR_IS_DYNAMIC(rc->ring->itr_setting)) in i40e_update_itr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1431 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/ |
D | netdev.c | 645 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()
|