/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_ethtool.c | 696 if (ITR_IS_DYNAMIC(rx_ring->itr_setting)) in __iavf_get_coalesce() 699 if (ITR_IS_DYNAMIC(tx_ring->itr_setting)) in __iavf_get_coalesce() 756 u16 itr_setting; in iavf_set_itr_per_queue() local 758 itr_setting = rx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in iavf_set_itr_per_queue() 760 if (ec->rx_coalesce_usecs != itr_setting && in iavf_set_itr_per_queue() 767 itr_setting = tx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in iavf_set_itr_per_queue() 769 if (ec->tx_coalesce_usecs != itr_setting && in iavf_set_itr_per_queue() 779 rx_ring->itr_setting |= IAVF_ITR_DYNAMIC; in iavf_set_itr_per_queue() 781 rx_ring->itr_setting ^= IAVF_ITR_DYNAMIC; in iavf_set_itr_per_queue() 783 tx_ring->itr_setting |= IAVF_ITR_DYNAMIC; in iavf_set_itr_per_queue() [all …]
|
A D | iavf_txrx.h | 345 u16 itr_setting; member
|
A D | iavf_main.c | 347 q_vector->rx.target_itr = ITR_TO_REG(rx_ring->itr_setting); in iavf_map_vector_to_rxq() 373 q_vector->tx.target_itr = ITR_TO_REG(tx_ring->itr_setting); in iavf_map_vector_to_txq() 1201 tx_ring->itr_setting = IAVF_ITR_TX_DEF; in iavf_alloc_queues() 1210 rx_ring->itr_setting = IAVF_ITR_RX_DEF; in iavf_alloc_queues()
|
A D | iavf_txrx.c | 424 if (!rc->ring || !ITR_IS_DYNAMIC(rc->ring->itr_setting)) in iavf_update_itr()
|
/linux/drivers/net/ethernet/intel/e1000/ |
A 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()
|
A D | e1000_ethtool.c | 1751 if (adapter->itr_setting <= 4) in e1000_get_coalesce() 1752 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce() 1754 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce() 1777 adapter->itr = adapter->itr_setting = 4; in e1000_set_coalesce() 1780 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce() 1783 adapter->itr_setting = adapter->itr & ~3; in e1000_set_coalesce() 1786 if (adapter->itr_setting != 0) in e1000_set_coalesce()
|
A D | e1000.h | 221 u32 itr_setting; member
|
A 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() 2643 if (adapter->itr_setting == 3 && adapter->tx_itr == lowest_latency) in e1000_set_itr() 2650 if (adapter->itr_setting == 3 && adapter->rx_itr == lowest_latency) in e1000_set_itr() 3811 if (likely(adapter->itr_setting & 3)) in e1000_clean()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A 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()
|
A D | ethtool.c | 2002 if (adapter->itr_setting <= 4) in e1000_get_coalesce() 2003 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce() 2005 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce() 2024 adapter->itr_setting = 4; in e1000_set_coalesce() 2025 adapter->itr = adapter->itr_setting; in e1000_set_coalesce() 2028 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce() 2031 adapter->itr_setting = adapter->itr & ~3; in e1000_set_coalesce() 2036 if (adapter->itr_setting != 0) in e1000_set_coalesce()
|
A D | e1000.h | 212 u32 itr_setting; member
|
A D | netdev.c | 2503 static unsigned int e1000_update_itr(u16 itr_setting, int packets, int bytes) in e1000_update_itr() argument 2505 unsigned int retval = itr_setting; in e1000_update_itr() 2508 return itr_setting; in e1000_update_itr() 2510 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() 4100 if (adapter->itr_setting & 0x3) { in e1000e_reset() 5401 if (adapter->itr_setting == 4) { in e1000_watchdog_task()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_base.c | 126 q_vector->tx.itr_setting = ICE_DFLT_TX_ITR; in ice_vsi_alloc_q_vector() 127 q_vector->rx.itr_setting = ICE_DFLT_RX_ITR; in ice_vsi_alloc_q_vector() 853 ice_write_itr(&q_vector->rx, q_vector->rx.itr_setting); in ice_cfg_itr() 856 ice_write_itr(&q_vector->tx, q_vector->tx.itr_setting); in ice_cfg_itr()
|
A D | ice_lib.c | 3221 rc->itr_setting = coalesce[i].itr_rx; in ice_vsi_rebuild_set_coalesce() 3222 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce() 3225 rc->itr_setting = coalesce[0].itr_rx; in ice_vsi_rebuild_set_coalesce() 3226 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce() 3231 rc->itr_setting = coalesce[i].itr_tx; in ice_vsi_rebuild_set_coalesce() 3232 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce() 3236 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce() 3249 rc->itr_setting = coalesce[0].itr_tx; in ice_vsi_rebuild_set_coalesce() 3250 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce() 3254 rc->itr_setting = coalesce[0].itr_rx; in ice_vsi_rebuild_set_coalesce() [all …]
|
A D | ice_ethtool.c | 3539 ec->rx_coalesce_usecs = rc->itr_setting; in ice_get_rc_coalesce() 3544 ec->tx_coalesce_usecs = rc->itr_setting; in ice_get_rc_coalesce() 3648 u16 itr_setting; in ice_set_rc_coalesce() local 3691 itr_setting = rc->itr_setting; in ice_set_rc_coalesce() 3692 if (coalesce_usecs != itr_setting && use_adaptive_coalesce) { in ice_set_rc_coalesce() 3709 rc->itr_setting = coalesce_usecs; in ice_set_rc_coalesce() 3771 ice_print_if_odd_usecs(struct net_device *netdev, u16 itr_setting, in ice_print_if_odd_usecs() argument 3778 if (itr_setting != coalesce_usecs && (coalesce_usecs % 2)) in ice_print_if_odd_usecs() 3805 ice_print_if_odd_usecs(netdev, q_vector->rx.itr_setting, in __ice_set_coalesce() 3809 ice_print_if_odd_usecs(netdev, q_vector->tx.itr_setting, in __ice_set_coalesce()
|
A D | ice_txrx.h | 382 u16 itr_setting:13; member
|
A D | ice_main.c | 5814 tx_profile[rc->dim.profile_ix].itr : rc->itr_setting); in ice_init_moderation() 5825 rc->itr_setting); in ice_init_moderation() 7630 ice_write_itr(rc, rc->itr_setting); in ice_chnl_cfg_res() 7637 ice_write_itr(rc, rc->itr_setting); in ice_chnl_cfg_res()
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_ethtool.c | 2790 if (ITR_IS_DYNAMIC(rx_ring->itr_setting)) in __i40e_get_coalesce() 2793 if (ITR_IS_DYNAMIC(tx_ring->itr_setting)) in __i40e_get_coalesce() 2869 rx_ring->itr_setting |= I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue() 2871 rx_ring->itr_setting &= ~I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue() 2874 tx_ring->itr_setting |= I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue() 2876 tx_ring->itr_setting &= ~I40E_ITR_DYNAMIC; in i40e_set_itr_per_queue() 2879 q_vector->rx.target_itr = ITR_TO_REG(rx_ring->itr_setting); in i40e_set_itr_per_queue() 2915 cur_rx_itr = vsi->rx_rings[0]->itr_setting; in __i40e_set_coalesce() 2916 cur_tx_itr = vsi->tx_rings[0]->itr_setting; in __i40e_set_coalesce() 2918 cur_rx_itr = vsi->rx_rings[queue]->itr_setting; in __i40e_set_coalesce() [all …]
|
A 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()
|
A D | i40e_txrx.h | 341 u16 itr_setting; member
|
A D | i40e_main.c | 3637 ITR_TO_REG(vsi->rx_rings[i]->itr_setting); in i40e_vsi_configure_msix() 3644 ITR_TO_REG(vsi->tx_rings[i]->itr_setting); in i40e_vsi_configure_msix() 3750 q_vector->rx.target_itr = ITR_TO_REG(vsi->rx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy() 3754 q_vector->tx.target_itr = ITR_TO_REG(vsi->tx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy() 11388 ring->itr_setting = pf->tx_itr_default; in i40e_alloc_rings() 11406 ring->itr_setting = pf->tx_itr_default; in i40e_alloc_rings() 11419 ring->itr_setting = pf->rx_itr_default; in i40e_alloc_rings()
|
A D | i40e_txrx.c | 1171 if (!rc->ring || !ITR_IS_DYNAMIC(rc->ring->itr_setting)) in i40e_update_itr()
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | ixgbevf_main.c | 1423 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/drivers/net/ethernet/intel/igbvf/ |
A 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()
|