Searched refs:new_itr (Results 1 – 8 of 8) sorted by relevance
/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 …]
|
/drivers/ide/ |
D | hpt366.c | 636 u32 new_itr = get_speed_setting(speed, info); in hpt3xx_set_mode() local 642 new_itr = (old_itr & ~itr_mask) | (new_itr & itr_mask); in hpt3xx_set_mode() 647 new_itr &= ~0xc0000000; in hpt3xx_set_mode() 649 pci_write_config_dword(dev, itr_addr, new_itr); in hpt3xx_set_mode()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2628 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 …]
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 2548 u32 new_itr = adapter->itr; in e1000_set_itr() local 2553 new_itr = 4000; in e1000_set_itr() 2558 new_itr = 0; in e1000_set_itr() 2581 new_itr = 70000; in e1000_set_itr() 2584 new_itr = 20000; /* aka hwitr = ~200 */ in e1000_set_itr() 2587 new_itr = 4000; in e1000_set_itr() 2594 if (new_itr != adapter->itr) { in e1000_set_itr() 2599 new_itr = new_itr > adapter->itr ? in e1000_set_itr() 2600 min(adapter->itr + (new_itr >> 2), new_itr) : new_itr; in e1000_set_itr() 2601 adapter->itr = new_itr; in e1000_set_itr() [all …]
|
/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 3142 u32 new_itr = q_vector->itr_val; in igc_set_itr() local 3150 new_itr = IGC_4K_ITR; in igc_set_itr() 3170 new_itr = IGC_70K_ITR; /* 70,000 ints/sec */ in igc_set_itr() 3173 new_itr = IGC_20K_ITR; /* 20,000 ints/sec */ in igc_set_itr() 3176 new_itr = IGC_4K_ITR; /* 4,000 ints/sec */ in igc_set_itr() 3183 if (new_itr != q_vector->itr_val) { in igc_set_itr() 3188 new_itr = new_itr > q_vector->itr_val ? in igc_set_itr() 3189 max((new_itr * q_vector->itr_val) / in igc_set_itr() 3190 (new_itr + (q_vector->itr_val >> 2)), in igc_set_itr() 3191 new_itr) : new_itr; in igc_set_itr() [all …]
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1475 u32 new_itr = q_vector->itr; in ixgbevf_set_itr() local 1486 new_itr = IXGBE_100K_ITR; in ixgbevf_set_itr() 1489 new_itr = IXGBE_20K_ITR; in ixgbevf_set_itr() 1492 new_itr = IXGBE_12K_ITR; in ixgbevf_set_itr() 1498 if (new_itr != q_vector->itr) { in ixgbevf_set_itr() 1500 new_itr = (10 * new_itr * q_vector->itr) / in ixgbevf_set_itr() 1501 ((9 * new_itr) + q_vector->itr); in ixgbevf_set_itr() 1504 q_vector->itr = new_itr; in ixgbevf_set_itr()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 5801 u32 new_itr = q_vector->itr_val; in igb_set_itr() local 5807 new_itr = IGB_4K_ITR; in igb_set_itr() 5825 new_itr = IGB_70K_ITR; /* 70,000 ints/sec */ in igb_set_itr() 5828 new_itr = IGB_20K_ITR; /* 20,000 ints/sec */ in igb_set_itr() 5831 new_itr = IGB_4K_ITR; /* 4,000 ints/sec */ in igb_set_itr() 5838 if (new_itr != q_vector->itr_val) { in igb_set_itr() 5843 new_itr = new_itr > q_vector->itr_val ? in igb_set_itr() 5844 max((new_itr * q_vector->itr_val) / in igb_set_itr() 5845 (new_itr + (q_vector->itr_val >> 2)), in igb_set_itr() 5846 new_itr) : new_itr; in igb_set_itr() [all …]
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 2741 u32 new_itr; in ixgbe_set_itr() local 2747 new_itr = min(q_vector->rx.itr, q_vector->tx.itr); in ixgbe_set_itr() 2750 new_itr &= ~IXGBE_ITR_ADAPTIVE_LATENCY; in ixgbe_set_itr() 2751 new_itr <<= 2; in ixgbe_set_itr() 2753 if (new_itr != q_vector->itr) { in ixgbe_set_itr() 2755 q_vector->itr = new_itr; in ixgbe_set_itr()
|