Lines Matching refs:dq_count
231 /* If current queue is about 10 packets or more and dq_count is unset
235 if (backlog >= QUEUE_THRESHOLD && vars->dq_count == DQCOUNT_INVALID) {
237 vars->dq_count = 0;
242 * the dq_count to -1 as we don't have enough packets to calculate the
245 * and we calculate the drain rate for the threshold here. dq_count is
249 if (vars->dq_count != DQCOUNT_INVALID) {
250 vars->dq_count += skb->len;
252 if (vars->dq_count >= QUEUE_THRESHOLD) {
253 u32 count = vars->dq_count << PIE_SCALE;
271 * dq_count to 0 to re-enter the if block when the next
275 vars->dq_count = DQCOUNT_INVALID;
277 vars->dq_count = 0;