Home
last modified time | relevance | path

Searched refs:new_itr (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/igbvf/
Dnetdev.c694 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-v6.6/drivers/net/ethernet/intel/e1000/
De1000_main.c2629 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-v6.6/drivers/net/ethernet/intel/e1000e/
Dnetdev.c2542 u32 new_itr = adapter->itr; in e1000_set_itr() local
2546 new_itr = 4000; in e1000_set_itr()
2551 new_itr = 0; in e1000_set_itr()
2574 new_itr = 70000; in e1000_set_itr()
2577 new_itr = 20000; /* aka hwitr = ~200 */ in e1000_set_itr()
2580 new_itr = 4000; in e1000_set_itr()
2587 if (new_itr != adapter->itr) { in e1000_set_itr()
2592 new_itr = new_itr > adapter->itr ? in e1000_set_itr()
2593 min(adapter->itr + (new_itr >> 2), new_itr) : new_itr; in e1000_set_itr()
2594 adapter->itr = new_itr; in e1000_set_itr()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1467 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-v6.6/drivers/net/ethernet/intel/igc/
Digc_main.c4286 u32 new_itr = q_vector->itr_val; in igc_set_itr() local
4294 new_itr = IGC_4K_ITR; in igc_set_itr()
4314 new_itr = IGC_70K_ITR; /* 70,000 ints/sec */ in igc_set_itr()
4317 new_itr = IGC_20K_ITR; /* 20,000 ints/sec */ in igc_set_itr()
4320 new_itr = IGC_4K_ITR; /* 4,000 ints/sec */ in igc_set_itr()
4327 if (new_itr != q_vector->itr_val) { in igc_set_itr()
4332 new_itr = new_itr > q_vector->itr_val ? in igc_set_itr()
4333 max((new_itr * q_vector->itr_val) / in igc_set_itr()
4334 (new_itr + (q_vector->itr_val >> 2)), in igc_set_itr()
4335 new_itr) : new_itr; in igc_set_itr()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/igb/
Digb_main.c5887 u32 new_itr = q_vector->itr_val; in igb_set_itr() local
5893 new_itr = IGB_4K_ITR; in igb_set_itr()
5911 new_itr = IGB_70K_ITR; /* 70,000 ints/sec */ in igb_set_itr()
5914 new_itr = IGB_20K_ITR; /* 20,000 ints/sec */ in igb_set_itr()
5917 new_itr = IGB_4K_ITR; /* 4,000 ints/sec */ in igb_set_itr()
5924 if (new_itr != q_vector->itr_val) { in igb_set_itr()
5929 new_itr = new_itr > q_vector->itr_val ? in igb_set_itr()
5930 max((new_itr * q_vector->itr_val) / in igb_set_itr()
5931 (new_itr + (q_vector->itr_val >> 2)), in igb_set_itr()
5932 new_itr) : new_itr; in igb_set_itr()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c2731 u32 new_itr; in ixgbe_set_itr() local
2737 new_itr = min(q_vector->rx.itr, q_vector->tx.itr); in ixgbe_set_itr()
2740 new_itr &= ~IXGBE_ITR_ADAPTIVE_LATENCY; in ixgbe_set_itr()
2741 new_itr <<= 2; in ixgbe_set_itr()
2743 if (new_itr != q_vector->itr) { in ixgbe_set_itr()
2745 q_vector->itr = new_itr; in ixgbe_set_itr()