All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amit Kucheria <amitk@ittc.ku.edu>
To: lartc@vger.kernel.org
Subject: [LARTC] GRED queues in Diffserv
Date: Mon, 10 Jun 2002 22:45:32 +0000	[thread overview]
Message-ID: <marc-lartc-102374919517827@msgid-missing> (raw)

Hi all,

I am setting up a Diffserv router. Part of the script that I use it as 
follows:

---------------------------------------------------
sudo /usr/bin/tc qdisc add dev r1p4 handle 1:0 root dsmark indices 64 
set_tc_index

sudo /usr/bin/tc filter add dev r1p4 parent 1:0 protocol ip prio 1 
tcindex mask 0xfc shift 2 pass_on

sudo /usr/bin/tc qdisc add dev r1p4 parent 1:0 handle 2:0 cbq bandwidth 
10Mbit allot 1514 cell 8 avpkt 1456 mpu 64

sudo /usr/bin/tc filter add dev r1p4 parent 2:0 protocol ip prio 1 
tcindex mask 0xf0 shift 4 pass_on

sudo /usr/bin/tc class add dev r1p4 parent 2:0 classid 2:1 cbq bandwidth 
10Mbit rate 6Mbit avpkt 1456 prio 5 bounded allot 1514 weight 600Kbit 
maxburst 21

sudo /usr/bin/tc filter add dev r1p4 parent 2:0 protocol ip prio 1 
handle 1 tcindex classid 2:1

sudo /usr/bin/tc qdisc add dev r1p4 parent 2:1 gred setup DPs 3 default 2 
grio
---------------------------------------------------

This last line where I setup the gred qdisc shows a message in the logs as 
"NO GRED Queues setup! ". Can anybody comment on what this could mean? I 
am using 2.2.18 with a Diffserv patch.

TIA,
Amit

PS.The remainin lines of the script include creating 3 gred qdiscs,
setting their limits and creating another CBQ class (2:2) for un(ds)marked
traffic.


-- 
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2002-06-10 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-10 22:45 Amit Kucheria [this message]
2002-06-11 13:34 ` [LARTC] GRED queues in Diffserv Kurt Wagner

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=marc-lartc-102374919517827@msgid-missing \
    --to=amitk@ittc.ku.edu \
    --cc=lartc@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.