Lines Matching refs:ctl_v1
630 struct tc_sfq_qopt_v1 *ctl_v1 = NULL; in sfq_change() local
638 if (opt->nla_len >= nla_attr_size(sizeof(*ctl_v1))) in sfq_change()
639 ctl_v1 = nla_data(opt); in sfq_change()
652 if (ctl_v1 && !red_check_params(ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change()
653 ctl_v1->Wlog, ctl_v1->Scell_log, NULL)) in sfq_change()
655 if (ctl_v1 && ctl_v1->qth_min) { in sfq_change()
672 if (ctl_v1) { in sfq_change()
673 if (ctl_v1->depth) in sfq_change()
674 q->maxdepth = min_t(u32, ctl_v1->depth, SFQ_MAX_DEPTH); in sfq_change()
678 ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change()
679 ctl_v1->Wlog, in sfq_change()
680 ctl_v1->Plog, ctl_v1->Scell_log, in sfq_change()
682 ctl_v1->max_P); in sfq_change()
684 q->flags = ctl_v1->flags; in sfq_change()
685 q->headdrop = ctl_v1->headdrop; in sfq_change()