Home
last modified time | relevance | path

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

/Linux-v6.1/net/sched/
Dsch_api.c509 if (memcmp(&stab->szopts, s, sizeof(*s))) in qdisc_get_stab()
529 stab->szopts = *s; in qdisc_get_stab()
557 if (nla_put(skb, TCA_STAB_BASE, sizeof(stab->szopts), &stab->szopts)) in qdisc_dump_stab()
572 pkt_len = skb->len + stab->szopts.overhead; in __qdisc_calculate_pkt_len()
573 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
576 slot = pkt_len + stab->szopts.cell_align; in __qdisc_calculate_pkt_len()
580 slot >>= stab->szopts.cell_log; in __qdisc_calculate_pkt_len()
581 if (likely(slot < stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
584 pkt_len = stab->data[stab->szopts.tsize - 1] * in __qdisc_calculate_pkt_len()
585 (slot / stab->szopts.tsize) + in __qdisc_calculate_pkt_len()
[all …]
/Linux-v6.1/include/net/
Dsch_generic.h59 struct tc_sizespec szopts; member