| /Linux-v5.10/drivers/net/ethernet/intel/igbvf/ |
| D | ethtool.c | 324 ec->rx_coalesce_usecs = adapter->current_itr >> 2; in igbvf_get_coalesce() 337 adapter->current_itr = ec->rx_coalesce_usecs << 2; in igbvf_set_coalesce() 339 (adapter->current_itr * 256); in igbvf_set_coalesce() 342 adapter->current_itr = IGBVF_START_ITR; in igbvf_set_coalesce() 351 adapter->current_itr = 4; in igbvf_set_coalesce() 353 (adapter->current_itr * 256); in igbvf_set_coalesce() 358 writel(adapter->current_itr, in igbvf_set_coalesce()
|
| D | netdev.c | 732 u32 current_itr = adapter->tx_ring->itr_val; in igbvf_set_itr() local 737 new_itr = new_itr > current_itr ? in igbvf_set_itr() 738 min(current_itr + (new_itr >> 2), new_itr) : in igbvf_set_itr() 756 u32 current_itr = adapter->rx_ring->itr_val; in igbvf_set_itr() local 758 new_itr = new_itr > current_itr ? in igbvf_set_itr() 759 min(current_itr + (new_itr >> 2), new_itr) : in igbvf_set_itr() 1070 adapter->tx_ring->itr_val = adapter->current_itr; in igbvf_request_msix() 1080 adapter->rx_ring->itr_val = adapter->current_itr; in igbvf_request_msix() 1639 adapter->current_itr = IGBVF_START_ITR; in igbvf_sw_init()
|
| D | igbvf.h | 179 u32 current_itr; /* Actual ITR register value, not ints/sec */ member
|
| /Linux-v5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_txrx.c | 1419 itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); in ice_update_itr() 1518 rx->current_itr = ICE_WB_ON_ITR_USECS | in ice_update_ena_itr() 1537 if (rx->target_itr < rx->current_itr) { in ice_update_ena_itr() 1540 rx->current_itr = rx->target_itr; in ice_update_ena_itr() 1542 } else if ((tx->target_itr < tx->current_itr) || in ice_update_ena_itr() 1543 ((rx->target_itr - rx->current_itr) < in ice_update_ena_itr() 1544 (tx->target_itr - tx->current_itr))) { in ice_update_ena_itr() 1549 tx->current_itr = tx->target_itr; in ice_update_ena_itr() 1551 } else if (rx->current_itr != rx->target_itr) { in ice_update_ena_itr() 1554 rx->current_itr = rx->target_itr; in ice_update_ena_itr()
|
| D | ice_base.c | 705 rc->current_itr = rc->target_itr; in ice_cfg_itr() 707 ITR_REG_ALIGN(rc->current_itr) >> ICE_ITR_GRAN_S); in ice_cfg_itr() 715 rc->current_itr = rc->target_itr; in ice_cfg_itr() 717 ITR_REG_ALIGN(rc->current_itr) >> ICE_ITR_GRAN_S); in ice_cfg_itr()
|
| D | ice_txrx.h | 342 u16 current_itr; /* value in usecs divided by the hw->itr_gran */ member
|
| /Linux-v5.10/drivers/net/ethernet/intel/iavf/ |
| D | iavf_txrx.c | 502 itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); in iavf_update_itr() 1656 if (q_vector->rx.target_itr < q_vector->rx.current_itr) { in iavf_update_enable_itr() 1660 q_vector->rx.current_itr = q_vector->rx.target_itr; in iavf_update_enable_itr() 1662 } else if ((q_vector->tx.target_itr < q_vector->tx.current_itr) || in iavf_update_enable_itr() 1663 ((q_vector->rx.target_itr - q_vector->rx.current_itr) < in iavf_update_enable_itr() 1664 (q_vector->tx.target_itr - q_vector->tx.current_itr))) { in iavf_update_enable_itr() 1670 q_vector->tx.current_itr = q_vector->tx.target_itr; in iavf_update_enable_itr() 1672 } else if (q_vector->rx.current_itr != q_vector->rx.target_itr) { in iavf_update_enable_itr() 1676 q_vector->rx.current_itr = q_vector->rx.target_itr; in iavf_update_enable_itr()
|
| D | iavf_txrx.h | 421 u16 current_itr; /* current ITR setting for ring(s) */ member
|
| D | iavf_main.c | 307 q_vector->rx.current_itr >> 1); in iavf_map_vector_to_rxq() 308 q_vector->rx.current_itr = q_vector->rx.target_itr; in iavf_map_vector_to_rxq() 334 q_vector->tx.current_itr = q_vector->tx.target_itr; in iavf_map_vector_to_txq()
|
| /Linux-v5.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_txrx.c | 1093 itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); in i40e_update_itr() 2541 if (q_vector->rx.target_itr < q_vector->rx.current_itr) { in i40e_update_enable_itr() 2545 q_vector->rx.current_itr = q_vector->rx.target_itr; in i40e_update_enable_itr() 2547 } else if ((q_vector->tx.target_itr < q_vector->tx.current_itr) || in i40e_update_enable_itr() 2548 ((q_vector->rx.target_itr - q_vector->rx.current_itr) < in i40e_update_enable_itr() 2549 (q_vector->tx.target_itr - q_vector->tx.current_itr))) { in i40e_update_enable_itr() 2555 q_vector->tx.current_itr = q_vector->tx.target_itr; in i40e_update_enable_itr() 2557 } else if (q_vector->rx.current_itr != q_vector->rx.target_itr) { in i40e_update_enable_itr() 2561 q_vector->rx.current_itr = q_vector->rx.target_itr; in i40e_update_enable_itr()
|
| D | i40e_txrx.h | 432 u16 current_itr; /* current ITR setting for ring(s) */ member
|
| D | i40e_main.c | 3569 q_vector->rx.current_itr = q_vector->rx.target_itr; in i40e_vsi_configure_msix() 3576 q_vector->tx.current_itr = q_vector->tx.target_itr; in i40e_vsi_configure_msix() 3681 q_vector->rx.current_itr = q_vector->rx.target_itr; in i40e_configure_msi_and_legacy() 3685 q_vector->tx.current_itr = q_vector->tx.target_itr; in i40e_configure_msi_and_legacy()
|
| /Linux-v5.10/drivers/net/ethernet/intel/igc/ |
| D | igc_main.c | 3007 u8 current_itr = 0; in igc_set_itr() local 3013 current_itr = 0; in igc_set_itr() 3023 current_itr = max(q_vector->rx.itr, q_vector->tx.itr); in igc_set_itr() 3026 if (current_itr == lowest_latency && in igc_set_itr() 3029 current_itr = low_latency; in igc_set_itr() 3031 switch (current_itr) { in igc_set_itr()
|
| /Linux-v5.10/drivers/net/ethernet/intel/e1000/ |
| D | e1000_main.c | 2627 u16 current_itr; in e1000_set_itr() local 2635 current_itr = 0; in e1000_set_itr() 2654 current_itr = max(adapter->rx_itr, adapter->tx_itr); in e1000_set_itr() 2656 switch (current_itr) { in e1000_set_itr()
|
| /Linux-v5.10/drivers/net/ethernet/intel/ixgbevf/ |
| D | ixgbevf_main.c | 1473 u8 current_itr; in ixgbevf_set_itr() local 1478 current_itr = max(q_vector->rx.itr, q_vector->tx.itr); in ixgbevf_set_itr() 1480 switch (current_itr) { in ixgbevf_set_itr()
|
| /Linux-v5.10/drivers/net/ethernet/intel/igb/ |
| D | igb_main.c | 5774 u8 current_itr = 0; in igb_set_itr() local 5778 current_itr = 0; in igb_set_itr() 5786 current_itr = max(q_vector->rx.itr, q_vector->tx.itr); in igb_set_itr() 5789 if (current_itr == lowest_latency && in igb_set_itr() 5792 current_itr = low_latency; in igb_set_itr() 5794 switch (current_itr) { in igb_set_itr()
|
| /Linux-v5.10/drivers/net/ethernet/intel/e1000e/ |
| D | netdev.c | 2585 u16 current_itr; in e1000_set_itr() local 2590 current_itr = 0; in e1000_set_itr() 2614 current_itr = max(adapter->rx_itr, adapter->tx_itr); in e1000_set_itr() 2617 switch (current_itr) { in e1000_set_itr()
|