From: Andy Furniss Date: Mon, 27 Aug 2007 19:53:02 +0000 Subject: Re: [LARTC] Limited number of bands in PRIO qdisc Message-Id: <46D32B9E.9050407@andyfurniss.entadsl.com> List-Id: References: <200708221324.23380.pr-ml@reinhardtweb.de> In-Reply-To: <200708221324.23380.pr-ml@reinhardtweb.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Patrick Reinhardt wrote: > Hi! > > Am Mittwoch, 22. August 2007 21:27:52 schrieb Andy Furniss: >> Patrick Reinhardt wrote: >>> returns: 'RTNETLINK answers: Invalid argument' >> I got a better error message than that - >> >> "priomap" index > TC_PRIO_MAX >> >> Greping for TC_PRIO_MAX shows it's in both kernel and iproute2's copy of >> the headers - I don't know if you need to do both or not - but I would >> and recompile kernel and tc > Thank you very much for this hint. Unfortunately my current idea would require > about 1000 bands: > > To emulate a wireless network I have to assign a packet loss depending on the > target IP address. The idea was to use a PRIO qdisc with n bands for n nodes > and use filters to assign packets to the appropriate band depending on the > target address. > > Since I am unsure about side-effects of an alteration of TC_PRIO_MAX to a > signifficantly higher value, an alternative would be helpful. I suppose you could try ifb - but there is probably a define somewhere needing to be changed if you want 1000, but then you could have 16 prio on each. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc