[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7ifxtvghaz.fsf@lanthane.pps.jussieu.fr>
Date: Wed, 09 Apr 2008 17:48:52 +0200
From: Juliusz Chroboczek <Juliusz.Chroboczek@....jussieu.fr>
To: Patrick McHardy <kaber@...sh.net>
Cc: Andi Kleen <andi@...stfloor.org>, netdev@...r.kernel.org
Subject: Re: [PATCH] Stochastic Fair Blue queue discipline
>>> I'd suggest to use the flow classifier for this. For simplicity
>>> you could attach a default classifier that uses the same keys as
>>> this one.
>> I'm not sure I know what you're speaking about. Could you please
>> point me at code somewhere?
> Check out a recent tree (either Linus' current tree or ideally
> the net-2.6.26.git tree from
>
> git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.26.git
>
> and look at net/sched/cls_flow.c and the recent changes to
> net/sched/sch_sfq.c for external classifiers.
Thanks for the pointer. Unfortunately, it will need some changes to
work with sfb -- since we do double-buffering, we need some overlap
between the old and new classifiers when we choose to reclassify. I'm
not quite sure how to do that.
Other than that, it will require some changes to sfb (which currently
assumes we can get an arbitrary amount of hash data for a single
packet, while the classifiers only give 32 bits), but these changes
are a good thing -- 32 bits should be enough.
Would you have an example of how this stuff is configured from
user-space?
> There are also a number of other incompatible changes that your
> patch needs to be adapter to, most importantly the use of the new
> netlink infrastructure.
Done, thanks for the pointer.
Juliusz
--
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