Lines Matching refs:max_th
39 uint32_t max_th; /**< Queue maximum threshold */ member
190 static double calc_drop_prob(uint32_t min_th, uint32_t max_th, in calc_drop_prob() argument
197 } else if (avg < max_th) { in calc_drop_prob()
200 / (double)(max_th - min_th)); in calc_drop_prob()
262 (uint16_t)tcfg->tconfig->max_th, in test_rte_red_init()
357 .max_th = 128,
493 drop_prob = calc_drop_prob(tcfg->tconfig->min_th, tcfg->tconfig->max_th, in func_test1()
500 else if (tcfg->tlevel[i] == tcfg->tconfig->max_th) in func_test1()
526 .max_th = 128,
604 drop_prob = calc_drop_prob(tcfg->tconfig->min_th, tcfg->tconfig->max_th, in func_test2()
616 i, avg, tcfg->tconfig->min_th, tcfg->tconfig->max_th, in func_test2()
634 .max_th = 1023,
747 .max_th = 1023,
895 .max_th = 128,
1003 drop_prob = calc_drop_prob(tcfg->tconfig->min_th, tcfg->tconfig->max_th, in func_test5()
1011 tcfg->tconfig->min_th, tcfg->tconfig->max_th, in func_test5()
1033 .max_th = 1023,
1167 .max_th = 128,
1529 .max_th = 1023,
1655 tcfg->tconfig->max_th, in ovfl_test1()