Searched refs:new_itr (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 694 int new_itr; in igbvf_range_to_itr() local 699 new_itr = IGBVF_70K_ITR; in igbvf_range_to_itr() 702 new_itr = IGBVF_20K_ITR; in igbvf_range_to_itr() 705 new_itr = IGBVF_4K_ITR; in igbvf_range_to_itr() 708 new_itr = IGBVF_START_ITR; in igbvf_range_to_itr() 711 return new_itr; in igbvf_range_to_itr() 716 u32 new_itr; in igbvf_set_itr() local 729 new_itr = igbvf_range_to_itr(adapter->tx_ring->itr_range); in igbvf_set_itr() 731 if (new_itr != adapter->tx_ring->itr_val) { in igbvf_set_itr() 737 new_itr = new_itr > current_itr ? in igbvf_set_itr() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2629 u32 new_itr = adapter->itr; in e1000_set_itr() local 2636 new_itr = 4000; in e1000_set_itr() 2659 new_itr = 70000; in e1000_set_itr() 2662 new_itr = 20000; /* aka hwitr = ~200 */ in e1000_set_itr() 2665 new_itr = 4000; in e1000_set_itr() 2672 if (new_itr != adapter->itr) { in e1000_set_itr() 2677 new_itr = new_itr > adapter->itr ? in e1000_set_itr() 2678 min(adapter->itr + (new_itr >> 2), new_itr) : in e1000_set_itr() 2679 new_itr; in e1000_set_itr() 2680 adapter->itr = new_itr; in e1000_set_itr() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 2550 u32 new_itr = adapter->itr; in e1000_set_itr() local 2554 new_itr = 4000; in e1000_set_itr() 2559 new_itr = 0; in e1000_set_itr() 2582 new_itr = 70000; in e1000_set_itr() 2585 new_itr = 20000; /* aka hwitr = ~200 */ in e1000_set_itr() 2588 new_itr = 4000; in e1000_set_itr() 2595 if (new_itr != adapter->itr) { in e1000_set_itr() 2600 new_itr = new_itr > adapter->itr ? in e1000_set_itr() 2601 min(adapter->itr + (new_itr >> 2), new_itr) : new_itr; in e1000_set_itr() 2602 adapter->itr = new_itr; in e1000_set_itr() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1467 u32 new_itr = q_vector->itr; in ixgbevf_set_itr() local 1478 new_itr = IXGBE_100K_ITR; in ixgbevf_set_itr() 1481 new_itr = IXGBE_20K_ITR; in ixgbevf_set_itr() 1484 new_itr = IXGBE_12K_ITR; in ixgbevf_set_itr() 1490 if (new_itr != q_vector->itr) { in ixgbevf_set_itr() 1492 new_itr = (10 * new_itr * q_vector->itr) / in ixgbevf_set_itr() 1493 ((9 * new_itr) + q_vector->itr); in ixgbevf_set_itr() 1496 q_vector->itr = new_itr; in ixgbevf_set_itr()
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 4164 u32 new_itr = q_vector->itr_val; in igc_set_itr() local 4172 new_itr = IGC_4K_ITR; in igc_set_itr() 4192 new_itr = IGC_70K_ITR; /* 70,000 ints/sec */ in igc_set_itr() 4195 new_itr = IGC_20K_ITR; /* 20,000 ints/sec */ in igc_set_itr() 4198 new_itr = IGC_4K_ITR; /* 4,000 ints/sec */ in igc_set_itr() 4205 if (new_itr != q_vector->itr_val) { in igc_set_itr() 4210 new_itr = new_itr > q_vector->itr_val ? in igc_set_itr() 4211 max((new_itr * q_vector->itr_val) / in igc_set_itr() 4212 (new_itr + (q_vector->itr_val >> 2)), in igc_set_itr() 4213 new_itr) : new_itr; in igc_set_itr() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 5804 u32 new_itr = q_vector->itr_val; in igb_set_itr() local 5810 new_itr = IGB_4K_ITR; in igb_set_itr() 5828 new_itr = IGB_70K_ITR; /* 70,000 ints/sec */ in igb_set_itr() 5831 new_itr = IGB_20K_ITR; /* 20,000 ints/sec */ in igb_set_itr() 5834 new_itr = IGB_4K_ITR; /* 4,000 ints/sec */ in igb_set_itr() 5841 if (new_itr != q_vector->itr_val) { in igb_set_itr() 5846 new_itr = new_itr > q_vector->itr_val ? in igb_set_itr() 5847 max((new_itr * q_vector->itr_val) / in igb_set_itr() 5848 (new_itr + (q_vector->itr_val >> 2)), in igb_set_itr() 5849 new_itr) : new_itr; in igb_set_itr() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 2739 u32 new_itr; in ixgbe_set_itr() local 2745 new_itr = min(q_vector->rx.itr, q_vector->tx.itr); in ixgbe_set_itr() 2748 new_itr &= ~IXGBE_ITR_ADAPTIVE_LATENCY; in ixgbe_set_itr() 2749 new_itr <<= 2; in ixgbe_set_itr() 2751 if (new_itr != q_vector->itr) { in ixgbe_set_itr() 2753 q_vector->itr = new_itr; in ixgbe_set_itr()
|