Searched refs:numsegs (Results 1 – 2 of 2) sorted by relevance
467 unsigned int slen = 0, numsegs = 0, len = qdisc_pkt_len(skb); in taprio_enqueue() local486 numsegs++; in taprio_enqueue()490 if (numsegs > 1) in taprio_enqueue()491 qdisc_tree_reduce_backlog(sch, 1 - numsegs, len - slen); in taprio_enqueue()494 return numsegs > 0 ? NET_XMIT_SUCCESS : NET_XMIT_DROP; in taprio_enqueue()
1744 unsigned int slen = 0, numsegs = 0; in cake_enqueue() local1759 numsegs++; in cake_enqueue()1772 qdisc_tree_reduce_backlog(sch, 1-numsegs, len-slen); in cake_enqueue()