lkml.org 
[lkml]   [2004]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectVQs in Gred!
Hello,

We know, VQs are used in Gred to offer different schedulers, in order to make
clear what the
VQs are, I have read the sch_gred.c in net/sched/. In the function gred_enqueue(),
at first it will
find the VQ(q) according to the lower four bits of the skb->tc_index, then some
parameters of the
q is modified, such as q->packetsin and q->bytesin. At last the packet was put
into the physical
Queue using __skb_queue_tail(). When dequeue the packet, only the function
__skb_dequeue()
is called, and the VQ parameters are modified. Then the packets from all VQS will
enter and
store in the physical queue (sch->q), and be dequeued from there. HOW does the
Gred schedule
packets of differnet priorities?

Thanks,



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.038 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site