In a weighted round robin implementation of packets, what should I do when a queue is empty? Example: suppose 4 queues have 10%, 30%, 20%, 40% weights. Now suppose 30% queue is empty - should I redistribute the weight to the other queues? If yes, then how should it be redistributed to other packets?
(I need an implementation which is done in linux kernels or other platforms previously in Weighted Round Robin scheduling)