Lines Matching refs:dq_count
233 /* If current queue is about 10 packets or more and dq_count is unset
237 if (backlog >= QUEUE_THRESHOLD && vars->dq_count == DQCOUNT_INVALID) {
239 vars->dq_count = 0;
244 * the dq_count to -1 as we don't have enough packets to calculate the
247 * and we calculate the drain rate for the threshold here. dq_count is
251 if (vars->dq_count != DQCOUNT_INVALID) {
252 vars->dq_count += skb->len;
254 if (vars->dq_count >= QUEUE_THRESHOLD) {
255 u32 count = vars->dq_count << PIE_SCALE;
273 * dq_count to 0 to re-enter the if block when the next
277 vars->dq_count = DQCOUNT_INVALID;
279 vars->dq_count = 0;