Lines Matching refs:ctl
475 struct tc_gred_qopt *ctl, int prio, in gred_change_vq() argument
483 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Scell_log, stab)) { in gred_change_vq()
498 if (ctl->limit > sch->limit) in gred_change_vq()
501 q->limit = ctl->limit; in gred_change_vq()
507 ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Plog, in gred_change_vq()
508 ctl->Scell_log, stab, max_P); in gred_change_vq()
639 struct tc_gred_qopt *ctl; in gred_change() local
669 ctl = nla_data(tb[TCA_GRED_PARMS]); in gred_change()
672 if (ctl->DP >= table->DPs) { in gred_change()
678 err = gred_vqs_validate(table, ctl->DP, tb[TCA_GRED_VQ_LIST], in gred_change()
685 if (ctl->prio == 0) { in gred_change()
692 "setting default to %d\n", ctl->DP, def_prio); in gred_change()
696 prio = ctl->prio; in gred_change()
702 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, in gred_change()