Re: [net-next-2.6 PATCH v4 2/2] net_sched: implement a root container qdisc sch_mclass

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jarek Poplawski
Date: Tuesday, January 4, 2011 - 4:18 am

On Mon, Jan 03, 2011 at 07:05:58PM -0800, John Fastabend wrote:

Now *_mqprio here and in the subject of the message.


s/16/TC_SOMETHING/


/* MQPRIO */


s/16/TC_SOMETHING/


We might mention about a proper NIC required.


I'm not sure why this unsetting is needed in case it was set by a
driver before mqprio was created.


 	u8 unwnd_map[TC_BITMASK + 1];


	for (i = 0; i < TC_BITMASK + 1; i++) {


s/16/TC_SOMETHING


Did you give up those stats per tc class? You only show the leaf
classes here, but you could first loop per num_tc (as virtual
parent classes). So in dump_class_stats you should be able to
distinguish class 'level' by cl and do the second loop if necessary.
To show the class hierarchy you change tcm_parent in dump_class
for 'leaf' classes (like eg in sch_htb/htb_dump_class).

Jarek P.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [net-next-2.6 PATCH v4 2/2] net_sched: implement a roo ..., Jarek Poplawski, (Tue Jan 4, 4:18 am)