netdev
[Top] [All Lists]

Re: 2.6.0-test4, 2.5.47, child qdiscs, parent not filled out?

To: bert hubert <ahu@xxxxxxx>
Subject: Re: 2.6.0-test4, 2.5.47, child qdiscs, parent not filled out?
From: devik <devik@xxxxxx>
Date: Wed, 3 Sep 2003 23:01:45 +0200 (CEST)
Cc: <netdev@xxxxxxxxxxx>
In-reply-to: <20030903102803.GA11876@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
> Devik (I hope we can be friends again :-)), others,

yep I think so :-)

> If I create a cbq with several classes, and attach a qdisc to those classes,
> a later netlink dump (RTM_GETQDISCS) returns parent as 0:0 for that qdisc,
> is this right?

structure Qdisc has DEPRECATED field __parent pointing to parent
qdisc (aparently CBQ needs it).
There is no other "parent" info in the struct so it can't be returned
IMHO.
You will have to parse all clases from root to leaves.

Maybe we could add parent handle to qdisc but it is question to
Alexey probably - I'm not sure how complex would it be to keep
the field in sync ...

devik


<Prev in Thread] Current Thread [Next in Thread>