Lines Matching refs:segs
1308 u16 segs = 1; in cake_overhead() local
1337 segs = DIV_ROUND_UP(skb->len - hdr_len, in cake_overhead()
1340 segs = shinfo->gso_segs; in cake_overhead()
1343 last_len = skb->len - shinfo->gso_size * (segs - 1); in cake_overhead()
1345 return (cake_calc_overhead(q, len, off) * (segs - 1) + in cake_overhead()
1668 struct sk_buff *segs, *nskb; in cake_enqueue() local
1672 segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); in cake_enqueue()
1673 if (IS_ERR_OR_NULL(segs)) in cake_enqueue()
1676 while (segs) { in cake_enqueue()
1677 nskb = segs->next; in cake_enqueue()
1678 segs->next = NULL; in cake_enqueue()
1679 qdisc_skb_cb(segs)->pkt_len = segs->len; in cake_enqueue()
1680 cobalt_set_enqueue_time(segs, now); in cake_enqueue()
1681 get_cobalt_cb(segs)->adjusted_len = cake_overhead(q, in cake_enqueue()
1682 segs); in cake_enqueue()
1683 flow_queue_add(flow, segs); in cake_enqueue()
1686 slen += segs->len; in cake_enqueue()
1687 q->buffer_used += segs->truesize; in cake_enqueue()
1689 segs = nskb; in cake_enqueue()