Home
last modified time | relevance | path

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

/net/sched/
Dsch_choke.c226 q->vars.qcount = -1; in choke_enqueue()
239 q->vars.qcount = -1; in choke_enqueue()
249 } else if (++q->vars.qcount) { in choke_enqueue()
251 q->vars.qcount = 0; in choke_enqueue()
/net/core/
Ddev.c3232 u16 qcount = dev->real_num_tx_queues; in skb_tx_hash() local
3238 qcount = sb_dev->tc_to_txq[tc].count; in skb_tx_hash()
3239 if (unlikely(!qcount)) { in skb_tx_hash()
3243 qcount = dev->real_num_tx_queues; in skb_tx_hash()
3248 DEBUG_NET_WARN_ON_ONCE(qcount == 0); in skb_tx_hash()
3252 while (unlikely(hash >= qcount)) in skb_tx_hash()
3253 hash -= qcount; in skb_tx_hash()
3257 return (u16) reciprocal_scale(skb_get_hash(skb), qcount) + qoffset; in skb_tx_hash()