[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110826.125341.1640427697242925942.davem@davemloft.net>
Date: Fri, 26 Aug 2011 12:53:41 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: exa.exa@...il.com
Cc: shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: Traffic shaping - class ID 16bit limit?
From: Miroslav Kratochvil <exa.exa@...il.com>
Date: Thu, 25 Aug 2011 19:06:58 +0200
>>> 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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists