Lines Matching refs:dq_count
234 /* If current queue is about 10 packets or more and dq_count is unset
238 if (backlog >= QUEUE_THRESHOLD && vars->dq_count == DQCOUNT_INVALID) {
240 vars->dq_count = 0;
245 * the dq_count to -1 as we don't have enough packets to calculate the
248 * and we calculate the drain rate for the threshold here. dq_count is
252 if (vars->dq_count != DQCOUNT_INVALID) {
253 vars->dq_count += skb->len;
255 if (vars->dq_count >= QUEUE_THRESHOLD) {
256 u32 count = vars->dq_count << PIE_SCALE;
274 * dq_count to 0 to re-enter the if block when the next
278 vars->dq_count = DQCOUNT_INVALID;
280 vars->dq_count = 0;