Thread (6 messages) 6 messages, 4 authors, 2011-08-26

Re: Traffic shaping - class ID 16bit limit?

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-08-26 16:53:44

From: Miroslav Kratochvil <redacted>
Date: Thu, 25 Aug 2011 19:06:58 +0200
quoted
quoted
Technically the ClassID seems to be "hardcoded" as a 16bit value, but
after some source searching, I haven't found any good reason for it to
be 16-bit only.
Granted it was a poor choice in the initial design.
It is wired into the API and changing it would be quite painful.
I was feeling something like that would come.

If I get it correctly, the API change would consist of:

- some netlink protocol change
- slight modification of qdisc_class_hash
- modifications in all (four?) hierarchical schedulers
- tiny expansion of userspace tc utility
There is precedence as we had to make the routing table rule ID larger
and were successfully able to do so using netlink attributes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help