Lines Matching refs:buckets
19 * Flows are classified into two buckets: non-heavy-hitter and heavy-hitter
20 * buckets. Initially, a new flow starts as non-heavy-hitter. Once classified
22 * The buckets are dequeued by a Weighted Deficit Round Robin (WDRR) scheduler,
103 #define WDRR_BUCKET_CNT 2 /* two buckets for Weighted DRR */
128 struct wdrr_bucket buckets[WDRR_BUCKET_CNT];
147 struct list_head new_buckets; /* list of new buckets */
148 struct list_head old_buckets; /* list of old buckets */
244 /* Assigns packets to WDRR buckets. Implements a multi-stage filter to
355 bucket = &q->buckets[WDRR_BUCKET_FOR_HH];
357 bucket = &q->buckets[WDRR_BUCKET_FOR_NON_HH];
368 return bucket - q->buckets;
381 bucket = &q->buckets[idx];
435 int weight = (bucket - q->buckets == WDRR_BUCKET_FOR_HH) ?
644 /* Initialize Weighted DRR buckets. */
646 struct wdrr_bucket *bucket = q->buckets + i;