Searched refs:intr_timer (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/cxgbe/ |
H A D | t4_sge.c | 715 int intr_timer[SGE_NTIMERS] = {1, 5, 10, 50, 100, 200}; in t4_tweak_chip_settings() local 762 KASSERT(intr_timer[0] <= timer_max, in t4_tweak_chip_settings() 763 ("%s: not a single usable timer (%d, %d)", __func__, intr_timer[0], in t4_tweak_chip_settings() 765 for (i = 1; i < nitems(intr_timer); i++) { in t4_tweak_chip_settings() 766 KASSERT(intr_timer[i] >= intr_timer[i - 1], in t4_tweak_chip_settings() 770 while (intr_timer[i] > timer_max) { in t4_tweak_chip_settings() 771 if (i == nitems(intr_timer) - 1) { in t4_tweak_chip_settings() 772 intr_timer[i] = timer_max; in t4_tweak_chip_settings() 775 intr_timer[i] += intr_timer[i - 1]; in t4_tweak_chip_settings() 776 intr_timer[i] /= 2; in t4_tweak_chip_settings() [all …]
|