/drivers/net/ethernet/intel/iavf/ |
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() 702 ec->rx_coalesce_usecs = rx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in __iavf_get_coalesce() 703 ec->tx_coalesce_usecs = tx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; 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() 776 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 | 345 q_vector->rx.target_itr = ITR_TO_REG(rx_ring->itr_setting); in iavf_map_vector_to_rxq() 371 q_vector->tx.target_itr = ITR_TO_REG(tx_ring->itr_setting); in iavf_map_vector_to_txq() 1276 tx_ring->itr_setting = IAVF_ITR_TX_DEF; in iavf_alloc_queues() 1285 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()
|
/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 | 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()
|
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() 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()
|
/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 | 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()
|
D | e1000.h | 212 u32 itr_setting; member
|
D | netdev.c | 2504 static unsigned int e1000_update_itr(u16 itr_setting, int packets, int bytes) in e1000_update_itr() argument 2506 unsigned int retval = itr_setting; in e1000_update_itr() 2509 return itr_setting; in e1000_update_itr() 2511 switch (itr_setting) { in e1000_update_itr() 2568 if (adapter->itr_setting == 3 && adapter->tx_itr == lowest_latency) in e1000_set_itr() 2575 if (adapter->itr_setting == 3 && adapter->rx_itr == lowest_latency) in e1000_set_itr() 2692 if (adapter->itr_setting & 3) in e1000e_poll() 3245 if ((adapter->itr_setting != 0) && (adapter->itr != 0)) in e1000_configure_rx() 4102 if (adapter->itr_setting & 0x3) { in e1000e_reset() 5378 if (adapter->itr_setting == 4) { in e1000_watchdog_task()
|
/drivers/net/ethernet/intel/ice/ |
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() 786 ice_write_itr(&q_vector->rx, q_vector->rx.itr_setting); in ice_cfg_itr() 789 ice_write_itr(&q_vector->tx, q_vector->tx.itr_setting); in ice_cfg_itr()
|
D | ice_ethtool.c | 3548 ec->rx_coalesce_usecs = rc->itr_setting; in ice_get_rc_coalesce() 3553 ec->tx_coalesce_usecs = rc->itr_setting; in ice_get_rc_coalesce() 3657 u16 itr_setting; in ice_set_rc_coalesce() local 3699 itr_setting = rc->itr_setting; in ice_set_rc_coalesce() 3700 if (coalesce_usecs != itr_setting && use_adaptive_coalesce) { in ice_set_rc_coalesce() 3717 rc->itr_setting = coalesce_usecs; in ice_set_rc_coalesce() 3779 ice_print_if_odd_usecs(struct net_device *netdev, u16 itr_setting, in ice_print_if_odd_usecs() argument 3786 if (itr_setting != coalesce_usecs && (coalesce_usecs % 2)) in ice_print_if_odd_usecs() 3813 ice_print_if_odd_usecs(netdev, q_vector->rx.itr_setting, in __ice_set_coalesce() 3817 ice_print_if_odd_usecs(netdev, q_vector->tx.itr_setting, in __ice_set_coalesce()
|
D | ice_txrx.h | 350 u16 itr_setting:13; member
|
D | ice_lib.c | 3040 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce() 3044 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() 3054 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce() 3068 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce() 3073 ice_write_itr(rc, rc->itr_setting); in ice_vsi_rebuild_set_coalesce()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 2798 if (ITR_IS_DYNAMIC(rx_ring->itr_setting)) in __i40e_get_coalesce() 2801 if (ITR_IS_DYNAMIC(tx_ring->itr_setting)) in __i40e_get_coalesce() 2804 ec->rx_coalesce_usecs = rx_ring->itr_setting & ~I40E_ITR_DYNAMIC; in __i40e_get_coalesce() 2805 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 | 3859 ITR_TO_REG(vsi->rx_rings[i]->itr_setting); in i40e_vsi_configure_msix() 3866 ITR_TO_REG(vsi->tx_rings[i]->itr_setting); in i40e_vsi_configure_msix() 3972 q_vector->rx.target_itr = ITR_TO_REG(vsi->rx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy() 3976 q_vector->tx.target_itr = ITR_TO_REG(vsi->tx_rings[0]->itr_setting); in i40e_configure_msi_and_legacy() 11652 ring->itr_setting = pf->tx_itr_default; in i40e_alloc_rings() 11670 ring->itr_setting = pf->tx_itr_default; in i40e_alloc_rings() 11683 ring->itr_setting = pf->rx_itr_default; in i40e_alloc_rings()
|
D | i40e_txrx.c | 1171 if (!rc->ring || !ITR_IS_DYNAMIC(rc->ring->itr_setting)) in i40e_update_itr()
|
/drivers/net/ethernet/intel/ixgbevf/ |
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()
|
/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()
|