Lines Matching refs:max_th
1020 * If avg > max_th the packet is dropped. Otherwise, the packet is
1063 if (q->avg >= fs->max_th) { /* average queue >= max threshold */
1066 * According to Gentle-RED, if avg is greater than max_th the
1069 * where c_3 = (1 - max_p) / max_th, and c_4 = 1 - 2 * max_p
1080 * avg - c_2, where c_1 = max_p / (max_th - min_th), and c_2 =
1081 * max_p * min_th / (max_th - min_th)
1543 x->max_th = SCALE(p->max_th);
1546 x->c_1 = p->max_p / (p->max_th - p->min_th);
1549 x->c_3 = (SCALE(1) - p->max_p) / p->max_th;