All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhenyu Wu" <y030729@njupt.edu.cn>
To: linux-kernel@vger.kernel.org
Subject: VQs in Gred!
Date: Wed, 29 Dec 2004 15:54:52 +0800	[thread overview]
Message-ID: <304306892.28448@njupt.edu.cn> (raw)

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,




             reply	other threads:[~2004-12-29  6:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-29  7:54 Zhenyu Wu [this message]
2004-12-29 15:49 ` VQs in Gred! Thomas Graf
  -- strict thread matches above, loose matches on Subject: below --
2004-12-30  1:36 Zhenyu Wu
2004-12-30  0:58 ` Thomas Graf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=304306892.28448@njupt.edu.cn \
    --to=y030729@njupt.edu.cn \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.