Home
last modified time | relevance | path

Searched refs:hopt (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/net/sched/
Dsch_htb.c1326 struct tc_htb_opt *hopt; in htb_change_class() local
1344 hopt = nla_data(tb[TCA_HTB_PARMS]); in htb_change_class()
1345 if (!hopt->rate.rate || !hopt->ceil.rate) in htb_change_class()
1349 if (hopt->rate.linklayer == TC_LINKLAYER_UNAWARE) in htb_change_class()
1350 qdisc_put_rtab(qdisc_get_rtab(&hopt->rate, tb[TCA_HTB_RTAB], in htb_change_class()
1353 if (hopt->ceil.linklayer == TC_LINKLAYER_UNAWARE) in htb_change_class()
1354 qdisc_put_rtab(qdisc_get_rtab(&hopt->ceil, tb[TCA_HTB_CTAB], in htb_change_class()
1448 cl->tokens = PSCHED_TICKS2NS(hopt->buffer); in htb_change_class()
1449 cl->ctokens = PSCHED_TICKS2NS(hopt->cbuffer); in htb_change_class()
1477 psched_ratecfg_precompute(&cl->rate, &hopt->rate, rate64); in htb_change_class()
[all …]