Lines Matching refs:cparams
59 struct codel_params cparams; member
303 skb = codel_dequeue(sch, &sch->qstats.backlog, &q->cparams, in fq_codel_dequeue()
404 q->cparams.target = (target * NSEC_PER_USEC) >> CODEL_SHIFT; in fq_codel_change()
410 q->cparams.ce_threshold = (val * NSEC_PER_USEC) >> CODEL_SHIFT; in fq_codel_change()
414 q->cparams.ce_threshold_selector = nla_get_u8(tb[TCA_FQ_CODEL_CE_THRESHOLD_SELECTOR]); in fq_codel_change()
416 q->cparams.ce_threshold_mask = nla_get_u8(tb[TCA_FQ_CODEL_CE_THRESHOLD_MASK]); in fq_codel_change()
421 q->cparams.interval = (interval * NSEC_PER_USEC) >> CODEL_SHIFT; in fq_codel_change()
428 q->cparams.ecn = !!nla_get_u32(tb[TCA_FQ_CODEL_ECN]); in fq_codel_change()
478 codel_params_init(&q->cparams); in fq_codel_init()
480 q->cparams.ecn = true; in fq_codel_init()
481 q->cparams.mtu = psched_mtu(qdisc_dev(sch)); in fq_codel_init()
537 codel_time_to_us(q->cparams.target)) || in fq_codel_dump()
541 codel_time_to_us(q->cparams.interval)) || in fq_codel_dump()
543 q->cparams.ecn) || in fq_codel_dump()
554 if (q->cparams.ce_threshold != CODEL_DISABLED_THRESHOLD) { in fq_codel_dump()
556 codel_time_to_us(q->cparams.ce_threshold))) in fq_codel_dump()
558 if (nla_put_u8(skb, TCA_FQ_CODEL_CE_THRESHOLD_SELECTOR, q->cparams.ce_threshold_selector)) in fq_codel_dump()
560 if (nla_put_u8(skb, TCA_FQ_CODEL_CE_THRESHOLD_MASK, q->cparams.ce_threshold_mask)) in fq_codel_dump()